BSD 4_2 development
[unix-history] / usr / lib / learn / eqn / L2.1f
CommitLineData
48baa1c3
C
1#once #create message
2.ND
3.LP
4One of the most common problems in using neqn is forgetting
5to leave spaces or tildes around "magic" words like "pi"
6or "int" or "sum". The result is that the magic words
7cease to be magic, and just look like ordinary strings
8of letters.
9
10In the file "Example", there are several such errors.
11Find them, and fix them so the output looks
12like this, then type "ready".
13.pl 1
14#once #create Ref
15.LP
16.EQ
17sum ~=~ pi ~+~1
18.EN
19.EQ
20a~=~ pi (x)
21.EN
22.EQ
23alpha ~=~ beta ~+~ gamma ~+~ delta
24.EN
25.pl 1
26#once #create Example
27.LP
28.EQ
29sum=pi+1
30.EN
31.EQ
32a=pi(x)
33.EN
34.EQ
35alpha=beta+gamma+delta
36.EN
37.pl 1
38#
39#once neqn Ref | nroff >X1 &
40#once neqn message Ref | nroff -T$term %s/tinyms -
41#user
42neqn Example | nroff >X2
43#cmp X1 X2
44#log
45#next
463.1a 10