changeset 18:37b3777c60c0

Re-fromated to follow NIME template
author Henrik Ekeus <hekeus@eecs.qmul.ac.uk>
date Sat, 04 Feb 2012 23:34:58 +0000
parents 664c3852fca8
children 0c0c62685abb
files nime2012/NIME-alternate.cls nime2012/mtriange.pdf nime2012/mtriange.tex
diffstat 3 files changed, 435 insertions(+), 111 deletions(-) [+]
line wrap: on
line diff
--- a/nime2012/NIME-alternate.cls	Sat Feb 04 20:48:22 2012 +0000
+++ b/nime2012/NIME-alternate.cls	Sat Feb 04 23:34:58 2012 +0000
@@ -1,34 +1,71 @@
-% SIG-ALTERNATE.CLS - VERSION 1.7
-% "COMPATIBLE" WITH THE "ACM_PROC_ARTICLE-SP.CLS" V2.7SP
-% Gerald Murray October 15th. 2004
+% NIME-ALTERNATE.CLS - VERSION 2.4.1
+% "COMPATIBLE" WITH THE "ACM_PROC_ARTICLE-SP.CLS" V3.2SP
+% Alexander Refsum Jensenius - 27 October 2010
+% Based on SIG-ALTERNATE.CLS - VERSION 2.4
+% Gerald Murray - April 22nd. 2009
 %
 % ---- Start of 'updates'  ----
 %
-% Allowance made to switch default fonts between those systems using
-% METAFONT and those using 'Type 1' or 'Truetype' fonts.
-% See LINE NUMBER 252 for details.
-% Also provided for enumerated/annotated Corollaries 'surrounded' by
-% enumerated Theorems (line 841).
-% Gerry November 11th. 1999
+% Changed $5 fee to $10 - Gerry
+% April 22nd. 2009 - Fixed 'Natbib' incompatibility problem - Gerry
+% April 22nd. 2009 - Fixed 'Babel' incompatibility problem - Gerry
+% April 22nd. 2009 - Inserted various bug-fixes and improvements - Gerry
+%
+% To produce Type 1 fonts in the document plus allow for 'normal LaTeX accenting' in the critical areas;
+% title, author block, section-heads, confname, etc. etc. 
+% i.e. the whole purpose of this version update is to NOT resort to 'inelegant accent patches'.
+% After much research, three extra .sty packages were added to the the tail (ae, aecompl, aeguill) to solve,
+% in particular, the accenting problem(s). We _could_ ask authors (via instructions/sample file) to 'include' these in
+% the source .tex file - in the preamble - but if everything is already provided ('behind the scenes' - embedded IN the .cls)
+% then this is less work for authors and also makes everything appear 'vanilla'.
+% NOTE: all 'patchwork accenting" has been commented out (here) and is no longer 'used' in the sample .tex file (either).
+% Gerry June 2007
+%
+% Patch for accenting in conference name/location. Gerry May 3rd. 2007
+% Rule widths changed to .5, author count (>6) fixed, roll-back for Type 3 problem. Gerry March 20th. 2007
+% Changes made to 'modernize' the fontnames but esp. for MikTeX users V2.4/2.5 - Nov. 30th. 2006
+% Updated the \email definition to allow for its use inside of 'shared affiliations' - Nov. 30th. 2006
+% Fixed the 'section number depth value' - Nov. 30th. 2006
+%
+% Footnotes inside table cells using \minipage (Oct. 2002)
+% Georgia fixed bug in sub-sub-section numbering in paragraphs (July 29th. 2002)
+% JS/GM fix to vertical spacing before Proofs (July 30th. 2002)
 %
 % Made the Permission Statement / Conference Info / Copyright Info
 % 'user definable' in the source .tex file OR automatic if
 % not specified.
 %
-% Georgia fixed bug in sub-sub-section numbering in paragraphs (July 29th. 2002)
-% JS/GM fix to vertical spacing before Proofs (July 30th. 2002)
-%
-% Footnotes inside table cells using \minipage (Oct. 2002)
+% Allowance made to switch default fonts between those systems using
+% normal/modern font names and those using 'Type 1' or 'Truetype' fonts.
+% See LINE NUMBER 255 for details.
+% Also provided for enumerated/annotated Corollaries 'surrounded' by
+% enumerated Theorems (line 848).
+% Gerry November 11th. 1999
 %
 % ---- End of 'updates' ----
 %
-\def\fileversion{v1.7}          % for ACM's tracking purposes
-\def\filedate{October 15, 2004}    % Gerry Murray's tracking data
-\def\docdate {Friday 15th. October 2004} % Gerry Murray (with deltas to doc}
+\def\fileversion{v2.4}          % for ACM's tracking purposes
+\def\filedate{April 22, 2009}    % Gerry Murray's tracking data
+\def\docdate {Wednesday 22nd. April 2009} % Gerry Murray (with deltas to doc}
 \usepackage{epsfig}
 \usepackage{amssymb}
 \usepackage{amsmath}
 \usepackage{amsfonts}
+\usepackage{graphicx}
+\usepackage{url}
+\usepackage[a4paper]{geometry}
+%\usepackage[
+%	pdftex, 
+%	colorlinks,
+%	citecolor=red,
+%	urlcolor=blue,
+ %   hyperfigures,
+%	pdfpagelabels=false;
+ % 	]{hyperref}
+
+% Need this for accents in Arial/Helvetica
+%\usepackage[T1]{fontenc}  % Gerry March 12, 2007 - causes Type 3 problems (body text)
+%\usepackage{textcomp}
 %
 % SIG-ALTERNATE DOCUMENT STYLE
 % G.K.M. Tobin August-October 1999
