annotate docs/SMC15/smc2015.sty @ 1483:d99c580e2683

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