%  Macros to format Unix-style manual pages
%
%  Anthony Starks
%  ajs@merck.com
%
\emergencystretch=20pt
\leftskip=20pt
%\hsize=5.5in
%\vsize=6in
\parskip=4pt
\parindent=0pt
\newdimen\hangsize
\newdimen\lfsize
\lfsize=20pt
\hangsize=2in
\def\th#1#2{%
  \headline={{\bf #1}\hfil {\rm Nifty Hacks}\hfil {\bf #1}}
  \footline={{\sl Printed \the\month/\the\day/\the\year\hfill\folio}}}
\uchyph=1
\def\sect#1{\medskip\leftline{\bf#1}\medskip\leftskip=\lfsize}
\def\name#1{\medskip\leftline{\bf NAME}\medskip #1\medskip\leftskip=\lfsize}
\def\synopsis#1{\medskip\leftline{\bf SYNOPSIS}\medskip #1\medskip\leftskip=\lfsize}
\def\description{\medskip\leftline{\bf DESCRIPTION}\medskip\leftskip=\lfsize}
\def\see{\medskip\leftline{\bf SEE ALSO}\medskip\leftskip=\lfsize}
\def\bugs{\medskip\leftline{\bf BUGS}\medskip\leftskip=\lfsize}
\def\example{\medskip\leftline{\bf EXAMPLE}\medskip\leftskip=\lfsize}
\def\author{\medskip\leftline{\bf AUTHOR}\medskip\leftskip=\lfsize}
\def\files{\medskip\leftline{\bf FILES}\medskip\leftskip=\lfsize}
\def\tool#1{{\it #1\/}}
\def\file#1{{\tt #1\/}}
\def\opt#1{{\it #1\/}}
\def\itb{{\parindent=.5\hangsize\parskip=6pt\item{$\bullet$}}}
\def\ito#1{\leftskip=\hangsize\item{{\it#1}}}
\def\itoito#1{\leftskip=1.2\hangsize\item{{\bf#1}}}
\def\endoptions{\par\leftskip=\lfsize}
\def\tab{\qquad}
\def\newline{\vskip 2\baselineskip}
\def\computer#1{\medskip\qquad{\tt#1}\medskip}
\def\beginlisting{\begingroup\parindent=.75in\parskip=0pt\obeyspaces\obeylines\tt}
\def\endlisting{\endgroup}
%
