summaryrefslogtreecommitdiff
path: root/macros/latex209/contrib/misc/acmproc.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex209/contrib/misc/acmproc.sty')
-rw-r--r--macros/latex209/contrib/misc/acmproc.sty186
1 files changed, 186 insertions, 0 deletions
diff --git a/macros/latex209/contrib/misc/acmproc.sty b/macros/latex209/contrib/misc/acmproc.sty
new file mode 100644
index 0000000000..f4092a3dfe
--- /dev/null
+++ b/macros/latex209/contrib/misc/acmproc.sty
@@ -0,0 +1,186 @@
+% ACMproc.sty
+% PROC DOCUMENT STYLE -- Released 4 September 1986
+% for LaTeX version 2.09
+% Copyright (C) 1985 by Leslie Lamport
+%
+% This is a style option for use with the article style to produce
+% camera-ready conference proceedings.
+
+\typeout{Document Style Option 'ACMproc'}
+
+
+
+% ****************************************
+% * PAGE LAYOUT *
+% ****************************************
+%
+% All margin dimensions measured from a point one inch from top and side
+% of page. Dimensions shrink by about 2 percent
+
+% SIDE MARGINS (ACM instructions)
+ \oddsidemargin -0.25in % Note that \oddsidemargin = \evensidemargin
+ \evensidemargin -0.25in
+% to print on a 8.5''x11'' page manually feeded through the
+% LaserWriter
+\advance\oddsidemargin by -4.5mm
+\advance\evensidemargin by -4.5mm
+
+% VERTICAL SPACING (ACM instructions)
+ % Top of page:
+\topmargin -0.25in % Nominal distance from top of page to top of
+ % box containing running head.
+\headheight 12pt % Height of box containing running head.
+\headsep 25pt % Space between running head and text.
+\advance\topmargin by -37pt % subtract \headheight and \headsep from \topmargin
+\advance\topmargin by -1.7cm % ???
+% \topskip = 10pt % '\baselineskip' for first line of page.
+ % Bottom of page:
+\footskip 100pt % Distance from baseline of box containing foot
+ % to baseline of last line of text.
+
+
+% DIMENSION OF TEXT (ACM instructions)
+
+\textheight 9in % Height of text (including footnotes and figures,
+ % excluding running head and foot).
+\advance\textheight by 5mm
+\textwidth 7in % Width of text line.
+ % For two-column mode:
+\columnsep .333in % Space between columns
+\columnseprule 0pt % Width of rule between columns.
+
+% ADJUSTMENT FOR A4 PAGE SIZE 900403/BjL
+
+\hoffset=3mm
+\voffset=18mm
+
+
+% ****************************************
+% * PAGE STYLES *
+% ****************************************
+%
+% Use \markright (or \markboth) to put an identification in the
+% lower left. The page number is printed in the lower right.
+
+
+\def\@oddhead{}\def\@evenhead{}
+\def\@oddfoot{\rm\rightmark \hfil Page \thepage}
+\def\@evenfoot{\@oddfoot}
+
+
+% ****************************************
+% * TITLE *
+% ****************************************
+%
+
+% This definition of \maketitle taken from article.sty, except
+% it does not do a \thispagestyle{plain}.
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%% ATTENTION %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%% JJL HACK %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Un hack horrible qui change 2.25 en 1.20 pour faire des titres
+% moins hauts REVISED to 1.50 % MJ: revised to 6cm
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def\maketitle{\par
+ \begingroup
+ \def\thefootnote{\fnsymbol{footnote}}
+ \def\@makefnmark{\hbox
+ to 0pt{$^{\@thefnmark}$\hss}}
+ \twocolumn[\@maketitle]
+ \@thanks
+ \endgroup
+ \setcounter{footnote}{0}
+ \let\maketitle\relax
+ \let\@maketitle\relax
+ \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
+
+\def\@maketitle{\vbox to 6cm{\hsize\textwidth
+ \linewidth\hsize \vfil \centering
+ {\LARGE \@title \par} % Title set in \LARGE size. MJ: correction
+ % de la correction
+ \vskip 2em % Vertical space after title.
+ {\large \begin{tabular}[t]{c}\@author \end{tabular}\par}
+ \vskip 2em % MJ: leave at least that place after authors
+ \vfil}}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%% fin du hack %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% The \copyrightspace command is used to produce a blank space in the first
+% column where a copyright notice belongs. It works by producing a
+% blank footnote of the appropriate size. Note that it should appear
+% after any \footnote commands that produce footnotes for the first
+% column.
+
+% modified from 97pt to .75in, to satisfy acm requirement [0]
+% changed to 1in after \advance'ing\textheight by 5mm
+\def\copyrightspace{\footnotetext{\mbox{}\vrule height 1in width 0pt}}
+
+% Section commands changed (smaller font, smaller spaces around) 900403/BjL
+
+\def\section{\@startsection {section}{1}{\z@}{-3.25ex plus -1ex minus
+-.2ex}{1.5ex plus .2ex}{\bf}}
+
+\def\subsection{\@startsection{subsection}{2}{\z@}{-3.25ex plus -1ex minus
+ -.2ex}{1.5ex plus .2ex}{\bf}}
+
+\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-3.25ex plus
+-1ex minus -.2ex}{1.5ex plus .2ex}{\bf}}
+
+% The abstract Environment (changed 900403/BjL)
+
+\def\abstract{\section*{ABSTRACT}}
+\def\endabstract{\par}
+
+% Bibliography 900403/BjL
+
+\def\thebibliography#1{\section*{REFERENCES\@mkboth
+ {REFERENCES}{REFERENCES}}\list
+ {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}\leftmargin\labelwidth
+ \advance\leftmargin\labelsep
+ \usecounter{enumi}}
+ \def\newblock{\hskip .11em plus .33em minus .07em}
+ \sloppy\clubpenalty4000\widowpenalty4000
+ \sfcode`\.=1000\relax}
+
+% Table of contents 900403/BjL
+
+\def\tableofcontents{\section*{CONTENTS\@mkboth{CONTENTS}{CONTENTS}}
+ \@starttoc{toc}}
+
+% List of figures 900403/BjL
+
+\def\listoffigures{\section*{LIST OF FIGURES\@mkboth
+ {LIST OF FIGURES}{LIST OF FIGURES}}\@starttoc{lof}}
+
+% List of tables 900403/BjL
+
+\def\listoftables{\section*{LIST OF TABLES\@mkboth
+ {LIST OF TABLES}{LIST OF TABLES}}\@starttoc{lot}}
+
+% Index 900403/BjL
+
+\def\theindex{\@restonecoltrue\if@twocolumn\@restonecolfalse\fi
+\columnseprule \z@
+\columnsep 35pt\twocolumn[\section*{INDEX}]
+ \@mkboth{INDEX}{INDEX}\thispagestyle{plain}\parindent\z@
+ \parskip\z@ plus .3pt\relax\let\item\@idxitem}
+
+
+% ****************************************
+% * INITIALIZATION *
+% ****************************************
+%
+% Default initializations
+
+\twocolumn
+\sloppy
+\parindent 1em
+\leftmargini 2em
+\leftmargin\leftmargini
+\leftmarginv .5em
+\leftmarginvi .5em
+\flushbottom