\filename{junk.tex}
\edited{last by stolfi on Tue Apr 21 03:37:36 1987}

% Junk from my tex formats

\junked{From a10format.tex on  Tue Apr 16 14:57:34 1985:}

  % Dimensional parameters

    % Page dimensions

      \pagewidth=440pt

      \topinsertsep=10pt
      \maxdepth=4pt
      \splitmaxdepth=\maxdimen
      \boxmaxdepth=\maxdimen

      \hoffset=20pt
      % \voffset=0pt

    % Baseline distances

      % \baselinesep=0pt, changed by \normalbaselines
      % \linesep=0pt, changed by \normalbaselines
      % \lineseplimit=0pt, changed by \normalbaselines

      {\bigTXrmfont % big size roman text font
       \global\bigbaselinesep=2.6ex plus 0.3ex
       \global\biglinesep=0.2ex plus 0.2ex
       \global\bigparsep=0.85ex plus 0.2ex}

      {\norTXrmfont % normal size roman text font
       \global\normalbaselinesep=2.6ex plus 0.3ex
       \global\normallinesep=0.2ex plus 0.2ex
       \global\normalparsep=0.85ex plus 0.2ex}

      {\smaTXrmfont % small size roman text font
       \global\smallbaselinesep=2.6ex plus 0.3ex
       \global\smalllinesep=0.2ex plus 0.2ex
       \global\smallparsep=0.85ex plus 0.2ex}

      {\norTXrmfont
       \global\abovedisplaysep=1.5ex plus 0.5ex minus 0.3ex
       \global\abovedisplayshortsep=0ex plus 0.5ex
       \global\belowdisplaysep=1.5ex plus 0.5ex minus 0.3ex
       \global\belowdisplayshortsep=1ex plus 0.5ex minus 0.7ex}

      \jot=3pt

    % Paragraph format

      {\norTXrmfont
       \global\parindent=0em}

      \leftglue=0pt
      \rightglue=0pt
      \mathsurround=0pt
      \tabglue=0pt
      \spaceglue=0pt
      \xspaceglue=0pt
      \parfillglue=0pt plus 1fil

      % \hangindent=0pt, zeroed by TeX after each paragraph
      % \predisplaysize=0pt, set before TeX enters $$

      \textwidth=440pt
      \textheight=640pt
      \textindentglue=20pt % indentation of indented paragraphs

    % Titles etc.

      \font\titlefont=ambx10 scaled\magstep2
      \font\headerfont=amcsc10 scaled\magstephalf
      \font\secfont=amssbx10 scaled\magstep1
      \font\subsecfont=amssbx10 scaled\magstephalf \relax

      \abstrwidth=0.9\textwidth

    %  Top/Bottom/Mid/Full-page inserts

      \glue\botins=6pt % space before 1st botinsert
      \botinsertsep=0.5\normalbaselinesep % extra glue between botinserts

      \glue\topins=\z@glue % no extra space added when a topinsert is present
      \topinsertsep=0.5\normalbaselinesep % extra glue between topinserts

    % Figures

      \omitfiguresfalse
      \figcapwidth=0.75\textwidth % width of figure captions
      \mfigwidth=0.30\textwidth % width of marginal figures

    % Footnotes

      \footindent=10pt % left indentation of footnotes
      \footfigwidth=0.25\textwidth % width of marginal figures

    % References

      {\norTXrmfont
       \global\refindent=3em     % indentation of reference body
       \global\refremindent=4em % indentation of reference remarks
       \global\refvglue=2ex      % vglue between references
       }

    % Theorems & proofs

      \theostatindent=20pt  % indentation of theorem statements
      \proofindent=10pt  % indentation of proofs

\junked{From a10format.tex on  Tue Apr 16 14:57:56 1985:}

  % Algorithm format parameters

    \algindent=20pt % indentation of outermost bracket
    \algthickness= 0.6pt   % thickness of block brackets
    \alglevelindent = 16pt % extra indent. per level (incl. \algthickness)
    \algstepindent = 15pt  % indent. of \step text rel. to innermost bracket
    \algcommindent = 15pt % indent. of \comm text rel. to innermost bracket
    \algcontindent = 0pt   % extra indentation of continuation lines
    \algstepnoglue = 2pt   % space between step number and step text
    \algvsep=3pt % extra space between steps (will not stretch)


\junked{From a10format.tex on  Tue Apr 16 14:58:02 1985:}

  % Program format parameters

    \def\kw{\bf} % keyword font

    \progindent=20pt % indentation of outermost bracket
    \progthickness = 0.6pt  % thickness of block brackets
    \proglevelindent = 12pt % extra indent. per level (incl. \progthickness)
    \progstepindent = 4pt   % indent. of \step text rel. to innermost bracket
    \progcommindent = 4pt  % indent. of \comm text rel. to innermost bracket
    \progcontindent = 8pt   % extra indentation of continuation lines
    \progvsep = 2pt % extra separation between steps


\junked{From hacks.tex on  Tue Apr 16 15:55:06 1985:}

  % reference format

  \def\ref [#1]{\par\penalty-400\vskip0pt plus3pt
    \vskip \refvglue
    \noindent\hangindent=\refindent \hangafter=1
    $\hbox to \refindent{[#1]\hskip0.5em plus1fil}$}
  
  \def\auth#1{\unskip {\rm #1}}
  \def\tit#1{\unskip\unskip, {\it #1}}
  \def\pub#1{\  {\rm #1}}
  
  % comments in algorithms

    \long\def\algc@mment#1{\algit@m\algcommindent{
      \smallsize\it\hmode\strut $\{$#1\/$\}$\strut}}

  % \= (assignment in programs)

    \def\={{\tt\hbox to 1em{\hss\sy\char'040\hss}}}


\junked{From twosidedmacros.tex on  Thu Jan 16 19:18:48 1986:}

  \def\inv#1{\mathaccent"3220{#1}}     % inverse of function


\junked{From papermacros.tex on  Mon Jan 20 12:16:21 1986:}

    
    \def\note#1{{{\bf [note:} #1{\bf ]}}} % for annotations to manuscript
    \def\move#1{{{\bf [move this:} #1{\bf ]}}} % things to be moved
    \def\fix#1{{{\bf [fix this:} #1{\bf ]}}} % things to be fixed
    \def\junked#1{{{\bf [JUNK:} #1{\bf ]}}} % garbage kept just in case


\junked{From thesismacros.tex on  Thu Jan 23 03:29:10 1986:}

% Determinants (note: different from geomacros of Tue Mar 26 19:06:41 1985;
%  Change that?

  % Matrices:

    \def\matrix#1{\vcenter{\resetlinesep\m@th
        \hrule height0pt\kern0.1\baselinesep
        \ialign{\hfil$ ## $\hfil&& \quad\hfil$ ## $\hfil\crcr
          \mathstrut\crcr\noalign{\kern-\baselinesep}
          #1\crcr
          \mathstrut\crcr\noalign{\kern-\baselinesep}
         }
         \kern0.1\baselinesep
       }}

\junked{From cmbasic11fonts.tex on  Tue Apr 21 03:36:40 1987:}

    \setbox0=\hbox{\norBAexfont B} \p@renwd=\wd0  %  Large parenthesis width


\junked{From tagmacros.tex on  Fri Aug 21 03:32:23 1987:}

    \def\tag@mitchapter#1:{\futurelet\next\tagom@@}
    \def\tagom@@{
      \ifx\next\endt@g 
        #1
      \else
      \fi


\junked{From sectionmacros.tex on  Sun Sep 20 23:46:56 1987:}

    \def\partheader#1#2{
      \vbox to 0.7\vsize{\chapstyle\raggedleft\vfil #1\par #2\par \vfil} 
      \vfill\eject
      }


\junked{From sectionmacros.tex on  Sun Sep 20 23:47:19 1987:}

    \outer\def\part#1#2{
      \shorttitle{#1. #2}
      \gdef\parttag{#1}
      \partheader{Part #1}{#2}
      }


\junked{From sectionmacros.tex on  Sun Sep 20 23:47:28 1987:}

    % Beginning of part. Usage: \part{tag}{Title}
    
    \outer\def\part#1#2{
      \shorttitle{#1. #2}
      \gdef\parttag{#1}
      \partheader{Part #1}{#2}
      }

