Add user manual source
[ric-plt/lib/rmr.git] / doc / src / generic_ps.im
1 .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
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
35
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
47
48         .dv center_start .bc start
49         .dv center_end .bc end
50         
51         .dv line_len .ll $1 .dv cn_line_len $1 ^:
52         .dv space .sp 1
53         .dv mult_space .sp $1
54         .dv half_space .sp .5
55
56         .dv beg_list .bl $1
57         .dv end_list .el
58         .dv lic1 n
59         .dv lic2 m
60         .dv lic3 l
61
62         .dv beg_dlist .bd $1 $2
63         .dv end_dlist .ed
64         .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
68         
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
71
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
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         
81         .cd 1 6.0i
82         .ll 6i
83         .pn off
84         .ju on
85         .in .5i
86         .dv cn_indent .5i
87         .dv cn_line_len 6i
88         
89         .dv indent .ll -0.5i .in +0.25i
90         .dv uindent .in -0.25i .ll +0.5i
91
92         .dv super .sm ^[ .sm ^&{ss_num}]
93         .dv ss_num 1
94         .dv note .dv ss_num ^[ ?%.0f ^&ss_num 1 + ] ^: .sm .tf superscript /2 ^&{ss_num} ^:
95         .dv atbot atbot