annotate docs/SMC15/smc2015.sty @ 1365:c4156df1dcb5

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