|
|
1.1 root 1: #once #create message
2: .ND
3: .tr %$
4: .EQ
5: delim $$
6: .EN
7: .LP
8: Let's do one more example of from-to for practice
9: before we go on to the next topic.
10: Modify "Example" so it produces output that looks
11: like this, then type "ready".
12: .pl 1
13: #once #create Ref
14: .EQ
15: delim $$
16: .EN
17: .LP
18: Let $Q( pi )$ be $sum from {i= pi sub 1} to {i= pi sub 2} x sub i$.
19: .pl 1
20: #once #create Example
21: .EQ
22: delim $$
23: .EN
24: .LP
25: Let $Q( pi )$ be $sum from {i= pi sub 1} to xxxx x sub i$.
26: .pl 1
27: #
28: #once neqn Ref | nroff >X1 &
29: #once neqn message Ref | nroff -T$term %s/tinyms -
30: #user
31: neqn Example | nroff >X2
32: #cmp X1 X2
33: #fail
34: Don't forget to set delimiters before the .LP line,
35: and get the spaces right around the dollar signs.
36: #log
37: #next
38: 8.1a 10
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.