| 1 |
% This is A4C.TEX, a TeX macro file for WEB written by Hans-Hermann Bode |
| 2 |
% ([email protected]), that sets up a page layout appropriate for DIN-A4 |
| 3 |
% paper sheets (210 mm x 297 mm). |
| 4 |
% |
| 5 |
% The text is horizontally centered with margins of 2 cm left and right. |
| 6 |
% |
| 7 |
% It is assumed, that the DVI driver sets margins of 1 in left and top. |
| 8 |
% |
| 9 |
% Version Date Author Comment |
| 10 |
% 1.00 08 Sep 1991 H2B First version |
| 11 |
% 1.00a 28 Sep 1991 H2B Correction: missing setpage included |
| 12 |
|
| 13 |
\pagewidth21cm % full paper |
| 14 |
\fullpageheight29.7cm |
| 15 |
|
| 16 |
\hoffset2cm % left margin |
| 17 |
\pageshift0cm % additionally for odd-numbered pages |
| 18 |
\voffset2cm % top margin |
| 19 |
|
| 20 |
\advance\pagewidth by-2\hoffset % minus margins |
| 21 |
\advance\pagewidth by-2\pageshift % minus extra margins |
| 22 |
\advance\fullpageheight by-2\voffset % minus margins |
| 23 |
|
| 24 |
\pageheight\fullpageheight % full text |
| 25 |
\advance\pageheight by-0.3in % minus header |
| 26 |
|
| 27 |
\advance\hoffset by-1in % compensate the driver margins |
| 28 |
\advance\voffset by-1in |
| 29 |
|
| 30 |
\setpage % tell TeX new dimensions |