BSD 4_2 development
[unix-history] / usr / lib / learn / eqn / L7.1d
CommitLineData
48baa1c3
C
1#once #create message
2.ND
3.tr %$
4.EQ
5delim $$
6.EN
7.LP
8Let's do one more example of from-to for practice
9before we go on to the next topic.
10Modify "Example" so it produces output that looks
11like this, then type "ready".
12.pl 1
13#once #create Ref
14.EQ
15delim $$
16.EN
17.LP
18Let $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
22delim $$
23.EN
24.LP
25Let $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
31neqn Example | nroff >X2
32#cmp X1 X2
33#fail
34Don't forget to set delimiters before the .LP line,
35and get the spaces right around the dollar signs.
36#log
37#next
388.1a 10