2 .\" Copyright 2005 Sun Microsystems, Inc. All rights reserved.
3 .\" Use is subject to license terms.
7 .\" The contents of this file are subject to the terms of the
8 .\" Common Development and Distribution License, Version 1.0 only
9 .\" (the "License"). You may not use this file except in compliance
12 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13 .\" or http://www.opensolaris.org/os/licensing.
14 .\" See the License for the specific language governing permissions
15 .\" and limitations under the License.
17 .\" When distributing Covered Code, include this CDDL HEADER in each
18 .\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
19 .\" If applicable, add the following below this CDDL HEADER, with the
20 .\" fields enclosed by brackets "[]" replaced with your own identifying
21 .\" information: Portions Copyright [yyyy] [name of copyright owner]
25 .\"ident "%Z%%M% %I% %E% SMI"
27 .\" University Copyright- Copyright (c) 1982, 1986, 1988
28 .\" The Regents of the University of California
29 .\" All Rights Reserved
31 .\" University Acknowledgment- Portions of this document are derived from
32 .\" software developed by the University of California, Berkeley, and its
36 .\"**********************************************************************
38 .\"* ****** - M E N R O F F / T R O F F M A C R O S ****** *
40 .\"* Produced for your edification and enjoyment by: *
42 .\"* Electronics Research Laboratory *
44 .\"* current address: *
45 .\"* Britton-Lee, Inc. *
46 .\"* 1919 Addison Street Suite 105 *
47 .\"* Berkeley, California 94704 *
49 .\"* VERSION 2.14 First Release: 11 Sept 1978 *
50 .\"* See file \*(||/revisions for revision history *
52 .\"* Documentation is available. *
54 .\"**********************************************************************
56 .\" @(#)tmac.e 2.14 12/28/81
57 .if !\n(.V .tm You are using the wrong version of NROFF/TROFF!!
58 .if !\n(.V .tm This macro package works only on the version seven
59 .if !\n(.V .tm release of NROFF and TROFF.
99 . tm Line \\n(c. -- Unclosed block, footnote, or other diversion (\\n(.z)
126 . ds |4 "\\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
127 . ds |5 "\\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
134 . ds |4 "\\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
140 . ds |5 "\\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
150 . ds |6 "\\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
151 . ds |7 "\\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
158 . ds |6 "\\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
164 . ds |7 "\\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
175 .if (\\n(.i+\\n(.o)>=\\n(.l \
176 . tm Line \\n(c. -- Offset + indent exceeds line length
177 .if t .if "\*(.T"" .if (\\n(.l+\\n(.o)>7.75i \
178 . tm Line \\n(c. -- Offset + line length exceeds paper width
222 .if (\\n(_w<=\\n($l)&(\\n(?W=0) \
224 . nr _b (\\n(ppu*\\n($ru)/2u
225 . if \\n(_bu>((\\n(bmu-\\n(fmu-(\\n(tpu*\\n($ru))/2u) \
226 . nr _b (\\n(ppu*\\n($ru)-\n(.Vu
253 .if (\\n(?a)&((\\n($c<2):(\\n(?w=0)) \
318 .sp |\\n(.pu-\\n(fmu-(\\n(tpu*\\n($ru)
338 . if e .ds |z "\\*(|0
339 . if o .ds |z "\\*(|1
341 .if !\(ts\\*(|z\(ts\(ts \
349 . if e .ds |z "\\*(|0
350 . if o .ds |z "\\*(|1
352 .if \(ts\\*(|z\(ts\(ts \
354 . if e .ds |z "\\*(|2
355 . if o .ds |z "\\*(|3
357 .if !\(ts\\*(|z\(ts\(ts \
387 .if (\\n($m<=1):(\\n($l>\\n(_L) \
431 .nr tm +\\n(hmu-\\n(_0u
435 .nr tm \\n(hmu+\\n(tpp+\\$1v
438 .nr bm \\n(fmu+\\n(tpp+\\$1v
443 .nr bm +\\n(fmu-\\n(_0u
447 . tm Line \\n(c. -- I cannot skip multiple pages
451 .ta 0.5i +0.5i +0.5i +0.5i +0.5i +0.5i +0.5i +0.5i +0.5i +0.5i +0.5i +0.5i +0.5i +0.5i +0.5i
455 .ta 0.8i +0.8i +0.8i +0.8i +0.8i +0.8i +0.8i +0.8i +0.8i +0.8i +0.8i +0.8i +0.8i +0.8i +0.8i
461 . nr $i \\n(siu*\\n($0u
478 .if (\\n(ii>0)&(\\n(ii<1n) \
487 . ie \\w"\\$1">=\\n(_0 \
492 . el \&\\$1\h'|\\n(_0u'\c
502 .if "\\n(.z"|e" .tm Line \\n(c. -- Unmatched continued equation
517 .sh "\\$1" "\\$2" \\$3 \\$4 \\$5 \\$6 \\$7 \\$8
521 .if (\\n(si>0)&(\\n(.$>2) \
527 . ne \\n(.Lv+\\n(.Vu+\\n(psu+(\\n(spu*\\n($ru*\\n(.Lu)
529 . ti -(\\n(siu-\\n(sou)
536 . if \w"\\$2">0 \\$2.
537 . if \w"\\$1">0 \\$1\f1\ \ \"
560 .nr $l (\\n(.l-((\\n($m-1)*\\n($s))/\\n($m
583 .tm Line \\n(c. -- unmatched .)z
600 .if (\\n(bt=0):(\\n(.t<\\n(bt) \
611 .sp \\n(bsu+\\n(.Lv-1v
614 .if !"\\n(.z"" .tm Line \\n(c. -- Illegal nested keep \\n(.z
639 .if !"\\n(.z"|k" .tm Line \\n(c. -- Close of a keep which has never been opened
646 .if "\\n(.z"|c" .tm Line \\n(c. -- Nested .(c requests
650 .if !"\\n(.z"|c" .tm Line \\n(c. -- Unmatched .)c
655 .in (\\n(.lu-\\n(.iu-\\n(dlu)/2u
676 .sp \\n(qsu+\\n(.Lv-1v
688 .sp \\n(bsu+\\n(.Lv-1v
710 .if t .ds [. \s-2\v'-.4m'\f1
712 .if t .ds .] \v'.4m'\s+2\fP
726 .if \\n(.$ \&\\$1\f\\n(_F\\$2
733 .if \\n(.$ \&\\$1\f\\n(_F\\$2
740 .if \\n(.$ \&\\$1\f\\n(_F\\$2
747 .if \\n(.$ \&\\$1\f\\n(_F\\$2
754 \&\\*(lq\\$1\\*(rq\\$2
758 .ie t \&\k~\\$1\h'|\\n~u+(\\n(.su/3u)'\\$1\fP\\$2
762 .ie \\n($T \&\f2\\$1\fP\\$2
763 .el \k~\(br\|\\$1\|\(br\l'|\\n~u\(rn'\l'|\\n~u\(ul'\^\\$2
778 .so \\*(||/footnote.me
783 .tm Line \\n(c. -- unmatched .)f
792 .so \\*(||/deltext.me
797 .tm Line \\n(c. -- unmatched .)d
806 .tm Line \\n(c. -- unmatched .)x
850 . tm Line \\n(c. -- Bad mode to .++
858 .if (\\n(_0=3):(\\n(_0=5) \
879 .if !\\n(_0=\\n(_M .if \\n(_M=3 \
890 .ie \\n(_M=1 CHAPTER\ \ \\n(ch
891 .el .if \\n(_M=2 APPENDIX\ \ \\n(ch
892 .if \w"\\$1" .sp 3-\\n(.L
894 .if (\\n(_M<3):(\w"\\$1") \
900 . $C Chapter \\n(ch "\\$1"
902 . $C Appendix \\n(ch "\\$1"
921 .if \n(mo=1 .ds mo January
922 .if \n(mo=2 .ds mo February
923 .if \n(mo=3 .ds mo March
924 .if \n(mo=4 .ds mo April
925 .if \n(mo=5 .ds mo May
926 .if \n(mo=6 .ds mo June
927 .if \n(mo=7 .ds mo July
928 .if \n(mo=8 .ds mo August
929 .if \n(mo=9 .ds mo September
930 .if \n(mo=10 .ds mo October
931 .if \n(mo=11 .ds mo November
932 .if \n(mo=12 .ds mo December
933 .if \n(dw=1 .ds dw Sunday
934 .if \n(dw=2 .ds dw Monday
935 .if \n(dw=3 .ds dw Tuesday
936 .if \n(dw=4 .ds dw Wednesday
937 .if \n(dw=5 .ds dw Thursday
938 .if \n(dw=6 .ds dw Friday
939 .if \n(dw=7 .ds dw Saturday
941 .ds td \*(mo \n(dy, \n(_Y
942 .if (1m<0.1i)&(\nx>0) \
963 .ds || /usr/share/lib/tmac
972 . ds [ \v'-0.4m'\x'-0.2m'\s-3
974 . ds < \v'0.4m'\x'0.2m'\s-3