annotate docs/SMC15/smc2015.sty @ 1180:3303a667548a

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