home *** CD-ROM | disk | FTP | other *** search
- '\"#ident "@(#)//usr/ucblib/doctools/tmac/exp.eqn.sl 1.1 4.0 12/08/90 1661 AT&T-USL"
- '\" PROPRIETARY NOTICE (Combined)
- '\"
- '\"This source code is unpublished proprietary information
- '\"constituting, or derived under license from AT&T's UNIX(r) System V.
- '\"In addition, portions of such source code were derived from Berkeley
- '\"4.3 BSD under license from the Regents of the University of
- '\"California.
- '\"
- '\"
- '\"
- '\" Copyright Notice
- '\"
- '\"Notice of copyright on this source code product does not indicate
- '\"publication.
- '\"
- '\" (c) 1986,1987,1988,1989 Sun Microsystems, Inc
- '\" (c) 1983,1984,1985,1986,1987,1988,1989 AT&T.
- '\" All rights reserved.
- .bd S B 3
- . \" EQ - equation, breakout and display
- .de EQ
- .nr UR \\n(.u
- .rm EE
- .nr LE 1 \" default centered
- .ds EL \f1\\$1\fP
- .if \\$1C .ds EL \f1\\$2\fP
- .if \\$1L \{\
- . ds EL \f1\\$2\fP
- . nr LE 0
- .\}
- .if \\$1I \{\
- . ds EL \f1\\$2\fP
- . nr LE 0
- . ds EE \\h'\\n(GIu'
- . if !\\$3 .ds EE \\h'\\$3'
- .\}
- .if \\n(YE>0 .nf
- .di EZ
- ..
- . \" EN - end of a displayed equation
- .de EN
- .if !\\*(10 .br
- .di
- .rm EZ
- .nr ZN \\n(dn
- .if \\n(ZN>0 .if \\n(YE=0 .LP
- .if \\n(ZN=0 .if !\\*(EL .nr ZN 1
- .if \\n(.z .if \\n(ZN>0 .if !\\n(nl=\\n(PE .sp \\n(DDu
- .if !\\n(.z .if \\n(ZN>0 .if !\\n(.d=\\n(PE .sp \\n(DDu
- .pc
- .if \\n(BD>0 .nr LE 0 \" can't mean centering in this case.
- .if \\n(MK>0 .if \\n(LE=1 .ds EE \\h'|10n'
- .if \\n(MK>0 .nr LE 0 \" don't center if mark/lineup
- .lt \\n(.lu
- .if \\n(EP=0 .if \\n(ZN>0 \{\
- . if \\n(LE>0 .tl \\*(10\\*(EL
- . if \\n(LE=0 .if \\n(BD=0 .tl \\*(EE\\*(10\\*(EL
- . if \\n(LE=0 .if \\n(BD>0 .if \\n(BD<\\w\\*(10 .nr BD \\w\\*(10
- . if \\n(LE=0 .if \\n(BD>0 \!\\*(10\\t\\*(EL
- .\}
- .if \\n(EP>0 .if \\n(ZN>0 \{\
- . if \\n(LE>0 .tl \\*(EL\\*(10
- . if \\n(LE=0 .if \\n(BD=0 .tl \\*(EL\\*(EE\\*(10
- . if \\n(LE=0 .if \\n(BD>0 .if \\n(BD<\\w\\*(10 .nr BD \\w\\*(10
- . if \\n(LE=0 .if \\n(BD>0 \!\\h'-\\\\n(.iu'\\*(EL\\h'|0'\\*(10
- .\}
- .lt \\n(LLu
- .pc %
- .if \\n(YE>0 .if \\n(UR>0 .fi
- .rm 10 11 12 13 14 15 16 17 18 19 20 21 22 23 EL
- .rr 10 11 12 13 14 15 16 17 18 19 20 21 22 23
- .if \\n(ZN>0 .if t .sp \\n(DDu
- .if \\n(.z .nr PE \\n(nl
- .if !\\n(.z .nr PE \\n(.d
- ..
-