xref: /titanic_44/usr/src/cmd/troff/troff.d/tmac.d/an (revision 427a21b56415a2c5048627d491e6e8da8d953bf1)

CDDL HEADER START

The contents of this file are subject to the terms of the
Common Development and Distribution License, Version 1.0 only
(the "License"). You may not use this file except in compliance
with the License.

You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
or http://www.opensolaris.org/os/licensing.
See the License for the specific language governing permissions
and limitations under the License.

When distributing Covered Code, include this CDDL HEADER in each
file and include the License file at usr/src/OPENSOLARIS.LICENSE.
If applicable, add the following below this CDDL HEADER, with the
fields enclosed by brackets "[]" replaced with your own identifying
information: Portions Copyright [yyyy] [name of copyright owner]

CDDL HEADER END

Copyright 2002 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.

Copyright 2011 Nexenta Systems, Inc. All rights reserved.

Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T
All Rights Reserved

Portions of this source code were derived from Berkeley 4.3 BSD
under license from the Regents of the University of California.

. # month name . \".if "\nd"0" .nr m \n(mo-1 . \".if "\nm"0" .ds ]m January . \".if "\nm"1" .ds ]m February . \".if "\nm"2" .ds ]m March . \".if "\nm"3" .ds ]m April . \".if "\nm"4" .ds ]m May . \".if "\nm"5" .ds ]m June . \".if "\nm"6" .ds ]m July . \".if "\nm"7" .ds ]m August . \".if "\nm"8" .ds ]m September . \".if "\nm"9" .ds ]m October . \".if "\nm"10" .ds ]m November . \".if "\nm"11" .ds ]m December . # set the date . \".if n \{.nr m \nm+1 . \". ie \nd .ds ]W Modified \nm/\nd/\ny . \". el .ds ]W Printed \n(mo/\n(dy/\n(yr\} . \".if t \{.ie \nd .ds ]W \*(]m \nd, 19\ny . \". el .ds ]W \*(]m \n(dy, 19\n(yr\} . # end of commented out chunk . ds lq "" . ds rq "" .\} . ds rq '' . ds lq `` .\} . \".if t \{\ . \". ie "\\$1"" .ds ]W 3rd Berkeley Distribution . \". ie "\\$1"4" .ds ]W \\$1th Berkeley Distribution . \". el .ds ]w \\$2 \\$1 BSD . \".\} .. . # reset the basic page layout .}f .. . # default tabs .. . # set type font and size .. . # handle the head of the page .ev 1 .}C 'sp .5i .tl \\*(]D \" multiple line output .tl \\*(]H\} \" multiple line output 'sp .5i .ev .ns .. . # handle the foot of the page .ev 1 'sp .5i .af % a .nr X 0 'bp 1\} .ev .. . # no runout unless there was a .TH .}N .. .em }K . # set title and heading

.nr LL \\n(.l .wh 0 }H .em }M .af % a .nr X 0 \} .}E .nr )I .5i .nr )R 0 . \".if n .na

ka .. . # IX - Make an Index Entry .. . # TZ - resolve title reference .rn TZ @T .so \\*(||/tz.map .TZ \\$1 \\$2 .. .rn HC @T .so \\*(||/tz.map .HC \\$1 \\$2 .. . # section heading .}X 0 .nr )E 2 \\$1 \|\\$2 \|\\$3 \|\\$4 \|\\$5 \|\\$6 .. . # sub section heading .}X .25i "" "" .nr )E 2 \\$1 \|\\$2 \|\\$3 \|\\$4 \|\\$5 \|\\$6

.. . # subroutine for section heading .}E .nr )R 0

.it 1 }N .. . # end of SH (cf }X above and }N below) .nr )E 0 .}E .nr )I .5i .ns .. . # italic .it 1 }N .. . # bold .it 1 }N .. . # small .it 1 }N .. . # combinations of Roman, italic, bold .}S 1 2 "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" .. .. .mc .. .}S 1 3 "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" .. .}S 2 1 "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" .. .}S 2 3 "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" .. .}S 3 1 "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" .. .}S 3 2 "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" .. . # make special case of shift out of italic .}f .. . # small and boldface \fB\s-1\\$1 \\$2 \\$3 \\$4 \\$5 \\$6\s0 .. . # paragraph

.. . # paragraph

.. .}E .nr )I .5i .ns .. . # paragraph distance .. . # hanging indent .}f .. . # indented paragraph

\\$2 \\$1 .. . # hanging label .nr )E 1 .ns .it 1 }N .di ]B .. . # end of TP (cf }N below) .nr )E 0 .}f

\} .}f .. . # handle end of 1-line features .di .nr )E 0 .. . # increase relative indent .nr ]\\n+()p \\n()I .nr )\\n()p \\n()R .nr )I .5i .}E .. . # decrease relative indent . el .nr )p \\$1 1\} .nr )I \\*(]i .nr )R \\*(]r .}E .. .nr )p 0 1 .bd S 3 3