summaryrefslogtreecommitdiff
path: root/macros/text1/cms_help_files/aif.helpmark
blob: 17657f596f8a99356453a22510d16d6d75e5cf9f (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
+-----------------------------------------------------------------------------+
|                                 asisformat                                  |
+-----------------------------------------------------------------------------+
 
Abbreviation:  ã|\aifã%
 
Parameters:    ã|submarkupã%
 
Submarkup:     ã|\skipbefore, \everyasis, \skipafterã%
 
    ã|Description:ã%
The \asisformat markup allows you to  modify the "as is" block.  The "as is"
markup skips 1 blank  line (a baseline) before and after  the series.  There
is no indentation from the left.
 
\skipbefore   indicates how much  space is to  be skipped  before printing a
block.  This amount is in addition to any paragraph skips.  The default skip
is 6pt.  If you are using \monospace, the default skip is 1\bl.
 
\everyasis{Nested Markup}  determines how the 'as is' text is printed.  This
submarkup is  only valid  within the  asisformat markup.   Spacing  and font
changes  are allowed,  but not  justification,  right indentation,  or other
paragraph information.
 
\skipafter   indicates  how much  space is  to be  skipped after  printing a
block.  This amount is in addition to any paragraph skips.  The default skip
is 6pt.  If you are using \monospace, the default skip is 1\bl.
 
    ã|Example:ã%
In this example,  the "as is" text  is to be indented 7  picas from the left
margin, the  text is  to be printed  in ten  point typewriter,  and 4 points
skipped before and after.
 
\asisformat{\skipbefore{4pt}
       \everyasis{\leftindent{7pc}\tenpt\tt}
             \skipafter{4pt}}
 
Consider my favorite breakfast recipe:
\cl{\bd Muckles}
\asisbegin
3 eggs     beaten
1 cp       cream
1 cp       flour
1/4t       baking powder
1 T        sugar
pinch of salt
 
bacon (optional)
\aie
Heat butter or bacon in frying pan.
Pour all of
the batter into the pan. Cook approximately
10 minutes at 375 degrees. Cut into pieces
and serve hot with plenty of syrup.
+-----------------------------------------------------------------------------+
|                                                                             |
|     Consider my favorite breakfast recipe:                                  |
|                                   Muckles                                   |
|                                                                             |
|             3 eggs     beaten                                               |
|             1 cp       cream                                                |
|             1 cp       flour                                                |
|             1/4t       baking powder                                        |
|             1 T        sugar                                                |
|             pinch of salt                                                   |
|             bacon (optional)                                                |
|                                                                             |
|     Heat butter or bacon  in frying pan.  Pour all  of the batter into the  |
| pan.  Cook  approximately 10 minutes at 375 degrees.   Cut into pieces and  |
| serve hot with plenty of syrup.                                             |
+-----------------------------------------------------------------------------+
 
    ã|Notes:ã%
 
The \asisformat  markup must come after  the \monospace markup,  if both are
used.