annotate smc2013_cameraReady/smacsmc2013.sty @ 58:a63c438b3f65 tip

Squeezed it into the 6 page limit
author Henrik Ekeus <hekeus@eecs.qmul.ac.uk>
date Tue, 11 Jun 2013 15:17:21 +0100
parents 2cad1d57f7e2
children
rev   line source
hekeus@55 1 % Latex Paper Template for SMAC SMC 2013
hekeus@55 2 % slightly adapted version of the templates for SMC 2012, SMC 2011, SMC 2010 and ISMIR 2009
hekeus@55 3 %
hekeus@55 4 % Version 20121212
hekeus@55 5 % Adapded for Sound And Music computing conference
hekeus@55 6 % The bibliography style is now the most recent IEEEtran.bst
hekeus@55 7
hekeus@55 8 \def\Hline{\noalign{\hrule height 0.4mm}}
hekeus@55 9 %\newcommand{\bm}[1]{\mbox{\boldmath{$#1$}}}
hekeus@55 10 \newcommand{\figbox}[1]{\fbox{\parbox{\columnwidth}{\centering{ #1 }}}}
hekeus@55 11 \newcommand{\range}[2]{{#1,\cdots,#2\;}}
hekeus@55 12 \newcommand{\secref}[1]{\mbox{Section~\ref{#1}}}
hekeus@55 13 \newcommand{\tabref}[1]{\mbox{Table~\ref{#1}}}
hekeus@55 14 \newcommand{\figref}[1]{\mbox{Figure~\ref{#1}}}
hekeus@55 15 \newcommand{\eqnref}[1]{\mbox{Eq.~(\ref{#1})}}
hekeus@55 16
hekeus@55 17 \renewcommand{\sfdefault}{phv}
hekeus@55 18 \renewcommand{\rmdefault}{ptm}
hekeus@55 19 \renewcommand{\ttdefault}{pcr}
hekeus@55 20
hekeus@55 21 \setlength{\paperheight}{297mm}
hekeus@55 22 \setlength{\paperwidth}{210mm}
hekeus@55 23 \setlength{\textheight}{252mm}
hekeus@55 24 \setlength{\textwidth}{172mm}
hekeus@55 25 \setlength{\columnsep}{8mm}
hekeus@55 26 \setlength{\headheight}{0mm}
hekeus@55 27 \setlength{\voffset}{-12mm}
hekeus@55 28 \setlength{\hoffset}{0mm}
hekeus@55 29 \setlength{\marginparwidth}{0mm}
hekeus@55 30 \setlength{\parindent}{2mm} %1pc
hekeus@55 31 \setlength{\topmargin}{-5mm}
hekeus@55 32 \setlength{\oddsidemargin}{-6mm}
hekeus@55 33 \setlength{\evensidemargin}{-6mm}
hekeus@55 34
hekeus@55 35 \setlength\normallineskip{1\p@}
hekeus@55 36 \setlength\parskip{0\p@ \@plus \p@}
hekeus@55 37 %\def\baselinestretch{0.98}
hekeus@55 38
hekeus@55 39 \def\normalsize{\@setsize\normalsize{12pt}\xpt\@xpt}
hekeus@55 40 \def\small{\@setsize\small{10pt}\ixpt\@ixpt}
hekeus@55 41 \def\footnotesize{\@setsize\footnotesize{8pt}\viiipt\@viiipt}
hekeus@55 42 \def\scriptsize{\@setsize\scriptsize{8pt}\viipt\@viipt}
hekeus@55 43 \def\tiny{\@setsize\tiny{7pt}\vipt\@vipt}
hekeus@55 44 \def\large{\@setsize\large{14pt}\xiipt\@xiipt}
hekeus@55 45 \def\Large{\@setsize\Large{16pt}\xivpt\@xivpt}
hekeus@55 46 \def\LARGE{\@setsize\LARGE{20pt}\xviipt\@xviipt}
hekeus@55 47 \def\huge{\@setsize\huge{23pt}\xxpt\@xxpt}
hekeus@55 48 \def\Huge{\@setsize\Huge{28pt}\xxvpt\@xxvpt}
hekeus@55 49
hekeus@55 50 \twocolumn
hekeus@55 51 \pagestyle{empty}
hekeus@55 52
hekeus@55 53 \def\maketitle{\par
hekeus@55 54 \begingroup
hekeus@55 55 \def\thefootnote{}
hekeus@55 56 \def\@makefnmark{
hekeus@55 57 \hbox
hekeus@55 58 {$^{\@thefnmark}$\hss}
hekeus@55 59 }
hekeus@55 60 \twocolumn[\@maketitle]
hekeus@55 61 \permission
hekeus@55 62 \@thanks
hekeus@55 63 \endgroup
hekeus@55 64 \setcounter{footnote}{0}
hekeus@55 65 \let\maketitle\relax
hekeus@55 66 \let\@maketitle\relax
hekeus@55 67 \gdef\thefootnote{
hekeus@55 68 \arabic{footnote}
hekeus@55 69 }
hekeus@55 70 \gdef\@@savethanks{}
hekeus@55 71 \gdef\@thanks{}
hekeus@55 72 \gdef\@author{}
hekeus@55 73 \gdef\@title{}
hekeus@55 74 \let\thanks\relax
hekeus@55 75 }
hekeus@55 76
hekeus@55 77 \def\@maketitle{
hekeus@55 78 \newpage
hekeus@55 79 \null
hekeus@55 80 \begin{center} {
hekeus@55 81 \Large \bf \@title \par
hekeus@55 82 }
hekeus@55 83 \vskip 2.0em {
hekeus@55 84 \normalsize \lineskip .5em
hekeus@55 85 \begin{tabular}[t]{c}
hekeus@55 86 \@author \\
hekeus@55 87 \end{tabular}
hekeus@55 88 \par
hekeus@55 89 }
hekeus@55 90 \end{center}
hekeus@55 91 \par
hekeus@55 92 \vskip 2.0em
hekeus@55 93 }
hekeus@55 94
hekeus@55 95 \newcommand{\permission}{
hekeus@55 96 \begin{figure}[b]
hekeus@55 97 {\scriptsize{\it Copyright: \copyright 2013 \firstauthor \hspace*{1 pt} et al. This is an open-access article distributed under the terms of the \href{http://creativecommons.org/licenses/by/3.0/}{\textcolor {magenta} {\underline {Creative Commons Attribution 3.0 Unported License}}}, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.}}
hekeus@55 98 %{\copyright~Copyright notice here}
hekeus@55 99 \end{figure}}
hekeus@55 100
hekeus@55 101 \def\oneauthor#1#2{
hekeus@55 102 \gdef\@author{
hekeus@55 103 \begin{tabular}{@{}c@{}}
hekeus@55 104 {\bf #1} \\
hekeus@55 105 #2\relax
hekeus@55 106 \end{tabular}\hskip .3in
hekeus@55 107 }
hekeus@55 108 }
hekeus@55 109
hekeus@55 110 \def\twoauthors#1#2#3#4{
hekeus@55 111 \gdef\@author{
hekeus@55 112 \begin{tabular}{@{}c@{}}
hekeus@55 113 {\bf #1} \\
hekeus@55 114 #2
hekeus@55 115 \end{tabular}\hskip 1.5in
hekeus@55 116 \begin{tabular}{@{}c@{}}
hekeus@55 117 {\bf #3} \\
hekeus@55 118 #4\relax
hekeus@55 119 \end{tabular}
hekeus@55 120 }
hekeus@55 121 }
hekeus@55 122
hekeus@55 123 \def\threeauthors#1#2#3#4#5#6{
hekeus@55 124 \gdef\@author{
hekeus@55 125 \begin{tabular}{@{}c@{}}
hekeus@55 126 {\bf #1} \\
hekeus@55 127 #2
hekeus@55 128 \end{tabular}\hskip .3in
hekeus@55 129 \begin{tabular}{@{}c@{}}
hekeus@55 130 {\bf #3} \\
hekeus@55 131 #4
hekeus@55 132 \end{tabular}\hskip .3in
hekeus@55 133 \begin{tabular}{@{}c@{}}
hekeus@55 134 {\bf #5} \\
hekeus@55 135 #6\relax
hekeus@55 136 \end{tabular}
hekeus@55 137 }
hekeus@55 138 }
hekeus@55 139
hekeus@55 140 \def\abstract{
hekeus@55 141 \begin{center}{
hekeus@55 142 \bf ABSTRACT
hekeus@55 143 }
hekeus@55 144 \end{center}
hekeus@55 145 }
hekeus@55 146 \def\endabstract{\par}
hekeus@55 147
hekeus@55 148 \def\title#1{\gdef\@title{\uppercase{#1}}}
hekeus@55 149
hekeus@55 150 \newif\if@smcsection
hekeus@55 151
hekeus@55 152 \renewcommand\section{
hekeus@55 153 \@smcsectiontrue
hekeus@55 154 \@startsection
hekeus@55 155 {section}
hekeus@55 156 {1}
hekeus@55 157 {\z@}
hekeus@55 158 {-3.5ex \@plus -1ex \@minus -.2ex}
hekeus@55 159 {6pt \@plus.2ex}
hekeus@55 160 {\large\bf\centering}
hekeus@55 161 }
hekeus@55 162
hekeus@55 163 \renewcommand\subsection{
hekeus@55 164 \@smcsectionfalse
hekeus@55 165 \@startsection
hekeus@55 166 {subsection}
hekeus@55 167 {2}
hekeus@55 168 {\z@}
hekeus@55 169 {-2.5ex \@plus -1ex \@minus -.2ex}
hekeus@55 170 {6pt \@plus.2ex}
hekeus@55 171 {\normalsize\bf\raggedright}
hekeus@55 172 }
hekeus@55 173
hekeus@55 174 \renewcommand\subsubsection{
hekeus@55 175 \@smcsectionfalse
hekeus@55 176 \@startsection
hekeus@55 177 {subsubsection}
hekeus@55 178 {3}
hekeus@55 179 {\z@}
hekeus@55 180 {-1.5ex \@plus -1ex \@minus -.2ex}
hekeus@55 181 {6pt \@plus.2ex}
hekeus@55 182 {\normalsize\it\raggedright}
hekeus@55 183 }
hekeus@55 184
hekeus@55 185 \def\@sect#1#2#3#4#5#6[#7]#8{
hekeus@55 186 \refstepcounter{#1}
hekeus@55 187 \if@smcsection
hekeus@55 188 \edef\@svsec{\csname the#1\endcsname.\hskip 0.6em}
hekeus@55 189 \else
hekeus@55 190 \edef\@svsec{\csname the#1\endcsname\hskip 0.6em}
hekeus@55 191 \fi
hekeus@55 192 \begingroup
hekeus@55 193 \ifnum #2=1
hekeus@55 194 \bf\centering{\interlinepenalty \@M \@svsec\uppercase{#8}\par}
hekeus@55 195 \else
hekeus@55 196 \ifnum #2=2
hekeus@55 197 \bf\raggedright
hekeus@55 198 \noindent{\interlinepenalty \@M \@svsec #8\par}
hekeus@55 199 \else
hekeus@55 200 \it\raggedright
hekeus@55 201 \noindent{\interlinepenalty \@M \@svsec #8\par}
hekeus@55 202 \fi
hekeus@55 203 \fi
hekeus@55 204 \endgroup
hekeus@55 205 \csname #1mark\endcsname{#7}\addcontentsline
hekeus@55 206 {toc}{#1}{\protect\numberline
hekeus@55 207 \if@smcsection
hekeus@55 208 {\csname the#1\endcsname.}
hekeus@55 209 \else
hekeus@55 210 {\csname the#1\endcsname}
hekeus@55 211 \fi
hekeus@55 212 #7}
hekeus@55 213 \@tempskipa #5\relax
hekeus@55 214 \@xsect{\@tempskipa}
hekeus@55 215 }
hekeus@55 216
hekeus@55 217 \newenvironment{acknowledgments}%
hekeus@55 218 {%
hekeus@55 219 \vskip 2.5ex {\normalsize\bf\raggedright Acknowledgments}
hekeus@55 220 \vspace*{6pt} \\
hekeus@55 221 \noindent
hekeus@55 222 }%
hekeus@55 223 {%
hekeus@55 224 \par
hekeus@55 225 }
hekeus@55 226
hekeus@55 227
hekeus@55 228 \bibliographystyle{IEEEtran}
hekeus@55 229
hekeus@55 230 \def\thebibliography#1{
hekeus@55 231 \section{References}\list
hekeus@55 232 {[\arabic{enumi}]}{
hekeus@55 233 \settowidth\labelwidth{[#1]}\leftmargin 1em
hekeus@55 234 \advance\leftmargin\labelsep
hekeus@55 235 \usecounter{enumi}
hekeus@55 236 }
hekeus@55 237 \def\newblock{\hskip .01em plus .01em minus .01em}
hekeus@55 238 \sloppy\clubpenalty4000\widowpenalty4000
hekeus@55 239 \sfcode`\.=1000\relax
hekeus@55 240 }
hekeus@55 241
hekeus@55 242 \let\endthebibliography=\endlist
hekeus@55 243
hekeus@55 244 \long\def\@makecaption#1#2{
hekeus@55 245 \vskip 10pt
hekeus@55 246 \setbox\@tempboxa\hbox{#1. #2}
hekeus@55 247 \ifdim
hekeus@55 248 \wd\@tempboxa >\hsize #1. #2\par
hekeus@55 249 \else
hekeus@55 250 \hbox
hekeus@55 251 to\hsize{\hfil\box\@tempboxa\hfil}
hekeus@55 252 \fi
hekeus@55 253 }
hekeus@55 254
hekeus@55 255 \def\fnum@figure{{\bf Figure\ \thefigure}}
hekeus@55 256 \def\fnum@table{{\bf Table \thetable}}
hekeus@55 257
hekeus@55 258 \flushbottom