|
|
1.1 root 1: #once #create message
2: .ND
3: .LP
4: The next neqn operation is called "sqrt" - it makes
5: square root signs over things, like this:
6: .EQ
7: sqrt a+b
8: .EN
9: (They don't look very good on a terminal, unfortunately.)
10: This one is very easy - to print the line above, you
11: say
12: .EQ
13: sqrt a+b
14: .EN
15: The "sqrt" operates on the first thing it finds
16: so if you want something more complicated, like
17: .EQ
18: sqrt {pi +1}
19: .EN
20: you have to use braces to enclose the entire
21: thing. This one was printed with
22: .EQ
23: sqrt {pi +1}
24: .EN
25: And that's all there is to sqrt.
26:
27: Modify "Example" so it looks like this, then type "ready".
28: .pl 1
29: #once #create Ref
30: .LP
31: .EQ
32: f(x) ~=~ sqrt {ax sup 2 +bx+c}
33: .EN
34: .pl 1
35: #once #create Example
36: .LP
37: .EQ
38: f(x)....
39: .EN
40: .pl 1
41: #
42: #once neqn Ref | nroff >X1 &
43: #once neqn message Ref | nroff -T$term %s/tinyms -
44: #user
45: neqn Example | nroff >X2
46: #cmp X1 X2
47: #log
48: #next
49: 8.1b 10
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.