BSD 4_2 development
[unix-history] / usr / doc / eqn / e1
CommitLineData
c9528a00
C
1.2C $gsize 9$
2.nr PS 9
3.nr VS 11p
4.NH
5Introduction
6.PP
7``Mathematics is known in the trade as
8.ul
9difficult,
10or
11.ul
12penalty, copy
13because it is slower, more difficult,
14and more expensive to set in type
15than any other kind of copy normally
16occurring in books and journals.''
17[1]
18.PP
19One difficulty with mathematical text
20is the multiplicity of characters,
21sizes, and fonts.
22An expression such as
23.EQ
24lim from {x-> pi /2} ( tan~x) sup{sin~2x}~=~1
25.EN
26requires an intimate mixture of roman, italic and greek letters, in three sizes,
27and a special character or two.
28(``Requires'' is perhaps the wrong word,
29but mathematics has its own typographical conventions
30which are quite different from those
31of ordinary text.)
32Typesetting such an expression by traditional methods
33is still an essentially manual operation.
34.PP
35A second difficulty is the two dimensional character
36of mathematics,
37which the superscript and limits in the preceding example
38showed in its simplest form.
39This is carried further by
40.EQ
41a sub 0 + b sub 1 over
42 {a sub 1 + b sub 2 over
43 {a sub 2 + b sub 3 over
44 {a sub 3 + ... }}}
45.EN
46.sp
47and still further by
48.EQ
49define emx "{e sup mx}"
50define mab "{m sqrt ab}"
51define sa "{sqrt a}"
52define sb "{sqrt b}"
53int dx over {a emx - be sup -mx} ~=~
54left { lpile {
55 1 over {2 mab} ~log~ {sa emx - sb} over {sa emx + sb}
56 above
57 1 over mab ~ tanh sup -1 ( sa over sb emx )
58 above
59 -1 over mab ~ coth sup -1 ( sa over sb emx )
60}
61.EN
62These examples also show line-drawing, built-up characters like braces and radicals,
63and a spectrum of positioning problems.
64(Section 6 shows
65what a user has to type to produce these
66on our system.)