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