Typesetting with LaTeX
- The idea of text formatting
- What is TeX and LaTeX?
- Different packages of LaTeX
- Typesetting LaTeX file
- Viewing and printing DVI files
- Writing LaTeX file
- entering text
- formatting text
- displaying output text to monitor
- send output to printer
Back to Content
TeX is created by Donald E. Knuth, a Mathematician in 1984. Initially it is
produced for typesetting Mathematical formula. TeX is an engine to generate
a Device Independent (.dvi) files from a source (.tex) file. The dvi file
can be displayed on any kind of monitor or printer as long as the device
driver exists.
Since the origin of TeX, many different formats are generated by other
people, the most common formats are LaTeX, amsTeX and amsLaTeX though many
people has used the most primitive Plain TeX for a long time.
LaTeX is produced by Leslie Lamport, an American Scientists in 1985, since
then, a lot of different update has been found. There are two common
version nowadays, 2e (made in mid 1994) and 2.09 (last updated in 1991,
obselete). LaTeX2e is now commonly used not only by Scientist, but many
publications of Journals, Proceedings and Reports.
Back to Content
LaTeX is common not only because of its powerful and fruitful commands of
formatting text, the central engine of TeX is free. Many platforms have
it variant of TeX and LaTeX. Free TeX packages such as teTeX on UNIX/Linux,
emTeX on DOS/Win, MikTeX and
fpTeX on Windows,
OzTeX on Macintosh, AucTeX for
use with Emacs, can be freely download in
CTAN sites (http://ctan.tug.org).
Commercial TeX packages can also be found and supported by some companies.
Examples are PCTEX on Windows, Scientific
WordPlace on Windows and Texture on Macintosh.
Back to Content
You may download MikTeX (current version is 2.9) and TexnicCenter (current version is 2 beta 1 ) on Windows for free from the Internet and install on Windows plaform.
MikTeX 2.9 can be found in http://www.miktex.org/download and TexnicCenter can be found here.
First install MikTeX 2.9. MikTeX 2.9 is the backend engine and style packages can be built from the backend. After installing MikTeX 2.9, TexnicCenter can be installed. When TexnicCenter first invoke, it will run the configuration wizard to find the path of MikTeX 2.9 (usually in c:\Program Files\MikTeX 2.9\miktex\bin) and any pdf reader such as Acrobat.
For example, given a well formatted latex file (
sample.tex) with an
extension .tex
latex sample.tex produce dvi file
pdflatex sample.tex produce pdf file directly
Back to Content
Back to Content
- Structure of LaTeX file
- Commands and Environment
- Special Characters
- Work Example:
Word file
LaTeX file
- Paragraphing and sectioning
- Basic formatting of word: making bold, italic, underline, etc.
- adding lists such as item and enumerated list
- adding tables
- inserting mathematical formula
- inserting graphics and postscript files
- adding title, author and abstract
- reference
- bibliography
Back to Content
Self study reference
-
A gentle introduction to TeX
-
The Short Introduction to LaTeX
-
Using Imported Graphics in LaTeX2e
Back to Content
Extension to LaTeX
Packages added to LaTeX can extend the features of Scientific Typesetting. Thus LaTeX can be used to produce chemical formula, nucleotide and peptide alignments, music score and games like crossword puzzle, chess and bridges.
The end