LATEX Documents on the Web Documents on the Web

In this document I have several math expressions and formulas of increasing complexity. You can see how several alternative methods work to turn the math into usable Web materials.

Case 1   In the simplest case, we may have some ''in-line'' math expressions. For example, a sentence may have a simple equation like c2 = a2 + b2 or perhaps some Greek characters like 2pr2. LATEX is able to handle inline equations like [(sinq)/( cscq)]+[(cosq)/( secq)] = 1 . This equation contained fractions, which forced LATEX to increase the spacing between the lines.

Case2   Almost as easy, we can set the math material into a separate ''display''.

s2 = å
x2 p(x) - m2

Or maybe something that takes up a little more verical space:

a
x-y
+ b
x+y

1+ a-b
a+b

Or that uses a special notation like root the operator:

n æ
ú 
Ö  

xn - yn
1 + u2n
 

Case 3   There are a lot more characters in the LATEX language than you will find in the symbol font set. For example, there are the set operators:

P(AÈB ÈC) = P(a) + P(B) + P(C) -P(A ÇB) - P(A ÇC) + P (B ÇC) - P(A ÇB ÇC)
and the vectors:
®
i
 
+ ®
j
 
= ®
z
 
Notice how the letters i and j are printed without their dots when used with a vector. Finally, here is a formula with an overbrace and underbrace:


a + 123

b + ¼+ y

 
+ z

abg 

Case 4   Now lets get on to the really tough stuff ... expressions which require several lines of notation which lines up:

y = ì
ï
í
ï
î
-1
   :    x < 0
0
   :    x = 0
+1
   :    x > 0
And:
(x+y)(x-7)
=
x2 - xy+xy-y2
=
x2 - y2
(x+y)2
=
x2 +2xy + y2
Finally: B
1 + 1
3
- 1
5
+ 1
7
- 1
9
+ 1
11
+ ¼
=
ó
õ
1

0 
(1 + x2 -x4 -x6 + x8 + x10 - x12 -x14 +x16 +¼) dx
=
ó
õ
1

0 
1+x2
1+x4
dx
=
p
4
Ö2
Thats all I can stand to type!


File translated from TEX by TTH, version 2.26.
On 19 Oct 1999, 09:33.