Annotation of 42BSD/usr.lib/learn/eqn/L12.1c, revision 1.1.1.1

1.1       root        1: #once #create message
                      2: .ND
                      3: .tr %$
                      4: .EQ
                      5: delim $$
                      6: .EN
                      7: .LP
                      8: Of course the thing with bars or braces around it can
                      9: still be part of larger expressions: the input
                     10:    .EQ
                     11:    left | {a over b ~+~ c over d} over 2 right | over a+b+c+d
                     12:    .EN
                     13: produces
                     14: .EQ
                     15: left | {a over b ~+~ c over d} over 2 right | over a+b+c+d
                     16: .EN
                     17: 
                     18: For practice, modify file "Example" so it produces output
                     19: that looks like this, then type "ready".
                     20: .pl 1
                     21: #once #create Ref
                     22: .LP
                     23: .EQ
                     24: left |
                     25: {a over b ~+~ c over d} over 2
                     26: right |
                     27: sup half
                     28: .EN
                     29: .pl 1
                     30: #once #create Example
                     31: .LP
                     32: .EQ
                     33: replace me
                     34: .EN
                     35: .pl 1
                     36: #
                     37: #once neqn Ref | nroff >X1 &
                     38: #once neqn message Ref | nroff -T$term %s/tinyms -
                     39: #user
                     40: neqn Example | nroff >X2
                     41: #cmp X1 X2
                     42: #log
                     43: #next
                     44: 12.1d 10

unix.superglobalmegacorp.com

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