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.
23 .dv esc : .** rst needs an escape for some things
28 .dv text_font Helvetica
29 .dv ital_font Helvetica-Oblique
30 .dv bold_font Helvetica-Bold
34 .dh 1 f=&bold_font p=12 e=no s=2,1 m=.5i i=0i
35 .dh 2 f=&bold_font p=10 s=1,.5 m=.5i i=0i
36 .dh 3 f=&bold_font p=10 s=1,0 m=.5i i=0i
38 .dv comment .** ignore
45 .dv set_font_cw .sf ^&cw_font
50 .dv center_start .bc start
51 .dv center_end .bc end
53 .dv line_len .ll $1 .dv cn_line_len $1 ^:
64 .dv beg_dlist .bd $1 $2
66 .dv ditem .cc 2 .di $1 ^:
67 .dv di .cc 2 .di $1 ^:
71 .dv proto_start .sp 1 .cc .5i .st 9 .sf Courier-bold .nf
72 .dv proto_end .fo on .sf ^&text_font .st ^&text_size .sp .3
74 .dv ex_start .sp .5 .st ^&ex_size .sf ^&cw_font .nf
75 .dv ex_end .fo on .sf ^&text_font .st ^&text_size .sp 1
77 .** fonts and font macros
78 .dv ital .tf ^&ital_font ^&text_size $1 ^:
79 .dv bold .tf ^&bold_font ^&text_size $1 ^:
80 .dv cw .tf ^&cw_font ^&text_size $1 ^:
81 .dv set_font_prop .sf ^&text_font
91 .dv indent .ll -0.5i .in +0.25i
92 .dv uindent .in -0.25i .ll +0.5i
94 .dv super .sm ^[ .sm ^&{ss_num}]
96 .dv note .dv ss_num ^[ ?%.0f ^&ss_num 1 + ] ^: .sm .tf superscript /2 ^&{ss_num} ^: