%\filename{commonformat.tex}
%\edited{last by stolfi on Fri May 29 21:34:12 1987}

% TeX 82 macros for single-column paper formats
% To be read after reading \kernelmacros and defining \designsize.

% BASIC FONTS

  \input /udir/stolfi/tex/fontswitchmacros

  \loadfonts{basic}
  \loadfonts{title}
  \loadfonts{ti}
  \loadfonts{bf}

% FONT-DEPENDENT MATH AND TEXT MACROS

  \input /udir/stolfi/tex/cmrmathmacros

  \input /udir/stolfi/tex/cmrtextmacros

% TITLES

  \input /udir/stolfi/tex/paperstyle/titlemacros

% SECTIONS

  \input /udir/stolfi/tex/paperstyle/sectionmacros

% ALGORITHMS

  \input /udir/stolfi/tex/algmacros \relax

% PROGRAMS

  \loadfonts{tt}

  \input /udir/stolfi/tex/progmacros \relax

% THEOREMS

  \input /udir/stolfi/tex/paperstyle/theomacros

% REFERENCES

  \input /udir/stolfi/tex/paperstyle/refmacros

% INSERIONS

  \input /udir/stolfi/tex/paperstyle/insertmacros

% FIGURES

  \input /udir/stolfi/tex/paperstyle/figuremacros

% MARGINAL FIGURES

  \input /udir/stolfi/tex/paperstyle/mfigmacros

% FOOTNOTES

  \input /udir/stolfi/tex/paperstyle/footmacros

% WORKING NOTES

  \input /udir/stolfi/tex/paperstyle/notemacros

% OUTPUT ROUTINE

  \input /udir/stolfi/tex/paperstyle/outputmacros

\catcode`@=11 \endlinechar=-1

% MISCELLANEOUS MACROS

  \message{miscellanea ...}
  
  % Intentional font designators:
    
    \def\em{\it} % emphasis
    \def\dw{\it} % definition instance of new term
    \def\fw{\it} % forward reference to new term

% FORMAT OPTIONS

  \message{format options ...}

    % At least one of these macros should be called after all fonts have
    %   been loaded, and before anything is typeset.

    \def\textformat#1{\input /udir/stolfi/tex/paperstyle/parms/#1 \relax}

    % Obsolete:

    \def\normalformat{\input /udir/stolfi/tex/paperstyle/parms/normal \relax}
    \def\reviewformat{\input /udir/stolfi/tex/paperstyle/parms/review \relax}

% DEFAULT FORMAT

  \textformat{normal}

\catcode`@=12 \endlinechar=`\^^M

% END
