Annotation of 43BSD/usr.lib/learn/eqn/L3.1d, revision 1.1.1.1

1.1       root        1: #once #create message
                      2: .ND
                      3: .PP
                      4: There is one special construction with subscripts
                      5: and superscripts that you have to be aware of, although
                      6: it almost always does what you want automatically.
                      7: When something has both a subscript and a superscript,
                      8: it is usually printed as
                      9: .EQ
                     10: x sub i sup j
                     11: .EN
                     12: instead of
                     13: .EQ
                     14: {x sub i} sup j
                     15: .EN
                     16: To produce this effect, with the superscript _____above the
                     17: subscript instead of to the right, you have to type
                     18: the subscript ______before the superscript, like this:
                     19: 
                     20:    .EQ
                     21:    x sub i sup j
                     22:    .EN
                     23: 
                     24: That's all there is to it.
                     25: 
                     26: Modify "Example" to produce the following output, then type "ready".
                     27: .pl 1
                     28: #once #create Ref
                     29: .LP
                     30: .EQ
                     31: x sub ij sup kmn = y sub i sub j
                     32: .EN
                     33: .pl 1
                     34: #once #create Example
                     35: .LP
                     36: .EQ
                     37: xxx
                     38: .EN
                     39: .pl 1
                     40: #
                     41: #once neqn Ref | nroff >X1 &
                     42: #once neqn message Ref | nroff -T$term %s/tinyms -
                     43: #user
                     44: neqn Example | nroff >X2
                     45: #cmp X1 X2
                     46: #log
                     47: #next
                     48: 3.1e 10
                     49: 3.2d 5

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.