blob: d3848c18cdfb71a4708d0d1673dd884ea91533fc (
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
43
44
45
46
47
48
49
|
#once #create message
.ND
.PP
There is one special construction with subscripts
and superscripts that you have to be aware of, although
it almost always does what you want automatically.
When something has both a subscript and a superscript,
it is usually printed as
.EQ
x sub i sup j
.EN
instead of
.EQ
{x sub i} sup j
.EN
To produce this effect, with the superscript _____above the
subscript instead of to the right, you have to type
the subscript ______before the superscript, like this:
.EQ
x sub i sup j
.EN
That's all there is to it.
Modify "Example" to produce the following output, then type "ready".
.pl 1
#once #create Ref
.LP
.EQ
x sub ij sup kmn = y sub i sub j
.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
#log
#next
3.1e 10
3.2d 5
|