summaryrefslogtreecommitdiff
path: root/obsolete/dviware/dvi2xx/testpage.tex
blob: 393dc86ec96baf781c95428213bd8425b99e44c2 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
% testpage.tex - created 20 July 1987
% Copyright (C) 1987 by Leslie Lamport
%
% Test of how accurately printer reproduces dimensions specified
% by LaTeX output.
%
% Revised by Stephen Gildea to:
% make 10 tic marks instead of 9
% add a long rule through the tics to show the exact edge of the paper
% short tics on right-hand ruler positioned correctly
% some comments added

\documentstyle{article}
\pagestyle{empty}

\oddsidemargin  0pt
\evensidemargin 0pt
\marginparwidth 1in
\marginparsep 0pt

\topmargin 0pt
\headheight 0pt
\headsep 0pt
\topskip 0pt

\footheight 0pt
\footskip 0pt
\textheight 9in
\textwidth 6.5in
\setlength{\unitlength}{1in}
\newcounter{foo}
\begin{document}
\parindent 0pt
\begin{picture}(0,0)
\scriptsize
\put(0,-9){\framebox(6.5,9){}}
% left ruler
\put(0,-4.5){\line(-1,0){2.5}}
\multiput(-.1,-4.6)(-.1,0){10}{\line(0,1){.2}}
\multiput(-.05,-4.55)(-.1,0){10}{\line(0,1){.1}}
\setcounter{foo}{1}\multiput(-.1,-4.35)(-.1,0){9}{\makebox
                                 (0,0){\arabic{foo}}\addtocounter{foo}{1}}
% right ruler
\put(6.5,-4.5){\line(1,0){2.5}}
\multiput(6.6,-4.6)(.1,0){10}{\line(0,1){.2}}
\multiput(6.55,-4.55)(.1,0){10}{\line(0,1){.1}} %fixed mit-erl!gildea 13Feb86
%\multiput(6.55,-4.6)(.1,0){10}{\line(0,1){.1}}
\setcounter{foo}{1}\multiput(6.6,-4.35)(.1,0){9}{\makebox
                                 (0,0){\arabic{foo}}\addtocounter{foo}{1}}
% top ruler
\put(3.25,0){\line(0,1){2.5}}
\multiput(3.15,.1)(0,.1){10}{\line(1,0){.2}}
\multiput(3.2,.05)(0,.1){10}{\line(1,0){.1}}
\setcounter{foo}{1}\multiput(3.4,.1)(0,.1){9}{\makebox
                                 (0,0){\arabic{foo}}\addtocounter{foo}{1}}
% bottom ruler
\put(3.25,-9){\line(0,-1){2.5}}
\multiput(3.15,-9.1)(0,-.1){10}{\line(1,0){.2}}
\multiput(3.2,-9.05)(0,-.1){10}{\line(1,0){.1}}
\setcounter{foo}{1}\multiput(3.4,-9.1)(0,-.1){9}{\makebox
                                 (0,0){\arabic{foo}}\addtocounter{foo}{1}}
\end{picture}
\vfill
\mbox{}\hfill
\begin{minipage}{4in}
The frame on this page should be $6\frac{1}{2}'' \times 9''$.  When
printed on $8\frac{1}{2}'' \times 11''$ paper, the frame should be one
inch from each edge of the paper.\\[10pt]
The rulers at the four edges will indicate how much of the page is
useable.  The large ticks are $.1''$ apart.
\end{minipage}
\hfill\mbox{}

\vfill
\mbox{}
\end{document}