annotate docs/SMC15/smc2015.sty @ 12:ffde18e534ff

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