1 '\" The definitions below are for supplemental macros used in Tcl/Tk
4 '\" .AP type name in/out [indent]
5 '\" Start paragraph describing an argument to a library procedure.
6 '\" type is type of argument (int, etc.), in/out is either "in", "out",
7 '\" or "in/out" to describe whether procedure reads or modifies arg,
8 '\" and indent is equivalent to second arg of .IP (shouldn't ever be
9 '\" needed; use .AS below instead)
12 '\" Give maximum sizes of arguments for setting tab stops. Type and
13 '\" name are examples of largest possible arguments that will be passed
14 '\" to .AP later. If args are omitted, default tab stops are used.
17 '\" Start box enclosure. From here until next .BE, everything will be
18 '\" enclosed in one large box.
21 '\" End of box enclosure.
24 '\" Begin vertical sidebar, for use in marking newly-changed parts
28 '\" End of vertical sidebar.
31 '\" Begin an indented unfilled display.
34 '\" End of indented unfilled display.
36 '\" @(#) man.macros 1.3 95/05/06 15:19:04
38 '\" # Set up traps and other miscellaneous stuff for Tcl/Tk man pages.
42 '\" # Start an argument description
46 . ie !"\\$2"" .TP \\n()Cu
51 \&\\$1 \\fI\\$2\\fP (\\$3)
64 '\" # define tabbing values for .AP
67 .if !"\\$1"" .nr )A \\w'\\$1'u+3n
70 .if !"\\$2"" .nr )B \\w'\\$2'u+\\n()Au+3n
71 .nr )C \\n()Bu+\\w'(in/out)'u+2n
73 '\" # BS - start boxed text
74 '\" # ^y = starting y location
85 '\" # BE - end boxed text (draw box now)
92 .\" Draw four-sided box normally, but don't draw top of
93 .\" box if the box started on an earlier page.
95 \h'-1.5n'\L'|\\n(^yu-1v'\l'\\n(^lu+3n\(ul'\L'\\n(^tu+1v-\\n(^yu'\l'|0u-1.5n\(ul'
98 \h'-1.5n'\L'|\\n(^yu-1v'\h'\\n(^lu+3n'\L'\\n(^tu+1v-\\n(^yu'\l'|0u-1.5n\(ul'
105 '\" # VS - start vertical sidebar
106 '\" # ^Y = starting y location
107 '\" # ^v = 1 (for troff; for nroff this doesn't matter)
110 .ie n 'mc \s12\(br\s0
113 '\" # VE - end of vertical sidebar
121 \h'|\\n(^lu+3n'\L'|\\n(^Yu-1v\(bv'\v'\\n(^tu+1v-\\n(^Yu'\h'-|\\n(^lu+3n'
128 '\" # Special macro to handle page bottom: finish off current
129 '\" # box/sidebar if in box/sidebar mode, then invoked standard
130 '\" # page bottom macro.
137 .\" Draw three-sided box if this is the box's first page,
138 .\" draw two sides but no top otherwise.
139 .ie !\\n(^b-1 \h'-1.5n'\L'|\\n(^yu-1v'\l'\\n(^lu+3n\(ul'\L'\\n(^tu+1v-\\n(^yu'\h'|0u'\c
140 .el \h'-1.5n'\L'|\\n(^yu-1v'\h'\\n(^lu+3n'\L'\\n(^tu+1v-\\n(^yu'\h'|0u'\c
143 .nr ^x \\n(^tu+1v-\\n(^Yu
144 \kx\h'-\\nxu'\h'|\\n(^lu+3n'\ky\L'-\\n(^xu'\v'\\n(^xu'\h'|0u'\c
157 '\" # DS - begin display
163 '\" # DE - end display