summaryrefslogtreecommitdiff
path: root/usr.bin/learn/lib/eqn/L4.1b
blob: a989edde18b404cbad01af8b4d4635e9b7e2c5f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#once #create message
.ND
.LP
Of course you can use reserved words like "pi" or "int"
with the "over" construction.  For example, modify
"Example" so its output looks like the following, then
type "ready".
.pl 1
#once #create Ref
.LP
.EQ
alpha over beta ~=~ pi over 2
.EN
.pl 1
#once #create Example
.LP
.EQ
replace me
.EN
.pl 1
#
#once neqn Ref | nroff >X1 &
#once neqn message Ref | nroff -T$term %s/tinyms -
#user
neqn Example | nroff >X2
#cmp X1 X2
#fail
The names are alpha, beta and pi.
I hope your trouble wasn't any more
complicated than that.
#log
#next
4.1c 10