These are the notes for Lecture 12 Mark -- Today's fortune: Sigmund Freud is alleged to have said that in the last analysis the entire field of psychology may reduce to biological electrochemistry.Title: Math 481/581 Lecture 12: LaTeX Part III
This continues the discussion of LaTeX. In this part, we'll cover figures, tables, references, including graphics into documents, mailing LaTeX documents, and briefly go over the UA dissertation document class.
If your receive TeX documents via email, there are a couple of things to look out for.
In many cases you will see the following when previewing or after printing:
If you trace it back to the LaTeX source, you will find that it comes from a line that looks like this:
>From [...]This is a byproduct of the way certain Mail Transport Agents (MTAs) process mail. Some MTAs put a ">" in front of every line of the message body that begins with the five characters "From " (the intent was to make it easier for Mail User Agents [MUAs] to parse mail messages).
When you receive a TeX file via email, you should probably scan it for the string ">From " and replace unwanted occurrences with "From ".
The second problem with emailing TeX files is more insidious. Some MTAs turn the characters "^" and/or "_" into semicolons. This of course wreaks havoc on any equations that use subscripts and superscripts. If you receive such a document, you can either try to figure out what each semicolon should be or arrange for another method of document transport (eg, FTP).
In some coutries the problem is so common that authors have
quit using these characters altogether -- in favor of LaTeX
macros that do the same thing. If LaTeX chokes on undefined
commands with names like \sb
or \sp
,
don't panic. In the document preamble, simply define these
commands as follows:
\newcommand{\sb}[2]{{#1}_{#2}} % subscript \newcommand{\sp}[2]{{#1}^{#2}} % superscript