% LATEX ARTICLE DOCUMENT STYLE % Modifications et ajout de macros. Pierre L'Ecuyer. \ProvidesPackage{apidoc}[2004/08/07 TCode API documentation] \topmargin=-0.5in\oddsidemargin=0pt\topskip=\baselineskip \headsep=0pt\headheight=0.5in \renewcommand{\topfraction}{.90} \renewcommand{\bottomfraction}{.80} \renewcommand{\textfraction}{.10} \textwidth=6.5 true in\textheight=8.9 true in \tolerance=500 \parskip=.1in plus .1in minus .04in %\def\thesection {\arabic{section}.} %\def\thesubsection {\thesection\arabic{subsection}.} %\def\thesubsubsection {\thesubsection\arabic{subsubsection}.} %\def\theparagraph {\thesubsubsection\arabic{paragraph}.} %\def\thesubparagraph {\theparagraph\arabic{subparagraph}.} %\def\@thmcounter#1{\noexpand\arabic{#1}.} \def\fps@figure {hbtp} \def\fps@table {hbtp} \def\thebibliography#1{\section*{References\markboth {REFERENCES}{REFERENCES}}\list {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}\leftmargin\labelwidth \advance\leftmargin\labelsep\usecounter{enumi}}} \def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi \def\@citea{}\@cite{\@for\@citeb:=#2\do {\@citea\def\@citea{, }\@ifundefined {b@\@citeb}{{\bf ?}\@warning {Citation `\@citeb' on page \thepage \space undefined}}% \hbox{\csname b@\@citeb\endcsname}}}{#1}} \def\abstract{\if@twocolumn \section*{Abstract} \else \small \begin{center}{\bf ABSTRACT\vspace{-.5em}\vspace{0pt}}\end{center} \quotation\fi} \def\inc#1{\@partswtrue\edef\@partlist{#1}} % Pour avoir "running head" et no. de page en haut de page, faire \mytwoheads % Si on veut la date en haut de chaque page, on fait aussi \dateheadtrue \newif\ifdatehead\dateheadfalse \def\ps@apidocheadings {\ps@headings \topmargin=-0.4in\headheight=0.2in\headsep=0.4in \oddsidemargin=0.2in\evensidemargin=0in \def\@evenhead {{\large\bf\thepage}\quad\leftmark\hfil \ifdatehead\small\it\today\fi}% Left heading \def\@oddhead {\ifdatehead{\small\it\kern-1em\today}\fi\hfil \rightmark\quad\large\bf\thepage}}% Right heading \setcounter{secnumdepth}{-2}