aboutsummaryrefslogtreecommitdiff
path: root/fmt/doc.h
blob: 5f2f98b5cc07fb42b5e44d5aa940a68f525f0df6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
% Generic format file pulled out from format.tex

\input fmt/font.h

%% Fonts
\font\fourteenbf=ptmb at 14pt
\font\fourteenrm=ptmr at 14pt
\font\twelverm=ptmr at 12pt

\twelverm

\spacing=120

%% Sectioning
\def\titlesub#1#2{\centerline{\fourteenbf #1}\centerline{#2}\bigskip}
\def\section#1{\bigskip\vskip .2\hsize\goodbreak\vskip -.2\hsize\noindent{\fourteenbf #1:}\par}

%% Table
\def\make#1{\hskip3pt\hfil #1\hfil\hskip3pt\vrule height 12pt depth 2pt\relax}
\def\table#1{
  \halign{\vrule\make{##}&&\make{##}\cr\noalign{\hrule}
    #1
  }
}
%% Pictures


\def\pic#1#2{\pdfximage width #1{#2}\pdfrefximage\pdflastximage}
\def\picture#1#2{\vbox{\centerline{\pic{5in}{#1}}\caption{#2}}}
\def\twopicture#1#2#3{\vbox{\line{\pic{3in}{#1}\hfil\pic{3in}{#2}}\caption{#3}}}
\def\dubpicture#1#2#3#4{\line{\hsize=2.5in\parindent=0pt\vtop{\pic{3in}{#1}\caption{#3}}\hfil\vtop{\pic{3in}{#2}\caption{#4}}}}