summaryrefslogtreecommitdiff
path: root/usr.bin/learn/lib/eqn/L2.1c
blob: 37a4b313fa84f4078164fac1adbecff01ef71091 (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
50
51
52
53
54
55
56
57
#once #create message
.nf
.EQ
delim $$
.EN
Several of the examples we did earlier had Greek letters
and other mathematical symbols in them.
The way to get things like $pi$ and $sum$ and $int$ is
rather easy - you just spell out their names, like this:

$pi$ is pi

$sum$ is sum

$int$ is int

and so on.
The main thing you must always remember about these names
is that when they appear in an equation, they must be
separated from surrounding symbols by blanks or tildes,
OR THEY WILL NOT BE RECOGNIZED.

For practice, modify "Example" so the symbol $partial$
is replaced by $sum$ everywhere it appears.
Type "ready" when you're done.
.pl 1
#once #create Ref
.PP
The symbol
.EQ
sum
.EN
often appears in lines like
.EQ
{ sum x } over { sum y } = y over x
.EN
.pl 1
#
#once neqn Ref | nroff >X1  &
#once neqn message | nroff -T$term
#once #create Example
.PP
The symbol
.EQ
partial
.EN
often appears in lines like
.EQ
{ partial x } over { partial y } = y over x
.EN
.pl 1
#user
neqn Example | nroff >X2
#cmp X1 X2
#log
#next
2.1d 10