|
|
1.1 root 1: #once #create message
2: .ND
3: .EQ
4: delim $$
5: .EN
6: .LP
7: So far we have carefuly skirted around a potential
8: problem; maybe you've wondered about it.
9: Suppose we want to produce an equation that looks
10: like this:
11: .EQ
12: x sup { pi + 1 }
13: .EN
14: The superscript is complicated, in that it contains
15: both a $pi$ and a +1, which has to be separated
16: from the $pi$ by a blank.
17: But I already told you that a blank terminates
18: the superscript. What's going on?
19:
20: As the first step to finding out, will the input
21: equation
22:
23: x sup pi + 1
24:
25: produce the output
26:
27: $x sup {pi + 1}$ ?
28: Answer yes or no.
29: (You can play with the file "Example" if you like.)
30: .pl 1
31: #once #create Example
32: .LP
33: .EQ
34: replace me
35: .EN
36: .pl 1
37: #
38: #once neqn message | nroff -T$term %s/tinyms -
39: #copyin
40: #user
41: #uncopyin
42: #match no
43: #log
44: #next
45: 5.1b
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.