diff options
Diffstat (limited to 'troff/troff.d/tmac.d/ms.eqn')
| -rw-r--r-- | troff/troff.d/tmac.d/ms.eqn | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/troff/troff.d/tmac.d/ms.eqn b/troff/troff.d/tmac.d/ms.eqn new file mode 100644 index 000000000000..203186b92617 --- /dev/null +++ b/troff/troff.d/tmac.d/ms.eqn @@ -0,0 +1,91 @@ +.\" +.\" 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 +.\" +.\"ident "@(#)ms.eqn 1.5 05/06/08 SMI" +.\" +.\" 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. +.\" +.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'|10n' +. 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 +.. |
