annotate docs/SMC15/smc2015.sty @ 1453:04e8a9c07c7e

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