2 ==================================================================================
3 Copyright (c) 2019 Nokia
4 Copyright (c) 2018-2019 AT&T Intellectual Property.
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
10 http://www.apache.org/licenses/LICENSE-2.0
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 ==================================================================================
20 .** macros compatable with the roff/troff and rts imbed files
21 .** this is included when generating postscript from the man source.
26 .dv text_font Helvetica
27 .dv ital_font Helvetica-Oblique
28 .dv bold_font Helvetica-Bold
32 .dh 1 f=&bold_font p=12 e=no s=2,1 m=.5i i=0i
33 .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
36 .dv comment .** ignore
43 .dv set_font_cw .sf ^&cw_font
48 .dv center_start .bc start
49 .dv center_end .bc end
51 .dv line_len .ll $1 .dv cn_line_len $1 ^:
62 .dv beg_dlist .bd $1 $2
64 .dv ditem .cc 2 .di $1 ^:
65 .dv di .cc 2 .di $1 ^:
69 .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
72 .dv ex_start .sp .5 .st ^&ex_size .sf ^&cw_font .nf
73 .dv ex_end .fo on .sf ^&text_font .st ^&text_size .sp 1
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
89 .dv indent .ll -0.5i .in +0.25i
90 .dv uindent .in -0.25i .ll +0.5i
92 .dv super .sm ^[ .sm ^&{ss_num}]
94 .dv note .dv ss_num ^[ ?%.0f ^&ss_num 1 + ] ^: .sm .tf superscript /2 ^&{ss_num} ^: