diff options
author | Roland Pesch <pesch@cygnus> | 1991-01-03 16:28:29 +0000 |
---|---|---|
committer | Roland Pesch <pesch@cygnus> | 1991-01-03 16:28:29 +0000 |
commit | bca4316904e02748c96d9c0e5d5a6180a13287cf (patch) | |
tree | 74099d86327fc3698228b53d3b4a55d385364f67 /gdb/doc/threecol.tex | |
parent | 1bc93cb7a02e644499ba4d0318da7c84b868f9e9 (diff) | |
download | gdb-bca4316904e02748c96d9c0e5d5a6180a13287cf.zip gdb-bca4316904e02748c96d9c0e5d5a6180a13287cf.tar.gz gdb-bca4316904e02748c96d9c0e5d5a6180a13287cf.tar.bz2 |
Initial revision
Diffstat (limited to 'gdb/doc/threecol.tex')
-rwxr-xr-x | gdb/doc/threecol.tex | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gdb/doc/threecol.tex b/gdb/doc/threecol.tex new file mode 100755 index 0000000..604101e --- /dev/null +++ b/gdb/doc/threecol.tex @@ -0,0 +1,28 @@ +%Three-column format for landscape printing on 8.5x11 paper +%pesch 1990 december 31 +%We want output .25 inch *from paper edge*; i.e. -.75in from TeX default +\hoffset=-0.8in \voffset=-0.75in +\newdimen\fullhsize +\fullhsize=10.5in \hsize=3.3in +\def\fulline{\hbox to \fullhsize} +\let\lcr=L \newbox\leftcolumn\newbox\centercolumn +\output={\if L\lcr + \global\setbox\leftcolumn=\columnbox \global\let\lcr=C + \else + \if C\lcr + \global\setbox\centercolumn=\columnbox \global\let\lcr=R + \else \tripleformat \global\let\lcr=L + \fi + \fi +% \ifnum\outputpenalty>-20000 \else\dosupereject\fi + } +\def\tripleformat{\shipout\vbox{\fulline{\box\leftcolumn\hskip .2in plus1fil + \box\centercolumn\hskip .2in plus1fil + \columnbox} + } + \advancepageno} +\def\columnbox{\leftline{\pagebody}} +\def\bye{\par\vfill + \supereject + \if R\lcr \null\vfill\eject\fi + \end} |