|
|
1.1 root 1: #once #create message
2: .ND
3: .PP
4: Now that we have some of the preliminaries out of the way,
5: we can get on to doing real mathematics.
6: I have been slipping small things into the example files
7: as we go along so that you will at least have seen
8: some common neqn constructions.
9:
10: One of the most frequent is the word "sub", which
11: indicates a subscript, like this:
12:
13: .EQ
14: x sub i + y sub j
15: .EN
16:
17: which produces
18: .EQ
19: x sub i + y sub j
20: .EN
21: The main thing to notice is that the blanks are delimiters -
22: the subscript of "x" is "i"; the blank after the "i" marks
23: the end of the subscript.
24:
25: Modify the file "Example" so the equation in it looks like
26: this:
27: .EQ
28: x sub alpha ~=~ y sub pi ~+~ z sub pi
29: .EN
30: Then type "ready".
31: .pl 1
32: #once #create Ref
33: .LP
34: .EQ
35: x sub alpha ~=~ y sub pi ~+~ z sub pi
36: .EN
37: .pl 1
38: #once #create Example
39: .LP
40: .EQ
41: xxx
42: .EN
43: .pl 1
44: #
45: #once neqn Ref | nroff >X1 &
46: #once neqn message | nroff -T$term %s/tinyms -
47: #user
48: neqn Example | nroff >X2
49: #cmp X1 X2
50: #log
51: #next
52: 3.1b 10
53: 3.2a 5
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.