- mathematics can be easily type using simple commands;
- two main environments are available, one for inline math and one for display style math;
- building complicated mathematical expressions is best done by using simple building blocks;
- mathematics can be aligned;
- numbering, labeling and referencing mathematics is easy.

First I have to emphasize the simple difference between inline math and display math. On page 18 you'll see the following L

^{A}T

_{E}X code for an inline limit:

$\lim_{x \to \infty} f(x)$

and the following code for a display style limit:

\[

\lim_{x \to a} \frac{f(x) - f(a)}{x - a},

\]

Okay, it's time to download and typeset the full source code for math.tex to appreciate the difference between this two limits. Again, since we are using the sample style for document you'll need to place math.tex in the work folder where the sample.cls file is.

Yes, I know it's not easy reading this code. But if you look carefully at this code I think you'll be able to make sense out of it. For example a fraction (1/2) would be written as

`\frac{1}{2}`

, and the `\lim_{x \to a}`

is almost exactly as we would read it aloud, "the limit as x approaches a." Don't worry, even very complicated mathematics can be easily typeset using simple building blocks.Let's start with an chapter3_01.tex that you'll need to place into your work folder. Yes, you'll need to examine the code and then typeset it. You may need to do several passes to make sense of it all. Do it and make sure you've read all of Chapter 3---don't worry, you don't have to remember everything and with practice the format of L

^{A}T

_{E}X commands will become second nature. In time!

[ASSIGNMENT 4, 30%]: The fourth hand-in assignment is to typeset the following document (pdf). Yes, you'll need to do all the L

^{A}T

_{E}X coding yourself, no template is being provided. You may have to look up some commands---look in your book! If you're really pulling your hair out you can email me.

When you're done, please email a copy of both the source and output (pdf) to assignments@mathography.org.

## No comments:

Post a Comment