2 .\
"**********************************************************************
4 .\
"* ****** - M E N R O F F / T R O F F M A C R O S ****** *
6 .\
"* Produced for your edification and enjoyment by: *
8 .\
"* Electronics Research Laboratory *
11 .\"* VERSION
2.9 First Release
: 11 Sept
1978 *
12 .\
"* See file \*(||/revisions for revision history *
14 .\
"* Documentation is available. *
16 .\
"**********************************************************************
18 .\
" @(#)tmac.e 2.9 12/10/80
19 .\" This version has had comments stripped
; an unstripped version
is available
.
20 .if !\
n(.V
.tm You are using the wrong version of NROFF
/TROFF
!!
21 .if !\
n(.V
.tm This macro package works only on the version seven
22 .if !\
n(.V
.tm release of NROFF
and TROFF
.
62 . tm Line \\n(.c -- Unclosed block, footnote, or other diversion (\\n(.z)
89 . ds |4 "\\$
1 \\$
2 \\$
3 \\$
4 \\$
5 \\$
6 \\$
7 \\$
8 \\$
9
90 . ds |
5 "\\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
97 . ds |4 "\\$
1 \\$
2 \\$
3 \\$
4 \\$
5 \\$
6 \\$
7 \\$
8 \\$
9
103 . ds |
5 "\\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
113 . ds |6 "\\$
1 \\$
2 \\$
3 \\$
4 \\$
5 \\$
6 \\$
7 \\$
8 \\$
9
114 . ds |
7 "\\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
121 . ds |6 "\\$
1 \\$
2 \\$
3 \\$
4 \\$
5 \\$
6 \\$
7 \\$
8 \\$
9
127 . ds |
7 "\\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
138 .if (\\n(.i+\\n(.o)>=\\n(.l \
139 . tm Line \\n(.c -- Offset + indent exceeds line length
140 .if t .if (\\n(.l+\\n(.o)>7.75i \
141 . tm Line \\n(.c -- Offset + line length exceeds paper width
186 .if (\\n(_w<=\\n($l)&(\\n(?W=0) \
188 . nr _b (\\n(ppu*\\n($ru)/2u
189 . if \\n(_bu>((\\n(bmu-\\n(fmu-(\\n(tpu*\\n($ru))/2u) \
190 . nr _b (\\n(ppu*\\n($ru)-\n(.Vu
217 .if (\\n(?a)&((\\n($c<2):(\\n(?w=0)) \
283 .sp |\\n(.pu-\\n(fmu-(\\n(tpu*\\n($ru)
303 . if e .ds |z "\\
*(|
0
304 . if o
.ds |z
"\\*(|1
306 .if !\(ts\\*(|z\(ts\(ts \
314 . if e .ds |z "\\
*(|
0
315 . if o
.ds |z
"\\*(|1
317 .if \(ts\\*(|z\(ts\(ts \
319 . if e .ds |z "\\
*(|
2
320 . if o
.ds |z
"\\*(|3
322 .if !\(ts\\*(|z\(ts\(ts \
352 .if (\\n($m<=1):(\\n($l>\\n(_L) \
396 .nr tm +\\n(hmu-\\n(_0u
400 .nr tm \\n(hmu+\\n(tpp+\\$1v
403 .nr bm \\n(fmu+\\n(tpp+\\$1v
408 .nr bm +\\n(fmu-\\n(_0u
412 . tm Line \\n(.c -- I cannot skip multiple pages
416 .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
420 .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
426 . nr $i \\n(siu*\\n($0u
443 .if (\\n(ii>0)&(\\n(ii<1n) \
452 . ie \\w"\\$
1">=\\n(_0 \
457 . el \&\\$1\h'|\\n(_0u'\c
467 .if "\\
n(.z
"|e" .tm Line \\
n(.c
-- Unmatched continued equation
482 .sh
"\\$1" "\\$2" \\$
3 \\$
4 \\$
5 \\$
6 \\$
7 \\$
8
486 .if (\\
n(si
>0)&(\\
n(.$
>2) \
492 . ne \\n(.Lv+\\n(.Vu+\\n(psu+(\\n(spu*\\n($ru*\\n(.Lu)
494 . ti -(\\n(siu-\\n(sou)
501 . if \w"\\$
2">0 \\$2.
502 . if \w"\\$
1">0 \\$1\f1\ \ \"
525 .nr $
l (\\
n(.l
-((\\
n($m
-1)*\\
n($s
))/\\
n($m
548 .tm Line \\
n(.c
-- unmatched .)z
565 .if (\\
n(bt
=0):(\\
n(.t
<\\
n(bt
) \
576 .sp \\
n(bsu
+\\
n(.Lv
-1v
579 .if !"\\n(.z"" .tm Line \\n(.c -- Illegal nested keep \\n(.z
604 .if !"\\n(.z"|k
" .tm Line \\n(.c -- Close of a keep which has never been opened
611 .if "\\
n(.z
"|c" .tm Line \\
n(.c
-- Nested .(c requests
615 .if !"\\n(.z"|c
" .tm Line \\n(.c -- Unmatched .)c
620 .in (\\n(.lu-\\n(.iu-\\n(dlu)/2u
641 .sp \\n(qsu+\\n(.Lv-1v
653 .sp \\n(bsu+\\n(.Lv-1v
677 .if \\n(.$ \&\\$1\f\\n(_F\\$2
684 .if \\n(.$ \&\\$1\f\\n(_F\\$2
694 .if \\n(.$ \&\\$1\f\\n(_F\\$2
703 .if \\n(.$ \&\\$1\f\\n(_F\\$2
710 \&\\*(lq\\$1\\*(rq\\$2
714 .ie t \&\k~\\$1\h'|\\n~u+(\\n(.su/3u)'\\$1\fP\\$2
718 .ie \\n($T \&\f2\\$1\fP\\$2
719 .el \k~\(br\|\\$1\|\(br\l'|\\n~u\(rn'\l'|\\n~u\(ul'\^\\$2
738 .so \\*(||/footnote.me
743 .tm Line \\n(.c -- unmatched .)f
752 .so \\*(||/deltext.me
757 .tm Line \\n(.c -- unmatched .)d
766 .tm Line \\n(.c -- unmatched .)x
810 . tm Line \\
n(.c
-- Bad mode to .++
818 .if (\\
n(_0
=3):(\\
n(_0
=5) \
839 .if !\\
n(_0
=\\
n(_M
.if \\
n(_M
=3 \
850 .ie \\
n(_M
=1 CHAPTER\ \ \\
n(ch
851 .el
.if \\
n(_M
=2 APPENDIX\ \ \\
n(ch
852 .if \w
"\\$1" .sp
3-\\
n(.L
854 .if (\\
n(_M
<3):(\w
"\\$1") \
860 . $C Chapter \\
n(ch
"\\$1"
862 . $C Appendix \\
n(ch
"\\$1"
881 .if \
n(mo
=1 .ds mo January
882 .if \
n(mo
=2 .ds mo February
883 .if \
n(mo
=3 .ds mo March
884 .if \
n(mo
=4 .ds mo April
885 .if \
n(mo
=5 .ds mo May
886 .if \
n(mo
=6 .ds mo June
887 .if \
n(mo
=7 .ds mo July
888 .if \
n(mo
=8 .ds mo August
889 .if \
n(mo
=9 .ds mo September
890 .if \
n(mo
=10 .ds mo October
891 .if \
n(mo
=11 .ds mo November
892 .if \
n(mo
=12 .ds mo December
893 .if \
n(dw
=1 .ds dw Sunday
894 .if \
n(dw
=2 .ds dw Monday
895 .if \
n(dw
=3 .ds dw Tuesday
896 .if \
n(dw
=4 .ds dw Wednesday
897 .if \
n(dw
=5 .ds dw Thursday
898 .if \
n(dw
=6 .ds dw Friday
899 .if \
n(dw
=7 .ds dw Saturday
900 .ds td \
*(mo \
n(dy
, 20\
n(yr
901 .if (1m
<0.1i
)&(\nx
!=0) \
931 . ds
[ \v
'-0.4m'\x
'-0.2m'\s
-3
933 . ds
< \v
'0.4m'\x
'0.2m'\s
-3