xref: /illumos-gate/usr/src/cmd/troff/troff.d/tmac.d/s (revision afab0816ecb604f0099a09ad8ee398f0d7b77b1c)

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

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

University Copyright- Copyright (c) 1982, 1986, 1988
The Regents of the University of California
All Rights Reserved

University Acknowledgment- Portions of this document are derived from
software developed by the University of California, Berkeley, and its
contributors.

ident "%Z%%M% %I% %E% SMI"

. \" IZ - initialize (before text begins) .nr HM 1i .nr M1 \\n(HMu/2 .nr FM 1i .nr M4 \\n(FMu/2 .nr YY -\\n(FMu .nr XX 0 1 .nr IP 0 .nr PI 5n .nr QI 5n .nr FI 2n .nr I0 \\n(PIu .nr PS 10 .nr VS 12 .vs \\n(VSp .nr ML 3v .nr IR 0 .nr TB 0 .nr SJ \\n(.j .nr PO \\n(.o .nr LL 6i .lt 6i .ev 1 .nr FL 5.5i .vs 10p .ev .wh 0 NP .wh -\\n(FMu FO .ch FO 16i .wh -\\n(FMu FX .ch FO -\\n(FMu .wh -\\n(M4u BT .. . \" RT - reset (at new paragraph)

0 .ul 0 . ll +\\n(QIu . in -\\n(QIu . nr QP -1 .\} . ps \\n(PS . if \\n(VS>=40 .vs \\n(VSu . if \\n(VS<=39 .vs \\n(VSp .\} . in -\\n(I\\n(IRu . nr IP -1 .\} .TA

.. . \" TA - set default tabs .. . \" BG - begin (at first paragraph) .nr M1 \\n(HMu/2 .nr M4 \\n(FMu/2 .ch BT -\\n(M4u

.nr YE 1 .di

0 .nr KI 0 .nr 1T 1 .S\\n(ST redefs

99 \\..

99 \\..

99 \\.. .RA .rn FJ FS .rn FK FE

.ev 1
.vs \\n(.s+2p
.ev
.nr KG 0
. FS
. FG
. FE
.\}

.. . \" RA - redefine abstract

.nr AJ 1 .RT \\.. .nr AJ 0

\\.. .. . \" RP - released paper format .nr ST 2

.. . \" TL - source file for cover sheet .rn TL @T .so \*(//ms.cov

.. . \" PP - regular paragraph .RT .. . \" LP - left paragraph .RT .. . \" IP - indented paragraph .RT \\*(HT\t\c .\} .. . \" XP - exdented paragraph .RT .. . \" QP - quote paragraph .RT .nr QP 1 .. . \" SH - section header .RT .RT .. . \" NH - numbered header
.nr NS \\$1 .nr H\\n(NS +1 . nr NS \\n(.$-1 . nr H1 \\$2 0 . nr H2 \\$3 0 . nr H3 \\$4 0 . nr H4 \\$5 0 . nr H5 \\$6 0 .\} \\*(SN .. . \" H - fancy header \\$2 .XS \\\\n(PN \\$1u-1u*\\n(PIu \\$2 .XE \\$3 .. . \" LS - listing start .nr PQ \\n(.f .vs -\\n(dV .nr @ \\w'x'u*8 .. . \" LE - listing end .. . \" DS - display with keep (L=left I=indent C=center B=block) .KS
.\\$1D \\$2 \\$1
..
 \\$1
..
. \" ID - indented display with no keep
.XD
. in \\n(OIu
. in +\\$1n
.\}
..
. \" LD - left display with no keep
.XD
..
. \" CD - centered display with no keep
.XD

999 .. . \" XD - real display macro

.nr OI \\n(.i
..
. \" DE - end display of any kind

0 .nr BD 0 .KE

.. . \" BD - block display: center entire block .XD .nr BD 1
.di DD
..
. \" DF - finish block display
.di
.nr EI \\n(.l-\\n(.i
.DD
..
. \" KS - begin regular keep
.nr KN \\n(.u
.nr IK +1
..
. \" KQ - real keep processor

.nr KI \\n(.i .ev 2 .TA

.lt \\n(LTu .di KK .nr TB 0 .. . \" KF - begin floating keep .nr KN \\n(.u .nr IK +1 .. . \" FQ - real floating keep processor .nr KI \\n(.i .ev 2 .TA

.lt \\n(LTu .di KK .nr TB 1 .. . \" KE - end keep .. . \" RQ - real keep release

.di .nr NF 0

.rs
.nr TC 5
.ls 1
. ev
. br
. ev 2
. KK
.\}
.ls

0 .nr TC \\n(TB .ev .. . \" KD - keep redivert .nr KM 0 .. . \" EM - end macro (process leftover keep)

\c ' bp . NP . ch CM 160 .\} .. . \" DI is used to properly end all diversions, otherwise a bug in . \" [nt]roff may cause an infinite loop if the page footer (or . \" macros that it calls) happens to start a new diversion. .di .. .nr TD 1

.ls 1
.rn KJ KL
.KL
.nr TB 0

.ls

.nr TD 0 .. . \" NP - new page . tm HM + FM longer than page . ab .\} .po \\n(POu .nr PF \\n(.f .nr PX \\n(.s 'sp \\n(HMu/2u .lt \\n(LTu

T .lt \\n(.lu .HD \"undefined .nr XX 0 1 .nr YY 0-\\n(FMu .ch FO 16i .ch FX 17i .ch FO -\\n(FMu .ch FX \\n(.pu-\\n(FMu .nr MF 0

.os .ev 1 .nr TC 0 .ev .nr TQ \\n(.i .nr TK \\n(.u . in 0 . nf . TT . in \\n(TQu . if \\n(TK .fi .\} .ns

#T .. . \" PT - page titles .pc % .nr PN \\n% .nr PT \\n% .. . \" OH - odd page header .nr OH 1 .. . \" EH - even page header .nr EH 1 .. . \" P1 - PT on 1st page .nr P1 1 .. . \" FO - footer .rn FO FZ .nr FC +1 .nr dn 0 .rn FZ FO .nr MF 0 . if \\n(NX>1 .RC . if \\n(NX<2 'bp .\} .nr FC -1 .. . \" BT - bottom title .nr PF \\n(.f .nr PX \\n(.s .lt \\n(LTu .po \\n(POu . tl ''\\n(PN'' . nr CT 0 .\} .. . \" OF - odd page footer .nr OF 1 .. . \" EF - even page footer .nr EF 1 .. . \" 2C - double column .MC .. . \" 1C - single column .MC \\n(LLu .. . \" MC - multiple columns, arg is col width .nr L1 \\n(LL*7/15 .nr NQ \\n(LL/\\n(L1 . BG . if n .sp 4 . if t .sp 2 .\} . RT . if \\n(NX>1 .bp . mk . nr NC 1 . po \\n(POu .\} .nr NX \\n(NQ .nr CW \\n(L1 .nr FL \\n(CWu*11u/12u .nr RO \\n(CW+\\n(GW .ns .. .nr NC \\n(ND .. .po +\\n(ROu .nr ND \\n(NC+1 .nr XX 0 1 .nr MF 0 .ch FX \\n(.pu-\\n(FMu .ev 1 .nr TC 0 .ev .nr TQ \\n(.i

#T .ns .. .po \\n(POu 'bp .nr ND 1 .. . \" RS - right shift .nr IS \\n(IP .RT .nr IP \\n(IS .nr IR +1 .nr I\\n(IR \\n(PIu .. . \" RE - retreat left .nr IS \\n(IP .RT .nr IP \\n(IS .. . \" CM - cut mark .po 0 .lt 7.6i .vs 4p .tl '--''--' .po .vs .lt .. . \" I - italic font .nr PQ \\n(.f .. . \" B - bold font .nr PQ \\n(.f .. . \" R - Roman font .. . \" L - listing font \%\\$3\fL\\$1\\$2 .. . \" LB - bold listing font \%\\$3\f(LB\\$1\\$2 .. . \" UL - underline in troff .. . \" SM - smaller .. . \" LG - larger .. . \" NL - normal .. . \" DA - force date .. . \" ND - no date or new date .. . \" \** - numbered footnote . \" FJ - replaces FS after cover 'ce 0 .di .ev 1 .da FF

.nr IF 1 .. . \" FK - replaces FE after cover

.nr IF 0 .di .ev .nr YY -\\n(dn . if \\n(nl>(\\n(HM+1.5v) .ch FO \\n(nlu+\\n(.vu . if \\n(nl+\\n(FM+1v>\\n(.p .ch FX \\n(.pu-\\n(FMu+2v . if \\n(nl<=(\\n(HM+1.5v) .ch FO \\n(HMu+(4u*\\n(.vu) .\} .. . \" FS - begin footnote on cover .ev 1

.da FG .. . \" FE - end footnote on cover

.di .nr FP \\n(dn .ev .. . \" FA - print line before footnotes

.. . \" FP - footnote paragraph . in \\n(FIu*2u . ta \\n(FIu*2u . ti 0 .\} . ie "\\$2"no" \\$1\0\c . el \\*([.\\$1\\*(.]\0\c .\} . ie "\\$2"no" \\$1\0\c . el \\$1.\0\c .\} . ie "\\$2"no" \\$1\t\c . el \\$1.\t\c .\} .. . \" FV - get leftover footnote from previous page .FS

.ls 1
.FY
.ls
.FE .. . \" FX - divert leftover footnote for next page .. . \" XF - actually print footnote .ev 1
.ls 1
.FF
.nr XX 0 1

.ls .di

.ev .. . \" TS - source file for tbl .rn TS @T .so \*(//ms.tbl
. \" EQ - source file for eqn
.rn EQ @T
.so \*(//ms.eqn
..
. \" ]- - source file for refer
.rn ]- @T
.so \*(//ms.ref
.]-
..
. \" [< - for refer -s or -e
.rn ]< @T
.so \*(//ms.ref
.]<
..
. \" AM - better accent marks
.so \*(//ms.acc
..
. \" TM - thesis mode
.so \*(//ms.ths
..
. \" BX - word in a box
..
. \" B1 - source file for boxed text
.rn B1 @T
.so \*(//ms.tbl
1 \\$1 .. . \" XS - table of contents .rn XS @T .so \*(//ms.toc .XS \\$1 \\$2 .. . \" IX - index words to stderr .tm \\$1\t\\$2\t\\$3\t\\$4 ... \\n(PN .. . \" UX - UNIX macro \s-1UNIX\s0\\$1\(dg .FS \(dg \s-1UNIX\s0 is a registered trademark of The Open Group in the U.S. and other countries. .FE .nr UX 1 .\} .. .co .nr _Y 1900+\n(yr .nr * 0 1 Z .em EM