blob: f300c05156937eedf39c7c5f44ee7fa2e3bb1033 [file] [log] [blame]
Ashwin Sridharanfd9cc7a2019-04-03 16:47:02 -04001.if false
2==================================================================================
3 Copyright (c) 2019 Nokia
4 Copyright (c) 2018-2019 AT&T Intellectual Property.
5
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17==================================================================================
18.fi
19
20.** macros compatable with the roff/troff and rts imbed files
21.** this is included when generating postscript from the man source.
22
23 .hn off
24 .dv text_size 10p
25 .dv ex_size 8p
26 .dv text_font Helvetica
27 .dv ital_font Helvetica-Oblique
28 .dv bold_font Helvetica-Bold
29 .dv cw_font Courier
30 .st &text_size
31 .sf &text_font
32 .dh 1 f=&bold_font p=12 e=no s=2,1 m=.5i i=0i
E. Scott Daniels4240b8b2019-08-01 10:36:14 -040033 .dh 2 f=&bold_font p=10 s=1,.5 m=.5i i=0i
34 .dh 3 f=&bold_font p=10 s=1,0 m=.5i i=0i
Ashwin Sridharanfd9cc7a2019-04-03 16:47:02 -040035
36 .dv comment .** ignore
37
38 .dv h1 .h1 $1
39 .dv h2 .h2 $1
40 .dv h3 .h3 $1
41
42 .dv fig
43 .dv set_font_cw .sf ^&cw_font
44
45 .dv nf .nf
46 .dv fo .fo
E. Scott Daniels4240b8b2019-08-01 10:36:14 -040047
48 .dv center_start .bc start
49 .dv center_end .bc end
Ashwin Sridharanfd9cc7a2019-04-03 16:47:02 -040050
E. Scott Daniels06e85b72019-08-06 16:29:00 -040051 .dv line_len .ll $1 .dv cn_line_len $1 ^:
Ashwin Sridharanfd9cc7a2019-04-03 16:47:02 -040052 .dv space .sp 1
E. Scott Daniels4240b8b2019-08-01 10:36:14 -040053 .dv mult_space .sp $1
Ashwin Sridharanfd9cc7a2019-04-03 16:47:02 -040054 .dv half_space .sp .5
E. Scott Daniels06e85b72019-08-06 16:29:00 -040055
Ashwin Sridharanfd9cc7a2019-04-03 16:47:02 -040056 .dv beg_list .bl $1
57 .dv end_list .el
E. Scott Daniels06e85b72019-08-06 16:29:00 -040058 .dv lic1 n
59 .dv lic2 m
60 .dv lic3 l
61
Ashwin Sridharanfd9cc7a2019-04-03 16:47:02 -040062 .dv beg_dlist .bd $1 $2
63 .dv end_dlist .ed
E. Scott Daniels06e85b72019-08-06 16:29:00 -040064 .dv ditem .cc 2 .di $1 ^:
65 .dv di .cc 2 .di $1 ^:
66 .dv li .cc 2 .li
67 .dv item .cc 2 .li
Ashwin Sridharanfd9cc7a2019-04-03 16:47:02 -040068
E. Scott Daniels06e85b72019-08-06 16:29:00 -040069 .dv proto_start .sp 1 .cc .5i .st 9 .sf Courier-bold .nf
70 .dv proto_end .fo on .sf ^&text_font .st ^&text_size .sp .3
71
72 .dv ex_start .sp .5 .st ^&ex_size .sf ^&cw_font .nf
Ashwin Sridharanfd9cc7a2019-04-03 16:47:02 -040073 .dv ex_end .fo on .sf ^&text_font .st ^&text_size .sp 1
74
75 .** fonts and font macros
76 .dv ital .tf ^&ital_font ^&text_size $1 ^:
77 .dv bold .tf ^&bold_font ^&text_size $1 ^:
78 .dv cw .tf ^&cw_font ^&text_size $1 ^:
79 .dv set_font_prop .sf ^&text_font
80
E. Scott Daniels06e85b72019-08-06 16:29:00 -040081 .cd 1 6.0i
Ashwin Sridharanfd9cc7a2019-04-03 16:47:02 -040082 .ll 6i
83 .pn off
84 .ju on
85 .in .5i
E. Scott Daniels06e85b72019-08-06 16:29:00 -040086 .dv cn_indent .5i
87 .dv cn_line_len 6i
Ashwin Sridharanfd9cc7a2019-04-03 16:47:02 -040088
89 .dv indent .ll -0.5i .in +0.25i
90 .dv uindent .in -0.25i .ll +0.5i
E. Scott Daniels4240b8b2019-08-01 10:36:14 -040091
92 .dv super .sm ^[ .sm ^&{ss_num}]
E. Scott Daniels06e85b72019-08-06 16:29:00 -040093 .dv ss_num 1
E. Scott Daniels4240b8b2019-08-01 10:36:14 -040094 .dv note .dv ss_num ^[ ?%.0f ^&ss_num 1 + ] ^: .sm .tf superscript /2 ^&{ss_num} ^:
E. Scott Daniels06e85b72019-08-06 16:29:00 -040095 .dv atbot atbot