annotate docs/SMC15/smc2015.sty @ 3141:335bc77627e0 tip

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