summaryrefslogtreecommitdiff
path: root/usr.bin/learn/lib/eqn/L4.1a
blob: a4942907159bf7152e45e0bab2d78cc1ab923da3 (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
34
35
36
37
38
39
40
41
42
#once #create message
.ND
.EQ
delim $$
.EN
.LP
The next neqn word to learn is "over", which makes
fractions like
.EQ
a+b over c
.EN
In fact that line was made by
   .EQ
   a+b over c
   .EN
To begin with an easy one, reproduce
the equation below in the file "Example", then type
ready.
(To get $>=$, type ">=".)
.pl 1
#once #create Ref
.LP
.EQ
x+1 over y+1 ~>=~ x over y
.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
#log
#next
4.1b 10
4.2a 5