annotate docs/SMC15/smc2015.sty @ 1418:6d47c4ed0e67

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