1 .\" $Id: man.7,v 1.1 2009/03/23 16:02:56 kristaps Exp $
3 .\" Copyright (c) 2009 Kristaps Dzonsons <kristaps@openbsd.org>
5 .\" Permission to use, copy, modify, and distribute this software for any
6 .\" purpose with or without fee is hereby granted, provided that the
7 .\" above copyright notice and this permission notice appear in all
10 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
11 .\" WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
12 .\" WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
13 .\" AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
14 .\" DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
15 .\" PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
16 .\" TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
17 .\" PERFORMANCE OF THIS SOFTWARE.
19 .Dd $Mdocdate: March 23 2009 $
25 .Nd man language reference
30 language was historically used to format
32 manuals. In this reference document, we describe the syntax and
40 to write your manuals. Use the
47 document follows simple rules: lines beginning with the control
50 are parsed for macros. Other lines are interpreted within the scope of
52 .Bd -literal -offset XXX
53 \&.SH Macro lines change control state.
54 Other lines are interpreted within the current state.
58 Macros are character sequences whose structural rules are described
59 later in this document.
63 documents may contain only graphable 7-bit ASCII characters and the
70 Blank lines are acceptable; where found, the output will also assert a
73 .Ss Special Characters
74 Special character sequences begin with the escape character
76 followed by either an open-parenthesis
78 for two-character sequences; an open-bracket
80 for n-character sequences (terminated at a close-bracket
82 or a single one-character sequence.
84 Characters may alternatively be escaped by a slash-asterisk,
86 with the same combinations as described above. This form is deprecated.
88 The following is a table of all available escapes.
91 .Bl -tag -width 12n -offset "XXXX" -compact
109 .Pq upside-down exclamation
111 .Pq upside-down question
116 .Bl -tag -width 12n -offset "XXXX" -compact
144 .Pq left double-quote
146 .Pq left double-quote, deprecated
148 .Pq right double-quote
150 .Pq right double-quote, deprecated
152 .Pq left single-quote
154 .Pq right single-quote
156 .Pq right low double-quote
158 .Pq right low single-quote
163 .Bl -tag -width 12n -offset "XXXX" -compact
175 .Pq left double-arrow
177 .Pq right double-arrow
181 .Pq down double-arrow
183 .Pq left-right double-arrow
188 .Bl -tag -width 12n -offset "XXXX" -compact
198 .Pq partial differential
224 .Pq existential quantifier
226 .Pq universal quantifier
240 .Pq approximately equals
244 .Pq greater-than, deprecated
246 .Pq less-than, deprecated
250 .Pq less-than-equal, deprecated
252 .Pq greater-than-equal
254 .Pq greater-than-equal
260 .Pq not equal, deprecated
264 .Pq infinity, deprecated
266 .Pq NaN , an extension
272 .Pq plus-minus, deprecated
279 .Bl -tag -width 12n -offset "XXXX" -compact
303 Diacritics and letters:
304 .Bl -tag -width 12n -offset "XXXX" -compact
316 .Pq circumflex accent
340 .Pq upper-case acute A
342 .Pq upper-case acute E
344 .Pq upper-case acute I
346 .Pq upper-case acute O
348 .Pq upper-case acute U
350 .Pq lower-case acute a
352 .Pq lower-case acute e
354 .Pq lower-case acute i
356 .Pq lower-case acute o
358 .Pq lower-case acute u
360 .Pq upper-case grave A
362 .Pq upper-case grave E
364 .Pq upper-case grave I
366 .Pq upper-case grave O
368 .Pq upper-case grave U
370 .Pq lower-case grave a
372 .Pq lower-case grave e
374 .Pq lower-case grave i
376 .Pq lower-case grave o
378 .Pq lower-case grave u
380 .Pq upper-case tilde A
382 .Pq upper-case tilde N
384 .Pq upper-case tilde O
386 .Pq lower-case tilde a
388 .Pq lower-case tilde n
390 .Pq lower-case tilde o
392 .Pq upper-case dieresis A
394 .Pq upper-case dieresis E
396 .Pq upper-case dieresis I
398 .Pq upper-case dieresis O
400 .Pq upper-case dieresis U
402 .Pq lower-case dieresis a
404 .Pq lower-case dieresis e
406 .Pq lower-case dieresis i
408 .Pq lower-case dieresis o
410 .Pq lower-case dieresis u
412 .Pq lower-case dieresis y
414 .Pq upper-case circumflex A
416 .Pq upper-case circumflex E
418 .Pq upper-case circumflex I
420 .Pq upper-case circumflex O
422 .Pq upper-case circumflex U
424 .Pq lower-case circumflex a
426 .Pq lower-case circumflex e
428 .Pq lower-case circumflex i
430 .Pq lower-case circumflex o
432 .Pq lower-case circumflex u
434 .Pq upper-case cedilla C
436 .Pq lower-case cedilla c
438 .Pq upper-case stroke L
440 .Pq lower-case stroke l
442 .Pq upper-case stroke O
444 .Pq lower-case stroke o
446 .Pq upper-case ring A
448 .Pq lower-case ring a
453 .Bl -tag -width 12n -offset "XXXX" -compact
470 .Bl -tag -width 12n -offset "XXXX" -compact
496 .Pq non-breaking space
500 .Pq ampersand, deprecated
504 Macros are case in-sensitive and one to three three characters in
505 length. All follow the same structural rules:
506 .Bd -literal -offset XXXX
507 \&.Yo \(lBbody...\(rB
512 consists of zero or more arguments to the macro.
515 This section contains a complete list of all
517 macros, arranged alphabetically, with the number of arguments.
519 .Bl -column "MacroX" "Arguments" -compact -offset XXXX
520 .It Em Macro Ta Em Arguments
548 utility was written by
549 .An Kristaps Dzonsons Aq kristaps@openbsd.org .
552 Do not use this language. Use