BSD 3 development
[unix-history] / usr / lib / learn / eqn / L3.1b
CommitLineData
fd15fd37
BJ
1#once #create message
2.ND
3.PP
4Naturally there is a superscript operation that's exactly
5like "sub", except that it goes up instead of down.
6It is called "sup". To make
7.EQ
8x sup i+j
9.EN
10for example, you type
11 .EQ
12 x sup i+j
13 .EN
14
15Make the file "Example" produce the same output
16as the following, then type "ready".
17#once #create Ref
18.LP
19.EQ
20x sup alpha ~=~ y sup pi ~+~ z sup pi
21.EN
22.pl 1
23#once #create Example
24.LP
25.EQ
26xxx
27.EN
28.pl 1
29#
30#once neqn Ref | nroff >X1 &
31#once neqn message Ref | nroff -T$term %s/tinyms -
32#user
33neqn Example | nroff >X2
34#cmp X1 X2
35#fail
36Don't forget that there are spaces
37around the = and +.
38#cmp X1 X2
39#log
40#next
413.1c 10