summaryrefslogtreecommitdiff
path: root/dviware/umddvi/doc/figures.tex
blob: 103258d86a927411d939f332dfbdadc2f0b41c99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
\newcount\fignum
\fignum=1

\def\beginfigure{%
%   \goodbreak			% dunno if I really want this yet
    \midinsert
    \hrule
    \vskip\baselineskip
}

\def\endfigure#1{%
    \vskip\baselineskip		% 1 blank line
    \centerline{Figure \the\fignum: #1} % caption
    \medskip
    \hrule
    \vskip 1.5\baselineskip	% extra space after the line
    \advance\fignum by1
    \endinsert
}