1@Appendix
2    @Title { Lout Quick Reference Guide }
3@Begin
410p @Font 1.15fx @Break @OneCol
5@Tab @Fmta { @Col 20c @Wide A ! @Col 20c @Wide B }
6{
7@Rowa A {
8@Heading { 1.  Running Lout }
9@LD @Code {
10"lout filename > postscript.ps"
11}
12
13@LP
14@Heading { 2.  Ordinary documents (simple form) }
15@LD @Code {
16"@SysInclude { doc }"
17"@Doc @Text @Begin"
18"..."
19"@End @Text"
20}
21
22@LP
23@Heading { 3.  Ordinary documents (full form) }
24@LD @Code {
25"@SysInclude { doc }"
26"@Document"
27"    @InitialFont { Times Base 12p }"
28"    @InitialBreak { adjust 1.2fx hyphen }"
29"    @InitialLanguage { English }"
30"    @FirstPageNumber { 1 }"
31"    @ColumnNumber { 1 }"
32"    @PageOrientation { Portrait }"
33"//"
34"@Text @Begin"
35"..."
36"@BeginSections"
37"@Section ... @End @Section"
38"@EndSections"
39"@End @Text"
40}
41
42@LP
43@Heading { 4.  Technical reports }
44@LD @Code {
45"@SysInclude { report }"
46"@Report"
47"    @Title { ... }"
48"    @Author { ... }"
49"    @Institution { ... }"
50"    @DateLine { No }"
51"    @CoverSheet { Yes }"
52"    @InitialFont { Times Base 12p }"
53"    @InitialBreak { adjust 1.2fx hyphen }"
54"    @InitialLanguage { English }"
55"    @PageHeaders { Simple }"
56"    @FirstPageNumber { 1 }"
57"    @ColumnNumber { 1 }"
58"    @Abstract { ... }"
59"//"
60"@Section ... @End @Section"
61"@Appendix ... @End @Appendix"
62}
63}
64
65B {
66@Heading { 5.  Large-scale structure symbols }
67@LL
68@LI @Code {
69"@Section"
70"    @Title { ... }"
71"    @Tag { ... }"
72"@Begin"
73"@PP"
74"..."
75"@End @Section"
76}
77@LI lines @Break {
78@Code "@Section / @SubSection / @SubSubSection"
79@Code "@Appendix / @SubAppendix / @SubSubAppendix"
80@Code "@BeginSubSections" ... @Code "@EndSubSections" if inner.
81}
82@EndList
83
84@LP
85@Heading { 6.  Cross references }
86@LD @Tab
87    @Fmta { @Col @Code A ! @Col ! @Col @Code B }
88{
89@Rowa
90    A { "@Tag { foo }" }
91    B { "@PageOf foo" }
92@Rowa
93    A { "@PageMark foo" }
94    B { "@NumberOf foo" }
95}
96
97@LP
98@Heading { 7.  Font changes }
99@LL
100@LI @Tab
101    @Fmta { @Col @Code A ! @Col @Code B }
102    vmargin { 0.5vx }
103{
104@Rowa
105    A { "@B { bold font }" }
106    B { "@I { italic font }" }
107@Rowa
108    A { "@BI { bold-italic font }" }
109    B { "@R { Roman font }" }
110@Rowa
111    A { "@S { small-caps font}" }
112    B { "@F { fixed-width font }" }
113@Rowa
114    B { "@II { italic bold or Roman }" }
115}
116@LI @Code {
117"{ family face size } @Font { ... }"
118}
119@LI @Code {
120"Times  Helvetica  Courier  ..."
121"Base  Slope  Bold  BoldSlope  ..."
122"10p  12p  +2p  -2p  2.0f  ..."
123}
124@EndList
125
126@LP
127@Heading { 8.  Paragraph breaking styles }
128@LL
129@LI @Code {
130"{ breakstyle linesep hyphen } @Break { ... }"
131}
132@LI @Code {
133"adjust  ragged  lines  clines  ..."
134"1.2fx  2vx  0.9vx  ..."
135"hyphen  nohyphen"
136}
137@EndList
138
139@LP
140@Heading { 9.  New paragraph and new page }
141@LD @Tab
142    @Fmta { @Col @Code A ! @Col B }
143    vmargin { 0.5vx }
144{
145@Rowa A { "@PP"  } B { Plain paragraph }
146@Rowa A { "@LP"  } B { Left paragraph }
147@Rowa A { "@LLP" } B { New line }
148@Rowa A { "@DP"  } B { Display paragraph }
149@Rowa A { "@NP"  } B { New page }
150@Rowa A { "@CNP" } B { Conditional new page }
151}
152}
153
154} # end first table
155@LP
15610p @Font 1.15fx @Break @OneCol
157@Tab @Fmta { @Col 20c @Wide A ! @Col 20c @Wide B }
158{
159@Rowa A {
160@Heading { 10.  Displays and headings }
161@LL
162@LI @Code {
163"@CD @Heading { A centred heading }"
164"@ID { An indented display }"
165}
166@LI @Tab
167    @Fmta { @Col @Code A ! @Col @Code B }
168    vmargin { 0.5vx }
169{
170@Rowa A { "@D"  } B { "@Display" }
171@Rowa A { "@LD" } B { "@LeftDisplay" }
172@Rowa A { "@ID" } B { "@IndentedDisplay" }
173@Rowa A { "@QD" } B { "@QuotedDisplay" }
174@Rowa A { "@CD" } B { "@CentredDisplay" }
175@Rowa             B { "@CenteredDisplay" }
176@Rowa             B { "@RightDisplay" }
177}
178@EndList
179
180@LP
181@Heading { 11. Lists}
182@LL
183@LI @Code {
184"@List"
185"@ListItem { A list item }"
186"@ListItem { Another list item }"
187"@EndList"
188}
189@LI @Tab
190    @Fmta { @Col @Code A ! @Col @Code B }
191    vmargin { 0.5vx }
192{
193@Rowa
194    A { "@L" }
195    B { "@List" }
196@Rowa
197    A { "@LL" }
198    B { "@LeftList" }
199@Rowa
200    A { "@IL" }
201    B { "@IndentedList" }
202@Rowa
203    A { "@QL" }
204    B { "@QuotedList" }
205@Rowa
206    A { "@CL" }
207    B { "@CentredList" }
208@Rowa
209    B { "@CenteredList" }
210@Rowa
211    A { "@NL" }
212    B { "@NumberedList" }
213@Rowa
214    A { "@RL" }
215    B { "@RomanList" }
216@Rowa
217    A { "@UCRL" }
218    B { "@UCRomanList" }
219@Rowa
220    A { "@AL" }
221    B { "@AlphaList" }
222@Rowa
223    A { "@UCAL" }
224    B { "@UCAlphaList" }
225@Rowa
226    A { "@PNL" }
227    B { "@ParenNumberedList" }
228@Rowa
229    A { "@PRL" }
230    B { "@ParenRomanList" }
231@Rowa
232    A { "@PUCRL" }
233    B { "@ParenUCRomanList" }
234@Rowa
235    A { "@PAL" }
236    B { "@ParenAlphaList" }
237@Rowa
238    A { "@PUCAL" }
239    B { "@ParenUCAlphaList" }
240@Rowa
241    A { "@BL" }
242    B { "@BulletList" }
243@Rowa
244    A { "@SL" }
245    B { "@StarList" }
246@Rowa
247    A { "@DL" }
248    B { "@DashList" }
249}
250@LI @Code {
251"@TaggedList"
252"@TagItem { label } { A list item }"
253"@TagItem { label } { Another list item }"
254"@EndList"
255}
256@LI @Tab
257    @Fmta { @Col @Code A ! @Col @Code B }
258    vmargin { 0.5vx }
259{
260@Rowa
261    A { "@TL" }
262    B { "@TaggedList" }
263@Rowa
264    A { "@WTL" }
265    B { "@WideTaggedList" }
266@Rowa
267    A { "@VWTL" }
268    B { "@VeryWideTaggedList" }
269}
270@EndList
271
272@LP
273@Heading { 12.  Footnotes, endnotes, margin notes }
274@LD @Tab
275    @Fmta { @Col @Code A ! @Col @Code B }
276    vmargin { 0.5vx }
277{
278@Rowa
279    A { "@FootNote { ... }"  }
280    B { "@EndNote { ... }"   }
281@Rowa
282    A { "@LeftNote { ... }"  }
283    B { "@RightNote { ... }" }
284@Rowa
285    A { "@OuterNote { ... }" }
286    B { "@InnerNote { ... }" }
287}
288}
289
290B {
291@Heading { 13.  Floating figures and tables }
292@LD @Tab
293    @Fmta { @Col @Code A ! @Col ! @Col ! @Col @Code B }
294{
295@Rowa
296    A {
297"@Figure"
298"    @Caption { ... }"
299"    @Tag { ... }"
300"@Begin"
301"..."
302"@End @Figure"
303}
304    B {
305"@Table"
306"    @Caption { ... }"
307"    @Tag { ... }"
308"@Begin"
309"..."
310"@End @Table"
311}
312}
313
314@LP
315@Heading { 14.  Tables }
316@LD @Code {
317"@SysInclude { tbl }"
318"@SysInclude { doc }"
319"..."
320"@Tbl"
321"    aformat { @Cell A | @Cell B }"
322"    marginvertical { 0.5vx }"
323"{"
324"@Rowa"
325"    A { ... }"
326"    B { ... }"
327"@Rowa"
328"    ..."
329"}"
330}
331
332@LP
333@Heading { 15.  Equations }
334@LD @Code {
335"@SysInclude { eq }"
336"@SysInclude { doc }"
337"..."
338"@Eq { sum from i=0 to n { r sup i over sqrt pi } }"
339}
340
341@LP
342@Heading { 16.  Basic graphics }
343@LD @Code {
344"grey @Colour { ... }"
345"gray @Color { ... }"
346"@Box { ... }"
347"@CurveBox { ... }"
348"@ShadowBox { ... }"
349"60d @Rotate { ... }"
350"0.71 @Scale { ... }"
351"@QuotedDisplay @Scale { ... }"
352"@IncludeGraphic filename.eps"
353}
354
355@LP
356@Heading { 17.  Miscellaneous }
357@LD lines @Break {
358@Code "@Underline { will be underlined }"
359@Code "@Date"
360@Code "@Time"
361@Code "German @Language { ... }"
362@Code "\# comment to end of line"
363@Code "\"#&/@^{}|~\""   (enclose these characters in quotes)
364}
365}
366} # end second table
367@End @Appendix
368