summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/eplain/base/test/justify.tex
blob: 232a69150649f63ce931a1e3e36fb259ca2a986d (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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
% This file is public domain.
%
\input eplain

{\center foo
bar
}

% Changing \parfillskip is OK, since the macros reset it.
%\parfillskip = .75\hsize plus .06\hsize minus .75\hsize
\loggingall

Pre-text.  These should be flush left:
{\flushleft
Here are a few
lines that we are
\vadjust{\bigskip}going to take {\it literally}. (with vadjusted space now)
And a couple more
of them.}

Now we're back to normal.
Now we're back to normal.
Now we're back to normal.
Pre-text.  These should be flush right:

{\it \flushright
Here are a few italic
lines that we are
\vadjust{\bigskip}going to take literally.
And a couple more
of {\bf them.}

In fact, let's do two paragraphs,
this is so much fun.  No, let's make it three.

   For Dan
   ---{\bf k.b.}
}

Now we're back to normal. 
Now we're back to normal. 
Now we're back to normal. 
These should be centered.

{\center
Here are a few
lines that we are
\vadjust{\bigskip}going to take literally.
And a couple more
of them.}

Some centered paragraphs:
{\center
  Here is the first paragraph.
  
  Here is the second.
  
  Here is the third.
}

Now we're back to normal. 
Now we're back to normal. 
Now we're back to normal. 
These should be flush left again (two groups):

{\flushleft
  Here is the first paragraph.
  
  Here is the second.
}

\blanklineskipamount = -.8\baselineskip
{\flushleft
  Here is the first paragraph.
  
  Here is the second.
  
  Here is the third
}

We changed the amount of space between the paragraphs in the second
group so it was less than a full blank line.  Did you notice?

\scrollmode

{\message{Now comes a mysterious error.} \center on first line---what happens?
centered
}

\def\title{\begingroup\center}
\def\endtitle{\endgroup}

\title
this should be centered
by virtue of a macro
\endtitle

Back to normal.

{\center
centered
\message{Now there should be an error:}%
\flushleft % error
}

\bye