annotate docs/SMC15/smc2015.sty @ 767:d7f2912bf487

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