summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/eplain/base/test/margin.tex
blob: 8275e543326ced54b8c5ce009c3b00b112f80ce9 (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
% This file is public domain.
%
\input marg

\headline = {headline with descender: p\hfil}
\parindent = 0pt

% Assigning to \topskip increases the space at the top of the page,
% between the headline and the text.
% 
%\topskip = .5in


\topmargin = 3in	\leftmargin = 3in
\bottommargin = 3in	\rightmargin = 3in

This is the first line of text.  The top of it should be 3in from the
top of the paper.
\vfill
This is in the middle. The left margin should be three inches, and so
should the right margin (on the whole page, not just here, of course).
\vfill
The last line's baseline should be 3in from the bottom. 
(This page tested assignments that increase the margins.)
\eject


\advancetopmargin by -1in	\advanceleftmargin by -1in
\advancebottommargin by -1in	\advancerightmargin by -1in

This is the first line of text.  The top of it should be 2in from the
top of the paper.
\vfill
This is in the middle.  The left and right margins should be two inches
each.
\vfill
The last line's baseline should be 2in from the bottom. 
(This page tested advances that decreased the margins.)
\eject


\topmargin = .5in	\leftmargin = .5in
\bottommargin = .5in	\rightmargin = .5in

This is the first line of text.  The top of it should be .5in from the
top of the paper.
\vfill
This is in the middle.  The left and right margins should be .5in each,
just as you might expect by now, if you've been reading.
\vfill
The last line's baseline should be .5in from the bottom. 
(This page tested assignments that decreased the margins.)
\eject


\advancetopmargin by 1in	\advanceleftmargin by 1in
\advancebottommargin by 1in	\advancerightmargin by 1in

This is the first line of text.  The top of it should be 1.5in from the
top of the paper.
\vskip0pt plus1filll
I bet you can guess what the left and right margins should be: yup,
1.5in.  Let's make this line a little longer, so it will actually hit
the margin.
\vskip0pt plus1filll
The last line's baseline should be 1.5in from the bottom.
(This page tested assignments that increased the margins.)
\end