summaryrefslogtreecommitdiff
path: root/usr.bin/learn/lib/eqn/L3.1b
blob: 6fe31e213fe5a9bf260d258e451d5adbec832edb (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
#once #create message
.ND
.PP
Naturally there is a superscript operation that's exactly
like "sub", except that it goes up instead of down.
It is called "sup".  To make
.EQ
x sup i+j
.EN
for example, you type
   .EQ
   x sup i+j
   .EN

Make the file "Example" produce the same output
as the following, then type "ready".
#once #create Ref
.LP
.EQ
x sup alpha ~=~ y sup pi ~+~ z sup pi
.EN
.pl 1
#once #create Example
.LP
.EQ
xxx
.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
Don't forget that there are spaces
around the = and +.
#cmp X1 X2
#log
#next
3.1c 10