Annotation of 42BSD/usr.lib/learn/eqn/L7.1b, 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: As you might expect from our previous discussions,
                      9: any part of a
                     10: 
                     11:   thing from thing to thing
                     12: 
                     13: construction can be as complicated as you wish.
                     14: The only limitation is that the individual "thing"'s
                     15: may well need braces around them to make it
                     16: clear to neqn which part goes with which.
                     17: 
                     18: For example, suppose you want
                     19: .EQ
                     20: sum from {pi = 0} to {pi = n}
                     21: .EN
                     22: Then you have to ensure that the $pi =0$ and
                     23: $pi =n$ parts are included in braces or
                     24: they will not work right.
                     25: 
                     26: Modify file "Example" so the output looks like
                     27: the example above, then type "ready".
                     28: .pl 1
                     29: #once #create Ref
                     30: .LP
                     31: .EQ
                     32: sum from {pi = 0} to {pi =n}
                     33: .EN
                     34: .pl 1
                     35: #once #create Example
                     36: .LP
                     37: .EQ
                     38: sum from pi = 0 to pi = n
                     39: .EN
                     40: .pl 1
                     41: #
                     42: #once neqn Ref | nroff >X1 &
                     43: #once neqn message Ref | nroff -T$term %s/tinyms -
                     44: #user
                     45: neqn Example | nroff >X2
                     46: #cmp X1 X2
                     47: #log
                     48: #next
                     49: 7.1c 10
                     50: 7.2b 5

unix.superglobalmegacorp.com

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