Annotation of 43BSDReno/usr.bin/learn/learnlib/eqn/L12.1e, revision 1.1.1.1

1.1       root        1: #once #create message
                      2: .ND
                      3: .tr %$
                      4: .EQ
                      5: delim $$
                      6: .EN
                      7: .PP
                      8: There are also occasions when you want to omit
                      9: the left part and keep the right part.
                     10: This is a bit more complicated, since for obscure
                     11: reasons neqn won't let you actually leave the
                     12: left part out completely.
                     13: But you can ask it to print no character,
                     14: instead of using bars, by saying
                     15:    left ""  thing  right |
                     16: .LP
                     17: This is similar to the way we used quotes before, to get
                     18: a zero-width thing before a superscript.
                     19: 
                     20: For practice, modify file "Example" so it produces output
                     21: that looks like this, then type "ready".
                     22: .pl 1
                     23: #once #create Ref
                     24: .LP
                     25: .EQ
                     26: left ""
                     27: int from 0 to {2 pi} sin (x) dx ~=~
                     28: cos (x) right | sub 0 sup {2 pi}
                     29: .EN
                     30: .pl 1
                     31: #once #create Example
                     32: .LP
                     33: .EQ
                     34: replace me
                     35: .EN
                     36: .pl 1
                     37: #
                     38: #once neqn Ref | nroff >X1 &
                     39: #once neqn message Ref | nroff -T$term %s/tinyms -
                     40: #user
                     41: neqn Example | nroff >X2
                     42: #cmp X1 X2
                     43: #log

unix.superglobalmegacorp.com

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