annotate docs/SMC15/smc2015.sty @ 824:cfe755cc2bc2

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