annotate smc2012/smc2012.sty @ 58:a63c438b3f65 tip

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