Debian Codegraph @

doc/man/macros/localmacs

raw
1 .\" All local SGI man macros go here, except for .Op, which is in it's own
2 .\" file, and .Ne, which has been added to stdmacro and mn.
3 .\" $Revision: 1.1.1.1 $
4 .
5 .
6 .\" Use this macro start a code example. It will printed as an indented
7 .\" (using .RS), unfilled section using font 7, which is assumed to be a
8 .\" constant-width font (Courier or similar). It takes one optional
9 .\" argument: the number of lines in the example; it calles .Ne with it.
10 .\" Added by CSK 6/12/89
11 .de Ex
12 . Ne \\$1
13 . P
14 . RS 3
15 . ft 7
16 . ps -2
17 . nf
18 . nh
19 . if t .na
20 . if n .ta 8n +8n +8n +8n +8n +8n +8n +8n +8n +8n +8n +8n +8n
21 ..
22 .
23 .\" Use this macro to end a code example started with .Ex . You will
24 .\" probably want to follow it with a .P, except if it's the last thing
25 .\" before a .SH .
26 .\" Added by CSK 6/12/89
27 .de Ee
28 . if n .DT
29 . if t .ad
30 . hy 14
31 . fi
32 . ps
33 . ft 1
34 . sp 0.5
35 . RE
36 ..
37 .\" Below here, many hacks for the OpenGL reference manual ...
38 .deTH
39 .Ne \" 6/12/89 csk
40 .PD
41 .nrIN \\n()Mu
42 .ift .ds ]E \\$1
43 .ifn .ds ]E \\$1
44 .if!\\$2 .as ]E (\^\\$2\^)
45 .if\\n()s .ds ]D Silicon Graphics
46 .if\\n()t .ds ]D Silicon Graphics
47 .ifn .ds ]D Silicon Graphics
48 .ds]P
49 '\" Print Silicon Graphics instead of the 3rd and 4th arguments
50 '\".if!\\$3 .ds ]P (\^\\$3\^)
51 '\" .if!\\$4 .ds ]D \\$4
52 .wh0 }H
53 .wh-\\n(:mu }F
54 .em}M
55 .\" .if\\n(nl .bp 1 .\" changed for the sake of sequntial page numbering
56 .if\\n(nl .bp
57 .nr)I \\n()Mu
58 .nr)R 0
59 .}E
60 .DT
61 .ifn \{.na
62 .nh\}
63 .ift \{.bd S 3 3 \" let's try not hyphenating at all
64 .nh \}
65 .\" .hy14 \}
66 ..
67 .de}H
68 .ev1
69 .}C
70 .}E
71 .ie\\n()s 'sp 2v
72 .el'sp 3v
73 .ps\\n()S-1
74 .bd1 3
75 .\" Print command name on outside
76 .\" XXX shouldn't do this on-line -- I should fix this, eh?
77 .ie e \{.
78 .tl \\s(11\\*(]E
79 .\" . ie \\*(]P .tl \\*(]E\\*(]D
80 .\" . el .tl \\*(]E\\*(]D \|\\*(]P
81 .\}
82 .el \{.
83 .tl \\s(11\\*(]E
84 .\" . ie \\*(]P .tl \\*(]D\\*(]E
85 .\" . el .tl \\*(]P\\*(]E
86 .\}
87 .ft 1
88 .bd1
89 .\" don't want this line on on-line man pages - AE 5/34/94
90 .if t \{\
91 .\" underrule stuff
92 .in -\\n()Mu
93 .sp -0.5v
94 \l'\\n(.lu'
95 .in 0 \}
96 .\" end rule stuff
97 .ps\\n()S
98 .ie\\n()s 'sp 1.5v
99 .el'sp 3v
100 .ev
101 .ns
102 ..
103 .de}F
104 .ev1
105 .}E
106 .if\\n()s 'sp |\\n(.pu-1v-1p
107 .if\\n()t 'sp |\\n(.pu-3v
108 .ifn 'sp |\\n(.pu-4v
109 .ifn .tl Page %\\*(Re\\*(]T
110 .nr z
111 .if\\n()s \{ .ie \\nz .tl \\nz\-%
112 .\".el \{ .if o .tl \\f6\\s9\\*(Dt- % -\\*(Vn\\s0\\fP
113 .\".if e .tl \\f6\\s9\\*(Dt- % -\\*(Vn\\s0\\fP \} \}
114 .\" chg footer for Cypress man pages (SFChesson)
115 .el \{ .if o .tl \\s9\\f2\\h'6.5P'\\f8\\s0%\f1
116 .if e .tl \f8%\\h'6.5P'\\s9\\f2Open Inventor C++ Reference Pages\\f1\\s0 \} \}
117 .if \\nC==5 \{ .pl 11i
118 .lt 6.5i
119 .ch }F 11i \" move footer trap out of the way
120 'sp |10.5i
121 .tl [\s-2file last modified: \\*(Dmchecksum: \\*(Xsprinted: \\*(Dp\s+2]
122 .lt
123 .ch }F -\\n(:mu \" move it back
124 .pl \}
125 'bp
126 .ev
127 ..
128 .ie \ns=2 \{.\" -rs2 (for now ...)
129 . \" Put stone fonts in position
130 . if t .fp 1 st
131 . if t .fp 2 sT
132 . if t .fp 3 St
133 . fp 4 sN
134 . fp 5 sn
135 . fp 6 Sn
136 . fp 8 HB \" for page number in footer, we hope.
137 .\" nr )L 8.1875i \" gives a proper 9" page somehow.
138 . nr )L 8.50i \" fudged for OpenGL
139 . nr LL 6i
140 . nr )O .75i
141 . nr )S 10 .\" point size
142 . nr )V 12
143 . nr HF 6 \" StoneSans headers
144 . nr RR 1
145 .\}