home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s053 / 26.ddi / root.3 / usr / ucblib / doctools / tmac / exp.eqn < prev    next >
Encoding:
Text File  |  1990-12-20  |  2.1 KB  |  77 lines

  1. '\"#ident    "@(#)//usr/ucblib/doctools/tmac/exp.eqn.sl 1.1 4.0 12/08/90 1661 AT&T-USL"
  2. '\"        PROPRIETARY NOTICE (Combined)
  3. '\"
  4. '\"This source code is unpublished proprietary information
  5. '\"constituting, or derived under license from AT&T's UNIX(r) System V.
  6. '\"In addition, portions of such source code were derived from Berkeley
  7. '\"4.3 BSD under license from the Regents of the University of
  8. '\"California.
  9. '\"
  10. '\"
  11. '\"
  12. '\"        Copyright Notice 
  13. '\"
  14. '\"Notice of copyright on this source code product does not indicate 
  15. '\"publication.
  16. '\"
  17. '\"    (c) 1986,1987,1988,1989  Sun Microsystems, Inc
  18. '\"    (c) 1983,1984,1985,1986,1987,1988,1989  AT&T.
  19. '\"              All rights reserved.
  20. .bd S B 3
  21. .    \" EQ - equation, breakout and display
  22. .de EQ
  23. .nr UR \\n(.u
  24. .rm EE
  25. .nr LE 1    \" default centered
  26. .ds EL \f1\\$1\fP
  27. .if \\$1C .ds EL \f1\\$2\fP
  28. .if \\$1L \{\
  29. .    ds EL \f1\\$2\fP
  30. .    nr LE 0
  31. .\}
  32. .if \\$1I \{\
  33. .    ds EL \f1\\$2\fP
  34. .    nr LE 0
  35. .    ds EE \\h'\\n(GIu'
  36. .    if !\\$3 .ds EE \\h'\\$3'
  37. .\}
  38. .if \\n(YE>0 .nf
  39. .di EZ
  40. ..
  41. .    \" EN - end of a displayed equation
  42. .de EN
  43. .if !\\*(10 .br
  44. .di
  45. .rm EZ
  46. .nr ZN \\n(dn
  47. .if \\n(ZN>0 .if \\n(YE=0 .LP
  48. .if \\n(ZN=0 .if !\\*(EL .nr ZN 1
  49. .if \\n(.z .if \\n(ZN>0 .if !\\n(nl=\\n(PE .sp \\n(DDu
  50. .if !\\n(.z .if \\n(ZN>0 .if !\\n(.d=\\n(PE .sp \\n(DDu
  51. .pc
  52. .if \\n(BD>0 .nr LE 0    \" can't mean centering in this case.
  53. .if \\n(MK>0 .if \\n(LE=1 .ds EE \\h'|10n'
  54. .if \\n(MK>0 .nr LE 0    \" don't center if mark/lineup
  55. .lt \\n(.lu
  56. .if \\n(EP=0 .if \\n(ZN>0 \{\
  57. .    if \\n(LE>0 .tl \\*(10\\*(EL
  58. .    if \\n(LE=0 .if \\n(BD=0 .tl \\*(EE\\*(10\\*(EL
  59. .    if \\n(LE=0 .if \\n(BD>0 .if \\n(BD<\\w\\*(10 .nr BD \\w\\*(10
  60. .    if \\n(LE=0 .if \\n(BD>0 \!\\*(10\\t\\*(EL
  61. .\}
  62. .if \\n(EP>0 .if \\n(ZN>0 \{\
  63. .    if \\n(LE>0 .tl \\*(EL\\*(10
  64. .    if \\n(LE=0 .if \\n(BD=0 .tl \\*(EL\\*(EE\\*(10
  65. .    if \\n(LE=0 .if \\n(BD>0 .if \\n(BD<\\w\\*(10 .nr BD \\w\\*(10
  66. .    if \\n(LE=0 .if \\n(BD>0 \!\\h'-\\\\n(.iu'\\*(EL\\h'|0'\\*(10
  67. .\}
  68. .lt \\n(LLu
  69. .pc %
  70. .if \\n(YE>0 .if \\n(UR>0 .fi
  71. .rm 10 11 12 13 14 15 16 17 18 19 20 21 22 23 EL
  72. .rr 10 11 12 13 14 15 16 17 18 19 20 21 22 23
  73. .if \\n(ZN>0 .if t .sp \\n(DDu
  74. .if \\n(.z .nr PE \\n(nl
  75. .if !\\n(.z .nr PE \\n(.d
  76. ..
  77.