annotate docs/SMC15/smc2015.sty @ 1186:fd5390509d52

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