annotate docs/SMC15/smc2015.sty @ 1118:3edcbbea168b

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