annotate docs/SMC15/smc2015.sty @ 1778:3c397e8a5cbd

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