annotate docs/SMC15/smc2015.sty @ 923:7a7a72880996

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