annotate docs/SMC15/smc2015.sty @ 656:0a401224660b

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