|
| 1 | +%% 19monitor.tex |
| 2 | +%% Introduction to Network UPS Tools (NUT) |
| 3 | +%% Configuration Examples, formatted for ISO A4 paper, |
| 4 | +%% to be read on a landscape 19" monitor |
| 5 | + |
| 6 | +%% This program is free software; you can redistribute it and/or |
| 7 | +%% modify it under the terms of the GNU General Public License |
| 8 | +%% as published by the Free Software Foundation; either version 2 |
| 9 | +%% of the License, or (at your option) any later version. |
| 10 | + |
| 11 | +%% This program is distributed in the hope that it will be useful, |
| 12 | +%% but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | +%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | +%% GNU General Public License for more details. |
| 15 | + |
| 16 | +%% You should have received a copy of the GNU General Public License |
| 17 | +%% along with this program; if not, write to the Free Software |
| 18 | +%% Foundation, Inc., 59 Temple Place - Suite 330, |
| 19 | +%% Boston, MA 02111-1307, USA. |
| 20 | + |
| 21 | +% Page size |
| 22 | +% A3 paper: 297x420mm |
| 23 | +% A4 paper: 210x297mm => 146.5x246.2mm useful space |
| 24 | +% US paper: 215.9x279.4mm => 152.4x228.6 useful space |
| 25 | +% Landscape A4 See LaTeX Companion p.84, fig 4.1. |
| 26 | +% Monitor size |
| 27 | +% 17 inch 4:3 350x260mm, 16:9 380x210mm |
| 28 | +% 19 inch 4:3 390x290mm, 16:9 420x240mm |
| 29 | +% 21 inch 4:3 430x320mm, 16:9 440x260mm |
| 30 | +% 23 inch 4:3 470x350mm, 16:9 510x290mm |
| 31 | +\setlength{\hoffset}{-25.4mm} % See the Companion p.86. +ve axis to the right |
| 32 | +\addtolength{\hoffset}{-4mm} % Slide page image a little to the left |
| 33 | +\setlength{\voffset}{-25.4mm} % +ve axis downwards |
| 34 | +\addtolength{\voffset}{-4mm} % Raise page image just a little more |
| 35 | + |
| 36 | +\setlength{\textwidth}{390mm} |
| 37 | +\setlength{\paperwidth}{\textwidth} |
| 38 | +\setlength{\pdfpagewidth}{\textwidth} |
| 39 | +\addtolength{\textwidth}{-20mm} |
| 40 | + |
| 41 | +\setlength{\textheight}{240mm} |
| 42 | +\setlength{\paperheight}{\textheight} |
| 43 | +\setlength{\pdfpageheight}{\textheight} |
| 44 | +\addtolength{\textheight}{-30mm} |
| 45 | + |
| 46 | +\setlength{\columnsep}{15mm} |
| 47 | +%\setlength{\columnseprule}{1pt} |
| 48 | +\setlength{\topmargin}{3mm} |
| 49 | +\addtolength{\headsep}{-1mm} % See Companion, p.85 |
| 50 | +\addtolength{\footskip}{-1mm} |
| 51 | + |
| 52 | +% The LinePrinter print width |
| 53 | +\newlength{\LinePrinterwidth} |
| 54 | +\setlength{\LinePrinterwidth}{145.5mm} % 0.5(\textwidth-\columnsep)-32mm |
| 55 | + |
0 commit comments