Commit | Line | Data |
---|---|---|
48baa1c3 C |
1 | #once #create message |
2 | .ND | |
3 | .PP | |
4 | One common typing error that you should watch out for | |
5 | is forgetting to end a superscript or subscript | |
6 | with a blank or other delimiter (like tilde). | |
7 | For instance, you often see output like | |
8 | .EQ | |
9 | f(x sup 2)=1 | |
10 | .EN | |
11 | because there wasn't a space left between the 2 and the ). | |
12 | What we really wanted, of course, was | |
13 | .EQ | |
14 | f(x sup 2 )=1 | |
15 | .EN | |
16 | ||
17 | Modify "Example" to produce this output, then type "ready". | |
18 | .pl 1 | |
19 | #once #create Ref | |
20 | .LP | |
21 | .EQ | |
22 | g( x sup pi ) | |
23 | = pi (gx sup 2 ) | |
24 | .EN | |
25 | .pl 1 | |
26 | #once #create Example | |
27 | .LP | |
28 | .EQ | |
29 | g( x sup pi) | |
30 | =pi(gxsup2) | |
31 | .EN | |
32 | .pl 1 | |
33 | # | |
34 | #once neqn Ref | nroff >X1 & | |
35 | #once neqn message Ref | nroff -T$term %s/tinyms - | |
36 | #user | |
37 | neqn Example | nroff >X2 | |
38 | #cmp X1 X2 | |
39 | #log | |
40 | #next | |
41 | 4.1a 10 |