@@ -90,14 +127,18 @@
 %%% You may turn this hackery off via the -e option:
 %%%     dvips -e 0 foo.dvi >foo.ps
 %%%
-\typeout{Document Class 'sig-alternate' <15th. October '04>.  Modified by G.K.M. Tobin/Gerry Murray}
+\typeout{Document Class 'nime-alternate' <22 November 2011>.  Modified
+  by Georg Essl}
+\typeout{Based on 'sig-alternate' by G.K.M. Tobin/Gerry Murray}
 \typeout{Based in part upon document Style `acmconf' <22 May 89>. Hacked 4/91 by}
 \typeout{shivers@cs.cmu.edu, 4/93 by theobald@cs.mcgill.ca}
 \typeout{Excerpts were taken from (Journal Style) 'esub2acm.cls'.}
 \typeout{****** Bugs/comments/suggestions/technicalities to Gerry Murray -- murray@hq.acm.org ******}
 \typeout{Questions on the style, SIGS policies, etc. to Adrienne Griscti griscti@acm.org}
-\oddsidemargin 4.5pc
-\evensidemargin 4.5pc
+
+
+\oddsidemargin 4pc
+\evensidemargin 4pc
 \advance\oddsidemargin by -1in  % Correct for LaTeX gratuitousness
 \advance\evensidemargin by -1in % Correct for LaTeX gratuitousness
 \marginparwidth 0pt             % Margin pars are not allowed.
@@ -123,8 +164,10 @@
 \headheight 12pt                % Height of box containing running head.
 \headsep 25pt                   % Space between running head and text.
 
-\textheight 666pt       % 9 1/4 column height
-\textwidth 42pc         % Width of text line.
+%original text height 9'' 1/4 "letter size" \textheight 666pt       % 9 1/4 column height
+\textheight 716pt       % 9 1/4 column height + 0.7 "for A4 pages"
+%original text width 7'' "letter size" \textwidth 42pc         % Width of text line.
+\textwidth 500pt        % 7'' Width of text line - 0.2'' "for A4 pages".
                         % For two-column mode:
 \columnsep 2pc          %    Space between columns
 \columnseprule 0pt      %    Width of rule between columns.
@@ -180,11 +223,14 @@
 \@endparpenalty   -\@lowpenalty % After a list or paragraph environment.
 \@itempenalty     -\@lowpenalty % Between list items.
 
-\@namedef{ds@10pt}{\@latexerr{The `10pt' option is not allowed in the `acmconf'
+%\@namedef{ds@10pt}{\@latexerr{The `10pt' option is not allowed in the `acmconf'
+\@namedef{ds@10pt}{\ClassError{The `10pt' option is not allowed in the `acmconf'	% January 2008
   document style.}\@eha}
-\@namedef{ds@11pt}{\@latexerr{The `11pt' option is not allowed in the `acmconf'
+%\@namedef{ds@11pt}{\@latexerr{The `11pt' option is not allowed in the `acmconf'
+\@namedef{ds@11pt}{\ClassError{The `11pt' option is not allowed in the `acmconf'	% January 2008
   document style.}\@eha}
-\@namedef{ds@12pt}{\@latexerr{The `12pt' option is not allowed in the `acmconf'
+%\@namedef{ds@12pt}{\@latexerr{The `12pt' option is not allowed in the `acmconf'
+\@namedef{ds@12pt}{\ClassError{The `12pt' option is not allowed in the `acmconf'	% January 2008
   document style.}\@eha}
 
 \@options
@@ -237,7 +283,7 @@
 \gdef\additionalauthors#1{\addauthors={#1}}
 
 \gdef\numberofauthors#1{\global\aucount=#1
-\ifnum\aucount>3\global\originalaucount=\aucount \global\aucount=3\fi %g}
+\ifnum\aucount>3\global\originalaucount=\aucount \global\aucount=3\fi %g}  % 3 OK - Gerry March 2007
 \global\auskipcount=\aucount\global\advance\auskipcount by 1
 \global\multiply\auskipcount by 2
 \global\multiply\auskip by \auskipcount
@@ -281,38 +327,36 @@
 %  -- End of block A --
 %
 %
-% -- Start of block B -- METAFONT
-% +++++++++++++++++++++++++++++++++++++++++++++
-% Next (default) block for those using Metafont
-% Gerry Murray 11/11/1999
-% *** THIS BLOCK FOR THOSE USING METAFONT *****
+% -- Start of block B -- UPDATED FONT NAMES
 % *********************************************
-\newfont{\secfnt}{ptmb at 12pt}
-\newfont{\secit}{ptmbi at 12pt}    %13 Jan 00 gkmt
-\newfont{\subsecfnt}{ptmri at 11pt}
-\newfont{\subsecit}{ptmbi at 11pt}  % 13 Jan 00 gkmt -- was ptmr changed to ptmbi gm 2/4/2000
-                         % because "normal" is italic, "italic" is Roman
-\newfont{\ttlfnt}{phvb at 18pt}
-\newfont{\ttlit}{phvbo at 18pt}    % GM 2/4/2000
-\newfont{\subttlfnt}{phvr at 14pt}
-\newfont{\subttlit}{phvro at 14pt} % GM 2/4/2000
-\newfont{\subttlbf}{phvb at 14pt}  % 13 Jan 00 gkmt
-\newfont{\aufnt}{phvr at 12pt}
-\newfont{\auit}{phvro at 12pt}     % GM 2/4/2000
-\newfont{\affaddr}{phvr at 10pt}
-\newfont{\affaddrit}{phvro at 10pt} % GM 2/4/2000
-\newfont{\eaddfnt}{phvr at 12pt}
-\newfont{\ixpt}{ptmr at 9pt}
-\newfont{\confname}{ptmri at 8pt}
-\newfont{\crnotice}{ptmr at 8pt}
-\newfont{\ninept}{ptmr at 9pt}
+% Gerry Murray 11/30/2006
+% *********************************************
+\newfont{\secfnt}{ptmb8t at 12pt}
+\newfont{\secit}{ptmbi8t at 12pt}    %13 Jan 00 gkmt
+\newfont{\subsecfnt}{ptmri8t at 11pt}
+\newfont{\subsecit}{ptmbi8t at 11pt}  % 
+\newfont{\ttlfnt}{phvb8t at 18pt}
+\newfont{\ttlit}{phvbo8t at 18pt}    % GM 2/4/2000
+\newfont{\subttlfnt}{phvr8t at 14pt}
+\newfont{\subttlit}{phvro8t at 14pt} % GM 2/4/2000
+\newfont{\subttlbf}{phvb8t at 14pt}  % 13 Jan 00 gkmt
+\newfont{\aufnt}{phvr8t at 12pt}
+\newfont{\auit}{phvro8t at 12pt}     % GM 2/4/2000
+\newfont{\affaddr}{phvr8t at 10pt}
+\newfont{\affaddrit}{phvro8t at 10pt} % GM 2/4/2000
+\newfont{\eaddfnt}{phvr8t at 10pt}    % ARJ 5/11/2010
+\newfont{\ixpt}{ptmr8t at 9pt}
+\newfont{\confname}{ptmri8t at 8pt}
+\newfont{\crnotice}{ptmr8t at 8pt}
+\newfont{\ninept}{ptmr8t at 9pt}
 % +++++++++++++++++++++++++++++++++++++++++++++
 % -- End of block B --
 
+%\def\email#1{{{\eaddfnt{\vskip 4pt#1}}}}
+% If we have an email, inside a "shared affiliation" then we need the following instead
+\def\email#1{{{\eaddfnt{\par #1}}}}       % revised  - GM - 11/30/2006
 
-\def\email#1{{{\eaddfnt{\vskip 4pt#1}}}}
-
-\def\addauthorsection{\ifnum\originalaucount>3
+\def\addauthorsection{\ifnum\originalaucount>6  % was 3 - Gerry March 2007
     \section{Additional Authors}\the\addauthors
   \fi}
 
@@ -410,7 +454,7 @@
 
 \arraycolsep 4.5pt   % Half the space between columns in an array environment.
 \tabcolsep 5.4pt    % Half the space between columns in a tabular environment.
-\arrayrulewidth .4pt % Width of rules in array and tabular environment.
+\arrayrulewidth .5pt % Width of rules in array and tabular environment. % (was .4) updated Gerry March 20 2007
 \doublerulesep 1.8pt % Space between adjacent rules in array or tabular env.
 
 \tabbingsep \labelsep   % Space used by the \' command.  (See LaTeX manual.)
@@ -418,7 +462,7 @@
 \skip\@mpfootins =\skip\footins
 
 \fboxsep =2.7pt      % Space left between box and text by \fbox and \framebox.
-\fboxrule =.4pt      % Width of rules in box made by \fbox and \framebox.
+\fboxrule =.5pt      % Width of rules in box made by \fbox and \framebox. % (was .4) updated Gerry March 20 2007
 
 \def\thepart{\Roman{part}} % Roman numeral part numbers.
 \def\thesection       {\arabic{section}}
@@ -432,8 +476,12 @@
 \def\@dotsep{4.5}
 \setcounter{tocdepth}{3}
 
-\def\tableofcontents{\@latexerr{\tableofcontents: Tables of contents are not
-  allowed in the `acmconf' document style.}\@eha}
+%\def\tableofcontents{\@latexerr{\tableofcontents: Tables of contents are not
+%  allowed in the `acmconf' document style.}\@eha}
+
+\def\tableofcontents{\ClassError{%
+    \string\tableofcontents\space is not allowed in the `acmconf' document	% January 2008
+    style}\@eha}
 
 \def\l@part#1#2{\addpenalty{\@secpenalty}
    \addvspace{2.25em plus 1pt}  % space above part line
@@ -466,18 +514,27 @@
 \def\l@paragraph{\@dottedtocline{4}{7.0em}{4.1em}}
 \def\l@subparagraph{\@dottedtocline{5}{10em}{5em}}
 
-\def\listoffigures{\@latexerr{\listoffigures: Lists of figures are not
-  allowed in the `acmconf' document style.}\@eha}
+%\def\listoffigures{\@latexerr{\listoffigures: Lists of figures are not
+%  allowed in the `acmconf' document style.}\@eha}
+
+\def\listoffigures{\ClassError{%
+    \string\listoffigures\space is not allowed in the `acmconf' document	% January 2008
+    style}\@eha}
 
 \def\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
 
-\def\listoftables{\@latexerr{\listoftables: Lists of tables are not
-  allowed in the `acmconf' document style.}\@eha}
-\let\l@table\l@figure
+%\def\listoftables{\@latexerr{\listoftables: Lists of tables are not
+%  allowed in the `acmconf' document style.}\@eha}
+%\let\l@table\l@figure
+
+\def\listoftables{\ClassError{%
+    \string\listoftables\space is not allowed in the `acmconf' document		% January 2008
+    style}\@eha}
+ \let\l@table\l@figure
 
 \def\footnoterule{\kern-3\p@
-  \hrule width .4\columnwidth
-  \kern 2.6\p@}                 % The \hrule has default height of .4pt .
+  \hrule width .5\columnwidth   % (was .4) updated Gerry March 20 2007
+  \kern 2.6\p@}                 % The \hrule has default height of .4pt % (was .4) updated Gerry March 20 2007
 % ------
 \long\def\@makefntext#1{\noindent 
 %\hbox to .5em{\hss$^{\@thefnmark}$}#1}   % original
@@ -529,7 +586,8 @@
 \def\ext@figure{lof}
 \def\fnum@figure{Figure \thefigure}
 \def\figure{\@float{figure}}
-\let\endfigure\end@float
+%\let\endfigure\end@float
+\def\endfigure{\end@float} 		% Gerry January 2008
 \@namedef{figure*}{\@dblfloat{figure}}
 \@namedef{endfigure*}{\end@dblfloat}
 
@@ -540,7 +598,8 @@
 \def\ext@table{lot}
 \def\fnum@table{Table \thetable}
 \def\table{\@float{table}}
-\let\endtable\end@float
+%\let\endtable\end@float
+\def\endtable{\end@float}		% Gerry January 2008
 \@namedef{table*}{\@dblfloat{table}}
 \@namedef{endtable*}{\end@dblfloat}
 
@@ -571,7 +630,7 @@
 
 \if@ll
   \NeedsTeXFormat{LaTeX2e}
-  \ProvidesClass{sig-alternate} [2004/15/10 - V1.7 - based on acmproc.cls V1.3 <Nov. 30 '99>]
+  \ProvidesClass{nime-alternate} [2010/10/31 - based on sig-alternate.cls v1.9]
   \RequirePackage{latexsym}% QUERY: are these two really needed?
   \let\dooptions\ProcessOptions
 \else
@@ -803,7 +862,7 @@
 \@float{copyrightbox}[b]
 \begin{center}
 \setlength{\unitlength}{1pc}
-\begin{picture}(20,6) %Space for copyright notice
+\begin{picture}(20,5) %Space for copyright notice
 \put(0,-0.95){\crnotice{\@toappear}}
 \end{picture}
 \end{center}
@@ -818,8 +877,12 @@
 \def\conferenceinfo#1#2{\global\conf={#1}\global\confinfo{#2}}
 
 
-\def\marginpar{\@latexerr{The \marginpar command is not allowed in the
-  `acmconf' document style.}\@eha}
+%\def\marginpar{\@latexerr{The \marginpar command is not allowed in the
+%  `acmconf' document style.}\@eha}
+
+\def\marginpar{\ClassError{%
+    \string\marginpar\space is not allowed in the `acmconf' document		% January 2008
+    style}\@eha}
 
 \mark{{}{}}     % Initializes TeX's marks
 
@@ -922,7 +985,8 @@
         \hskip 10\p@
         \hskip \labelsep
         {\it #2%
-         \savebox\@tempboxa{#3}%
+%         \savebox\@tempboxa{#3}%
+         \saveb@x\@tempboxa{#3}%		% January 2008
          \ifdim \wd\@tempboxa>\z@
             \ \box\@tempboxa
          \fi.%
@@ -974,8 +1038,17 @@
     \@startsection{subsubsection}{3}{\z@}{-8\p@ \@plus -2\p@ \@minus -\p@}%
     {4\p@}{\subsecfnt}%
 }
+%\def\paragraph{%
+%    \vskip 12pt\@startsection{paragraph}{3}{\z@}{6\p@ \@plus \p@}% original
+%    {-5\p@}{\subsecfnt}%
+%}
+%  If one wants sections, subsections and subsubsections numbered,
+%  but not paragraphs, one usually sets secnumepth to 3.
+%  For that, the "depth" of paragraphs must be given correctly
+%  in the definition (``4'' instead of ``3'' as second argument
+%  of @startsection):
 \def\paragraph{%
-    \vskip 12pt\@startsection{paragraph}{3}{\z@}{6\p@ \@plus \p@}%
+    \vskip 12pt\@startsection{paragraph}{4}{\z@}{6\p@ \@plus \p@}%    % GM and Wolfgang May - 11/30/06
     {-5\p@}{\subsecfnt}%
 }
 \let\@period=.
@@ -1011,7 +1084,7 @@
         \edef\@svsec{%
             \begingroup
                 %\ifnum#2>2 \noexpand\rm \fi % changed to next 29 July 2002 gkmt
-                        \ifnum#2>2 \noexpand#6 \fi
+            \ifnum#2>2 \noexpand#6 \fi
                 \csname the#1\endcsname
             \endgroup
             \ifnum #2=1\relax .\fi
@@ -1061,6 +1134,7 @@
         }%
     \fi
     \@xsect{#5}\hskip 1pt
+            \@afterheading
     \par
 }
 \def\@xsect#1{%
@@ -1154,17 +1228,23 @@
     \fi
     \@ifstar{\@citeNB\@@cite}{\@normalcite\@@cite}%
 }
-\def\cite{\start@cite23}
-\def\citeNP{\cite*}
-\def\citeA{\start@cite10}
+%\def\cite{\start@cite23}
+\DeclareRobustCommand\cite{\start@cite23}		% January 2008
+\def\citeNP{\cite*}					% No Parentheses e.g. 5
+%\def\citeA{\start@cite10}
+\DeclareRobustCommand\citeA{\start@cite10}		% January 2008
 \def\citeANP{\citeA*}
-\def\shortcite{\start@cite23}
+%\def\shortcite{\start@cite23}				
+\DeclareRobustCommand\shortcite{\start@cite23}		% January 2008
 \def\shortciteNP{\shortcite*}
-\def\shortciteA{\start@cite20}
+%\def\shortciteA{\start@cite20}
+\DeclareRobustCommand\shortciteA{\start@cite20}		% January 2008
 \def\shortciteANP{\shortciteA*}
-\def\citeyear{\start@cite30}
+%\def\citeyear{\start@cite30}
+\DeclareRobustCommand\citeyear{\start@cite30}		% January 2008
 \def\citeyearNP{\citeyear*}
-\def\citeN{%
+%\def\citeN{%
+\DeclareRobustCommand\citeN{%				% January 2008
     \@citeRB
     \def\citeauthoryear##1##2##3{##1\ [##3%
         \def\reserved@a{##1}%
@@ -1181,7 +1261,8 @@
     }%
     \@ifstar\@citeyear\@citeyear
 }
-\def\shortciteN{%
+%\def\shortciteN{%
+\DeclareRobustCommand\shortciteN{%			% January 2008
     \@citeRB
     \def\citeauthoryear##1##2##3{##2\ [##3%
         \def\reserved@a{##2}%
@@ -1198,20 +1279,26 @@
     }%
     \@ifstar\@citeyear\@citeyear  % GM July 2000
 }
+
 \def\@citenormal{%
-    \@ifnextchar [{\@tempswatrue\@citex;}
-                  {\@tempswafalse\@citex,[]}% % GM July 2000
+    \@ifnextchar [{\@tempswatrue\@citex;}%
+% original                 {\@tempswafalse\@citex,[]}% was ; Gerry 2/24/00
+{\@tempswafalse\@citex[]}%  	% GERRY FIX FOR BABEL 3/20/2009
 }
+
 \def\@citeyear{%
     \@ifnextchar [{\@tempswatrue\@citex,}%
-                  {\@tempswafalse\@citex,[]}%
+% original                  {\@tempswafalse\@citex,[]}%
+{\@tempswafalse\@citex[]}%	%  GERRY FIX FOR BABEL 3/20/2009
 }
+
 \def\@citex#1[#2]#3{%
     \let\@citea\@empty
     \@cite{%
         \@for\@citeb:=#3\do{%
             \@citea
-            \def\@citea{#1 }%
+% original            \def\@citea{#1 }%
+            \def\@citea{#1, }% 	% GERRY FIX FOR BABEL 3/20/2009 -- SO THAT YOU GET [1, 2] IN THE BODY TEXT
             \edef\@citeb{\expandafter\@iden\@citeb}%
             \if@filesw
                 \immediate\write\@auxout{\string\citation{\@citeb}}%
@@ -1226,14 +1313,20 @@
         }%
     }{#2}%
 }
-\let\@biblabel\@gobble
+%\let\@biblabel\@gobble   % Dec. 2008 - Gerry
+% ----
+\def\@biblabelnum#1{[#1]} % Gerry's solution #1 - for Natbib -- April 2009
+\let\@biblabel=\@biblabelnum  % Gerry's solution #1 - for Natbib -- April 2009
+\def\newblock{\relax} % Gerry Dec. 2008
+% ---
 \newdimen\bibindent
 \setcounter{enumi}{1}
 \bibindent=0em
-\def\thebibliography#1{% \ifnum\addauflag=0\addauthorsection\global\addauflag=1\fi
+\def\thebibliography#1{% 
+\ifnum\addauflag=0\addauthorsection\global\addauflag=1\fi
      \section[References]{%    <=== OPTIONAL ARGUMENT ADDED HERE
         {References} % was uppercased but this affects pdf bookmarks (SP/GM October 2004)
-          \vskip -9pt  % GM July 2000 (for tighter spacing)
+%          {\vskip -9pt plus 1pt} % GM Nov. 2006 / GM July 2000 (for somewhat tighter spacing) 
          \@mkboth{{\refname}}{{\refname}}%
      }%
      \list{[\arabic{enumi}]}{%
@@ -1261,7 +1354,8 @@
 
 \newcount\colcntr
 \global\colcntr=0
-\newbox\savebox
+%\newbox\savebox
+\newbox\saveb@x				% January 2008
 
 \gdef \@makecol {%
 \global\advance\colcntr by 1
@@ -1350,17 +1444,227 @@
 \newtoks\acmcopyr
 \newtoks\boilerplate
 \global\acmcopyr={X-XXXXX-XX-X/XX/XX}  % Default - 5/11/2001 *** Gerry
-\global\copyrtyr={200X}                % Default - 3/3/2003 *** Gerry
+\global\copyrtyr={20XX}                % Default - 3/3/2003 *** Gerry
 \def\CopyrightYear#1{\global\copyrtyr{#1}}
 \def\crdata#1{\global\acmcopyr{#1}}
 \def\permission#1{\global\boilerplate{#1}}
 %
 \global\boilerplate={Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page.  To copy otherwise, to republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee.}
 \newtoks\copyrightetc
-\global\copyrightetc{Copyright \the\copyrtyr\  \the\acmcopyr}
+\global\copyrightetc{Copyright remains with the author(s)}
+\toappear{\the\boilerplate\par
+{\confname{\the\conf}} \the\confinfo\par \the\copyrightetc.}
+%\DeclareFixedFont{\altcrnotice}{OT1}{tmr}{m}{n}{8}  % << patch needed for accenting e.g. Montreal - Gerry, May 2007
+%\DeclareFixedFont{\altconfname}{OT1}{tmr}{m}{it}{8}  % << patch needed for accenting in italicized confname - Gerry, May 2007
+%
+%{\altconfname{{\the\conf}}} {\altcrnotice\the\confinfo\par} \the\copyrightetc.}  % << Gerry, May 2007
+%
+% The following section (i.e. 3 .sty inclusions) was added in May 2007 so as to fix the problems that many
+% authors were having with accents. Sometimes accents would occur, but the letter-character would be of a different
+% font. Conversely the letter-character font would be correct but, e.g. a 'bar' would appear superimposed on the
+% character instead of, say, an unlaut/diaresis. Sometimes the letter-character would NOT appear at all.
+% Using [T1]{fontenc} outright was not an option as this caused 99% of the authors to 'produce' a Type-3 (bitmapped)
+% PDF file - useless for production. 
+%
+% For proper (font) accenting we NEED these packages to be part of the .cls file i.e. 'ae', 'aecompl' and 'aeguil' 
+% ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+%% This is file `ae.sty' 
+\def\fileversion{1.3}
+\def\filedate{2001/02/12}
+\NeedsTeXFormat{LaTeX2e}
+%\ProvidesPackage{ae}[\filedate\space\fileversion\space  % GM
+% Almost European Computer Modern]                       % GM - keeping the log file clean(er)
+\newif\if@ae@slides \@ae@slidesfalse
+\DeclareOption{slides}{\@ae@slidestrue}
+\ProcessOptions
+\fontfamily{aer}
+\RequirePackage[T1]{fontenc}
+\if@ae@slides
+    \renewcommand{\sfdefault}{laess}
+    \renewcommand{\rmdefault}{laess} % no roman
+    \renewcommand{\ttdefault}{laett}
+\else
+    \renewcommand{\sfdefault}{aess}
+    \renewcommand{\rmdefault}{aer}
+    \renewcommand{\ttdefault}{aett}
+\fi
+\endinput
+%% 
+%% End of file `ae.sty'.
+%
+%
+\def\fileversion{0.9}
+\def\filedate{1998/07/23}
+\NeedsTeXFormat{LaTeX2e}
+%\ProvidesPackage{aecompl}[\filedate\space\fileversion\space   % GM
+%T1 Complements for AE fonts (D. Roegel)]                      % GM -- keeping the log file clean(er)
+ 
+\def\@ae@compl#1{{\fontencoding{T1}\fontfamily{cmr}\selectfont\symbol{#1}}}
+\def\guillemotleft{\@ae@compl{19}}
+\def\guillemotright{\@ae@compl{20}}
+\def\guilsinglleft{\@ae@compl{14}}
+\def\guilsinglright{\@ae@compl{15}}
+\def\TH{\@ae@compl{222}}
+\def\NG{\@ae@compl{141}}
+\def\ng{\@ae@compl{173}}
+\def\th{\@ae@compl{254}}
+\def\DJ{\@ae@compl{208}}
+\def\dj{\@ae@compl{158}}
+\def\DH{\@ae@compl{208}}
+\def\dh{\@ae@compl{240}}
+\def\@perthousandzero{\@ae@compl{24}}
+\def\textperthousand{\%\@perthousandzero}
+\def\textpertenthousand{\%\@perthousandzero\@perthousandzero}
+\endinput
+%
+%
+%% This is file `aeguill.sty' 
+% This file gives french guillemets (and not guillemots!)
+% built with the Polish CMR fonts (default), WNCYR fonts, the LASY fonts 
+% or with the EC fonts. 
+% This is useful in conjunction with the ae package
+% (this package loads the ae package in case it has not been loaded)
+%  and with or without the french(le) package.
+%
+% In order to get the guillemets, it is necessary to either type
+% \guillemotleft and \guillemotright, or to use an 8 bit encoding
+% (such as ISO-Latin1) which selects these two commands, 
+% or, if you use the french package (but not the frenchle package), 
+% to type << or >>.
+%
+% By default, you get the Polish CMR guillemets; if this package is loaded
+% with the `cm' option, you get the LASY guillemets; with `ec,' you
+% get the EC guillemets, and with `cyr,' you get the cyrillic guillemets.
+%
+% In verbatim mode, you always get the EC/TT guillemets.
+%
+% The default option is interesting in conjunction with PDF,
+% because there is a Type 1 version of the Polish CMR fonts
+% and these guillemets are very close in shape to the EC guillemets.
+% There are no free Type 1 versions of the EC fonts.
+%
+% Support for Polish CMR guillemets was kindly provided by 
+% Rolf Niepraschk <niepraschk@ptb.de> in version 0.99 (2000/05/22).
+% Bernd Raichle provided extensive simplifications to the code
+% for version 1.00.
+%
+% This package is released under the LPPL.
+%
+% Changes:
+%   Date        version
+%   2001/04/12  1.01    the frenchle and french package are now distinguished.
+%
+\def\fileversion{1.01}
+\def\filedate{2001/04/12}
+\NeedsTeXFormat{LaTeX2e}
+%\ProvidesPackage{aeguill}[2001/04/12 1.01 %    % GM
+%AE fonts with french guillemets (D. Roegel)]   % GM - keeping the log file clean(er)
+%\RequirePackage{ae}  % GM May 2007 - already embedded here
 
-\toappear{\the\boilerplate\par
-{\confname{\the\conf}} \the\confinfo\par \the\copyrightetc}
+\newcommand{\@ae@switch}[4]{#4}
+\DeclareOption{ec}{\renewcommand\@ae@switch[4]{#1}}
+\DeclareOption{cm}{\renewcommand\@ae@switch[4]{#2}}
+\DeclareOption{cyr}{\renewcommand\@ae@switch[4]{#3}}
+\DeclareOption{pl}{\renewcommand\@ae@switch[4]{#4}}
+\ExecuteOptions{pl}
+\ProcessOptions
+
 %
-%% End of sig-alternate.cls -- V1.7 - 10/15/2004 --
-%% Gerry Murray -- Wednesday October 15th. 2004
+% Load necessary packages
+%
+\@ae@switch{% ec
+  % do nothing
+}{% cm
+  \RequirePackage{latexsym}%  GM - May 2007 - already 'mentioned as required' up above
+}{% cyr
+  \RequirePackage[OT2,T1]{fontenc}%
+}{% pl
+  \RequirePackage[OT4,T1]{fontenc}%
+}
+
+% The following command will be compared to \frenchname,
+% as defined in french.sty and frenchle.sty.
+\def\aeguillfrenchdefault{french}%
+
+\let\guill@verbatim@font\verbatim@font
+\def\verbatim@font{\guill@verbatim@font\ecguills{cmtt}%
+                   \let\guillemotleft\@oguills\let\guillemotright\@fguills}
+
+\begingroup \catcode`\<=13 \catcode`\>=13
+\def\x{\endgroup
+ \def\ae@lfguill{<<}%
+ \def\ae@rfguill{>>}%
+}\x
+
+\newcommand{\ecguills}[1]{%
+  \def\selectguillfont{\fontencoding{T1}\fontfamily{#1}\selectfont}%
+  \def\@oguills{{\selectguillfont\symbol{19}}}%
+  \def\@fguills{{\selectguillfont\symbol{20}}}%
+  } 
+
+\newcommand{\aeguills}{%
+  \ae@guills
+  % We redefine \guillemotleft and \guillemotright
+  % in order to catch them when they are used 
+  % with \DeclareInputText (in latin1.def for instance)
+  % We use \auxWARNINGi as a safe indicator that french.sty is used.
+  \gdef\guillemotleft{\ifx\auxWARNINGi\undefined
+                         \@oguills % neither french.sty nor frenchle.sty
+                      \else
+                         \ifx\aeguillfrenchdefault\frenchname
+                           \ae@lfguill  % french.sty
+                         \else
+                           \@oguills    % frenchle.sty
+                         \fi
+                      \fi}%
+  \gdef\guillemotright{\ifx\auxWARNINGi\undefined
+                         \@fguills % neither french.sty nor frenchle.sty
+                       \else
+                         \ifx\aeguillfrenchdefault\frenchname
+                           \ae@rfguill  % french.sty
+                         \else
+                           \@fguills    % frenchle.sty
+                         \fi
+                       \fi}%
+  }
+
+%
+% Depending on the class option
+% define the internal command \ae@guills
+\@ae@switch{% ec
+  \newcommand{\ae@guills}{%
+    \ecguills{cmr}}%
+}{% cm
+  \newcommand{\ae@guills}{%
+    \def\selectguillfont{\fontencoding{U}\fontfamily{lasy}%
+            \fontseries{m}\fontshape{n}\selectfont}%
+    \def\@oguills{\leavevmode\nobreak
+                \hbox{\selectguillfont (\kern-.20em(\kern.20em}\nobreak}%
+    \def\@fguills{\leavevmode\nobreak
+                \hbox{\selectguillfont \kern.20em)\kern-.2em)}%
+                \ifdim\fontdimen\@ne\font>\z@\/\fi}}%
+}{% cyr
+  \newcommand{\ae@guills}{%
+    \def\selectguillfont{\fontencoding{OT2}\fontfamily{wncyr}\selectfont}%
+    \def\@oguills{{\selectguillfont\symbol{60}}}%
+    \def\@fguills{{\selectguillfont\symbol{62}}}}
+}{% pl
+  \newcommand{\ae@guills}{%
+    \def\selectguillfont{\fontencoding{OT4}\fontfamily{cmr}\selectfont}%
+    \def\@oguills{{\selectguillfont\symbol{174}}}%
+    \def\@fguills{{\selectguillfont\symbol{175}}}}
+}
+
+
+\AtBeginDocument{%
+  \ifx\GOfrench\undefined
+    \aeguills
+  \else
+    \let\aeguill@GOfrench\GOfrench
+    \gdef\GOfrench{\aeguill@GOfrench \aeguills}%
+  \fi
+  }
+
+\endinput
+%
+
Binary file nime2012/mtriange.pdf has changed
--- a/nime2012/mtriange.tex	Sat Feb 04 20:48:22 2012 +0000
+++ b/nime2012/mtriange.tex	Sat Feb 04 23:34:58 2012 +0000
@@ -11,8 +11,8 @@
 
 \CopyrightYear{2012}   %will cause 2008 to appear in the copyright line.
 \crdata{Copyright remains with the author(s).}
-\conferenceinfo{NIME12,}{ Somewhere}
-
+\conferenceinfo{NIME'12,}{May 21 -- 23, 2012, University of Michigan,
+  Ann Arbor.}
 
 %TODO
 %
@@ -28,13 +28,36 @@
 %
 %
 \title{The Melody Triangle - Pattern and Predictability in Music}
-\numberofauthors{2}
+\numberofauthors{4}
 \author{
- \alignauthor Henrik Ekeus (1),  Samer Abdallah (1), Mark D. Plumbley, Peter W. McOwan\\
-     \affaddr{(1) Centre for Digital Music}\\
-     \affaddr{Queen Mary University of London}
+\alignauthor
+Henrik Ekeus\\
+        \affaddr{Queen Mary University of London}\\
+        \affaddr{Media and Arts Technology}\\
+        \affaddr{School of Electronic Engineering and Computer Science}\\
+       \email{hekeus@eecs.qmul.ac.uk}
+\alignauthor
+Samer Abdallah\\
+       \affaddr{Queen Mary University of London}\\
+       \affaddr{Center for Digital Music}\\
+       \affaddr{School of Electronic Engineering and Computer Science}\\
+       \email{samer.abdallah@\\eecs.qmul.ac.uk}
+\and
+\alignauthor
+Mark D. Plumbley\\
+       \affaddr{Queen Mary University of London}\\
+       \affaddr{Center for Digital Music}\\
+       \affaddr{School of Electronic Engineering and Computer Science}\\
+       \email{mark.plumbley@\\eecs.qmul.ac.uk}
+% 3rd. author
+\alignauthor
+Peter W. McOwan\\
+       \affaddr{Queen Mary University of London}\\
+       \affaddr{Computer Vision Group}\\
+       \affaddr{School of Electronic Engineering and Computer Science}\\
+       \email{Peter.McOwan@\\eecs.qmul.ac.uk}
 }
-
+\date{7 February 2012}
 \begin{document}
 \maketitle
 \begin{abstract}
@@ -64,7 +87,7 @@
 Redundancy tells us the difference in uncertainty before we look at the context (the fixed point distribution) and the uncertainty after we look at context.  For instance a transition matrix with high redundancy, such as one that represents a long periodic sequence, would have high uncertainty before we look at the context but as soon as we look at the previous symbol, the uncertainty drops to zero because we now know what is coming next.
 \subsubsection{Entropy rate}
 [todo - a more formal description]
-Entropy rate is the average uncertainty for the next symbol as we go through the sequence.  A looping sequence has 0 entropy, a sequence that is difficult to predict has high entropy rate.   Entropy rate is an average of ÔsurprisingnessÕ over time.  
+Entropy rate is the average uncertainty for the next symbol as we go through the sequence.  A looping sequence has 0 entropy, a sequence that is difficult to predict has high entropy rate.   Entropy rate is an average of 'surprisingness' over time.  
 
 \subsubsection{Predictive Information Rate}
 [todo - a more formal description]
@@ -128,15 +151,15 @@
 Tracking and control was done using the OpenNI libraries' API and high level middle-ware for tracking with Kinect.  This provided reliable blob tracking of humanoid forms in 2d space.  By triangulating this to the Kinect's depth map it became possible to get reliable coordinate of visitors positions in the space.
 
This system was extended to detect gestures.  By detecting the bounding box of the 2d blobs of individuals in the space, and then normalising these based on the distance of the depth map it became possible to work out if an individual had an arm stretched out or if they were crouching.  
 
-With this it was possible to define a series of gestures for controlling the system without the use of any controllers.  Thus for instance by sticking out one's left arm quickly, the melody doubles in tempo.  By pulling one's left arm in at the same time as sticking the right arm out the melody would shift onto the offbeat.   Sending out both arms would change instrument.    
+With this it was possible to define a series of gestures for controlling the system without the use of any controllers(see table \ref{gestures}).  Thus for instance by sticking out one's left arm quickly, the melody doubles in tempo.  By pulling one's left arm in at the same time as sticking the right arm out the melody would shift onto the offbeat.   Sending out both arms would change instrument.    
 
-\begin{figure}
+\begin{table}
 \centering
 %\includegraphics[width=0.5\textwidth]{InstructionsText.pdf}
-\begin{tabular}{ l l l }
-
+\caption{Gestures and their resulting effect\label{gestures}}
+\begin{tabular}{ l c l }
 left arm & right arm & meaning\\
-\hline\\
+\hline
   out & static & double tempo \\
   in & static & halve tempo \\
   static & out & triple tempo \\
@@ -145,10 +168,7 @@
   out & out & change instrument\\
   in & in & reset tempo\\
 \end{tabular}
-
-
-\caption{Gestures and their resulting effect.  For instance sending one's left arm out while keeping the right static would double the tempo of the melody being generated.\label{gestures}}
-\end{figure}
+\end{table}
 
 \subsubsection{Observations}
 Although visitors would need an initial bit of training they could then quickly be made to collaboratively design musical textures.  For example, one person could lay down a predictable repeating bass line by keeping themselves to the periodicity/repetition side of the room, while a companion can generate a freer melodic line by being nearer the 'noise' part of the space.