| 1 |
% header.tex |
| 2 |
% instead of \usepackage[cm]{fullpage} (letter size): |
| 3 |
\setlength{\topmargin}{-29.59087pt} |
| 4 |
\setlength{\headheight}{0pt} |
| 5 |
\setlength{\headsep}{0pt} |
| 6 |
\setlength{\textheight}{679.61174pt} |
| 7 |
\setlength{\footskip}{30.0pt} |
| 8 |
\setlength{\textwidth}{528.93675pt} |
| 9 |
\setlength{\oddsidemargin}{-29.59087pt} |
| 10 |
\setlength{\evensidemargin}{\oddsidemargin} |
| 11 |
|
| 12 |
% To test a new installation, all but one of the diagram inclusions |
| 13 |
% below might be commented out, and re-introduced one by one. |
| 14 |
|
| 15 |
\newcommand{\src}[1]{{\tt [#1]}} |
| 16 |
\newcommand{\makepic}{\box\graph} % Required only for gpic -t |
| 17 |
%\newcommand\scriptstack[2][c]{\hbox{\scriptsize\shortstack[#1]{#2}}}% |
| 18 |
\newbox\graph |
| 19 |
|
| 20 |
\newif\ifmpost |
| 21 |
\newif\ifpst |
| 22 |
\newif\ifpdfl |
| 23 |
\newif\ifpgf |
| 24 |
\newif\ifpostscript |
| 25 |
|
| 26 |
\newcommand{\getpic}[1]{% |
| 27 |
\ifpst |
| 28 |
\input #1 \makepic |
| 29 |
\else\ifpgf |
| 30 |
\input #1 |
| 31 |
\else\ifmpost |
| 32 |
\includegraphics[trim=1 1 1 1]{#1.1}% |
| 33 |
\else\ifpdfl |
| 34 |
\includegraphics[trim=1 1 1 1]{#1} |
| 35 |
\else\ifpostscript% |
| 36 |
\includegraphics{#1.eps}% |
| 37 |
\fi\fi\fi\fi\fi} |
| 38 |
|
| 39 |
% Left-justified captions to be used in parbox |
| 40 |
\makeatletter |
| 41 |
\def\caption#1{% |
| 42 |
\vskip\abovecaptionskip |
| 43 |
\refstepcounter{figure} |
| 44 |
\sbox\@tempboxa{{Figure \arabic{figure}: #1}}% |
| 45 |
\ifdim \wd\@tempboxa >\hsize |
| 46 |
{Figure \arabic{figure}: #1}\par |
| 47 |
\else |
| 48 |
\global \@minipagefalse |
| 49 |
\hb@xt@\hsize{\box\@tempboxa\hfil}% |
| 50 |
\fi |
| 51 |
\vskip\belowcaptionskip} |
| 52 |
\makeatother |
| 53 |
|
| 54 |
\newcommand{\bfig}[1]{\vspace{5ex}\noindent\parbox{\textwidth}{#1}} |