annotate docs/SMC15/smc2015.sty @ 1213:69394f0fd142

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