Ashwin Sridharan | fd9cc7a | 2019-04-03 16:47:02 -0400 | [diff] [blame] | 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 |
E. Scott Daniels | 4240b8b | 2019-08-01 10:36:14 -0400 | [diff] [blame] | 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 |
Ashwin Sridharan | fd9cc7a | 2019-04-03 16:47:02 -0400 | [diff] [blame] | 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 |
E. Scott Daniels | 4240b8b | 2019-08-01 10:36:14 -0400 | [diff] [blame] | 47 | |
| 48 | .dv center_start .bc start |
| 49 | .dv center_end .bc end |
Ashwin Sridharan | fd9cc7a | 2019-04-03 16:47:02 -0400 | [diff] [blame] | 50 | |
| 51 | .dv line_len .ll $1 |
| 52 | .dv space .sp 1 |
E. Scott Daniels | 4240b8b | 2019-08-01 10:36:14 -0400 | [diff] [blame] | 53 | .dv mult_space .sp $1 |
Ashwin Sridharan | fd9cc7a | 2019-04-03 16:47:02 -0400 | [diff] [blame] | 54 | .dv half_space .sp .5 |
| 55 | .dv beg_list .bl $1 |
| 56 | .dv end_list .el |
| 57 | .dv beg_dlist .bd $1 $2 |
| 58 | .dv end_dlist .ed |
| 59 | .dv ditem .di $1 ^: |
| 60 | .dv di .di $1 ^: |
| 61 | .dv li .li |
| 62 | |
| 63 | .dv ex_start .st ^&ex_size .sf ^&cw_font .nf |
| 64 | .dv ex_end .fo on .sf ^&text_font .st ^&text_size .sp 1 |
| 65 | |
| 66 | .** fonts and font macros |
| 67 | .dv ital .tf ^&ital_font ^&text_size $1 ^: |
| 68 | .dv bold .tf ^&bold_font ^&text_size $1 ^: |
| 69 | .dv cw .tf ^&cw_font ^&text_size $1 ^: |
| 70 | .dv set_font_prop .sf ^&text_font |
| 71 | |
| 72 | .cd 1 6.5i |
| 73 | .ll 6i |
| 74 | .pn off |
| 75 | .ju on |
| 76 | .in .5i |
| 77 | |
| 78 | .dv indent .ll -0.5i .in +0.25i |
| 79 | .dv uindent .in -0.25i .ll +0.5i |
E. Scott Daniels | 4240b8b | 2019-08-01 10:36:14 -0400 | [diff] [blame] | 80 | |
| 81 | .dv super .sm ^[ .sm ^&{ss_num}] |
| 82 | .dv note .dv ss_num ^[ ?%.0f ^&ss_num 1 + ] ^: .sm .tf superscript /2 ^&{ss_num} ^: |