Title: LaTeXTeX
1LaTeX/TeX
- TeX is a document preparation system developed by
Donald Knuth in an attempt to get nicer looking
print. - LaTeX is a TeX based package build on TeX. LaTeX
is easier to use and the recommended choice for
most users.
2LaTeX
- Automatic layout of text
- Excellent line spacing algorithm
- Excellent at generating math typeset
- Bibliography
- Many journals accept LaTeX
- Available on all platforms
- Can be converted to many different formats, eg
ps, pdf
3LaTeX
The basic idea Write your document using a
normal text editor and place inside your text
document, LaTeX commands, for example \bf This
is a bold sentence are grouping symbols -
same as in C \x is a LaTeX command.
4LaTeX
Skeleton File \documentclassarticle \begindo
cument Your text goes in here \enddocument
5LaTeX
latex mydoc // run file through latex
(compile) yap mydoc // display results of
compile (or double-click on the dvi file from
windows explorer) pdflatex mydoc // generate pdf
file Compiling a LaTeX document generates an
intermediate file called a DVI file. The DVI file
in turn can be converted in a wide variety of
printable formats (eg pdf) LaTeX/TeX files must
have extension .tex With a bit of research you
would probably also find the WinEdt latex editor
which allows you to edit and run Latex from a
graphical interface instead of the MSDOS prompt.
6LaTeX
- Running LaTeX from genesis
latex mydoc // run file through latex
(compile) dvips mydoc // generate
postscript dvipdf mydoc // generate pdf LaTeX
? DVI ? render on to output
device LaTeX/TeX files must have extension .tex
7LaTeX
_ \ If you want to generate these
in your text use \ \ \ \ \_ \\
\ \ is use to start a comment is used in
math _ and are used in math are used to
limit the scope of commands
8LaTeX
\documentclassarticle \begindocument This is
a simple sentence. \bf To make things bold \em
To emphasize text An equation in a sentence is
written using x2n 4 An so-called
display equation is written using x2n 4
\enddocument
9LaTeX
\documentclassarticle \begindocument \section
Introduction x \fracy z/2y2 1
z \sqrtx y
10LaTeX
\frac\partial y\partial x \sumn
\alpha_i \frac\pi\chi \sumn_i1
x_i \int_01 f
11LaTeX
\left \beginarrayccc x y
z\\ x2 y2 z2 \\
\endarray \right \underbracea
\overbraceb \cdots y24 x_26
\enddocument
12LaTeX
- Tables
- Different kinds of lists
- Importing postscript (eps) or other formats
- Color
- Many different kinds fonts and symbols
- Extendible with the built-in programming language
- Bibliography
13LaTeX
- Integration into PowerPoint
Use TexPoint to add LaTeX facilities to
PowerPoint slides http//raw.cs.berkeley.edu/texp
oint/TeXPoint.htm
14LaTeX
http//carbon.cudenver.edu/hgreenbe/sites/latex.h
tml http//www.silmaril.ie/downloads/documents/be
ginlatex.pdf