Sie sind auf Seite 1von 69

L

A
T
E
X Workshop
Tay Jun Jie Chang Hai Bin
NUS Mathematics Society
January 25, 2011
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 1 / 69
Scope
1
Introduction
Name of the Game
Why L
A
T
E
X?
Installation
2
Getting Started
Your rst L
A
T
E
X document
Typing mathematics
3
Typing the paper
Structures in the input le
Structures in the document
Special structures
4
Support
Log le
Online resources
Further reading
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 2 / 69
Name of the Game
What is T
E
X?
A computer program aimed at typesetting text and mathematical
formulae.
Current version is 3.1415926.
What is L
A
T
E
X?
A macro dened on T
E
X.
To typeset and print an authors work at the highest typographical
quality, using a predened, professional layout.
Current version is L
A
T
E
X2

.
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 3 / 69
L
A
T
E
X versus Word
Dierence between L
A
T
E
X and Microsoft Word?
1
Word emphasizes visual design, L
A
T
E
X emphasizes logical design.
2
Professionally craft layouts e.g. lecture notes.
3
Convenient to typeset mathematical formulae.
4
Add-on packages to support dierent kinds of typographical tasks.
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 4 / 69
Installation
Setting up L
A
T
E
X.
1
A L
A
T
E
X distribution and a text editor.
2
Recommended L
A
T
E
X distribution:
MiKTeX for Windows.
MacTeX for Mac OS X.
TeX Live for Linux.
3
Recommended text editors:
For Windows:
1 TeXnicCenter
2 WinEdt
For Mac OS X:
1 TeXShop
For Linux:
1 Kile
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 5 / 69
Your rst L
A
T
E
X document
1
Open TeXworks.
2
Switch output prole to pdfLaTeX.
3
Type the following:
\documentclass{article}
\begin{document}
Hello world!
\end{document}
4
Create a new folder on the Desktop and save your le as myFile.tex.
5
Compile.
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 6 / 69
Typing mathematics
Type the following:
\documentclass[12pt,a4paper]{article}
\usepackage{amsmath,amsfonts}
\begin{document}
This is text style: $\lim_{n \to \infty}
\sum_{k=1}^{n} \frac{1}{k^{2}} = \frac{\pi^{2}}{6}$.
And this is display style:
\begin{equation}
\lim_{n \to \infty} \sum_{k=1}^{n} \frac{1}{k^{2}}
= \frac{\pi^{2}}{6}
\end{equation}
\end{document}
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 7 / 69
Typing mathematics
This is text style: lim
n

n
k=1
1
k
2
=

2
6
. And this is display style:
lim
n
n

k=1
1
k
2
=

2
6
(1)
If equation numbering is undesired, use \begin{equation*} and
\end{equation*} instead.
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 8 / 69
Typing mathematics
To type math, one have to enter math mode.
$ ... $ is used for inline maths.
\begin{equation} ... \end{equation} is one of the many
dierent environments used for displayed maths.
\[...\] is similar to \begin{equation} ... \end{equation}
For other math environments, refer to Short Math Guide.
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 9 / 69
Typing mathematics
\documentclass{article}
\usepackage{amsmath,amsfonts}
\begin{document}
\begin{align}
\int x \cos(x) dx &= \int u dv
\\ &= uv - \int v du
\\ &= x \sin(x) - \int \sin(x) dx
\\ &= x \sin(x) + \cos(x) + C
\end{align}
\end{document}
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 10 / 69
Typing mathematics
_
x cos(x)dx =
_
udv (2)
= uv
_
vdu (3)
= x sin(x)
_
sin(x)dx (4)
= x sin(x) + cos(x) + C (5)
To remove numbering, use \begin{align*}
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 11 / 69
Typing mathematics (Optional)
Sometimes Displaystyle Output,
e.g. lim
n
n

k=1
1
k
2
=

2
6
is desired in text style.
Use \limits after each operator.
\lim_{n \to \infty}\limits
\sum_{k=1}^{n}\limits
or use \displaystyle for the whole section.
$\displaystyle lim_{n \to \infty}\sum_{k=1}^{n}$
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 12 / 69
Symbols
Greek letters
\alpha \theta o o \upsilon
\beta \vartheta \pi \phi
\gamma \iota c \varpi \varphi
\delta \kappa \rho \chi
c \epsilon \lambda \lambda \psi
\varepsilon j \mu \mu \omega
\zeta \nu \varsigma
\eta \xi \tau
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 13 / 69
Symbols
Binary Relations
< < > = =
\leq or \le \geq or \ge \equiv
\ll \gg
.
= \doteq
\prec ~ \succ \sim
_ \preceq _ \succeq \simeq
\subset \supset \approx
\subseteq \supseteq

= \cong
\sqsubset \sqsupset \Join
_ \sqsubseteq _ \sqsupseteq > \bowtie
\in \ni or \owns \propto
\vdash \dashv [= \models
[ \mid | \parallel \perp
\smile \frown \asymp
: : , \notin ,= \neq or \ne
You can negate the following symbols by prexing them with a \not command.
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 14 / 69
Symbols
Binary Operators
+ + -
\pm \pm \triangleleft
\cdot \div > \triangleright
\times \setminus \star
\cup \cap \ast
. \sqcup \sqcap \circ
\vee or \lor \wedge or \land \bullet
\oplus \ominus \diamond
\odot \oslash \uplus
\otimes _ \bigcirc H \amalg
\bigtriangleup _ \bigtriangledown \dagger
\lhd \rhd \ddagger
\unlhd \unrhd / \wr
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 15 / 69
Symbols
BIG Operators

\sum

\bigcup
_
\bigvee

\bigoplus

\prod

\bigcap
_
\bigwedge

\bigotimes

\coprod

\bigsqcup

\bigodot
_
\int
_
\oint

\biguplus
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 16 / 69
Symbols
Miscellaneous Symbols
. . . \dots \cdots
.
.
. \vdots
.
.
.
\ddots
\hbar \imath \jmath \ell
\Re \Im \aleph \wp
\forall \exists \mho \partial

\prime \emptyset \infty


\nabla \triangle \Box \Diamond
\bot \top \angle

\surd
\diamondsuit \heartsuit \clubsuit \spadesuit
\neg or \lnot \flat \natural \sharp
Refer to Short Math Guide or The Comprehensive L
A
T
E
XSymbol List or DeTeXify
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 17 / 69
Fonts and Size
Some commonly used Fonts (when in Math Mode)
$\mathnormal{x^2 -y^3}$
r

$\mathbb{C,R,Q}$
C, R, Q
$\oint \mathbf{v} \cdot d\mathbf{r} =0$
_
v dr = 0
$\mathcal{H,O,C}$
1, O, (
etc.
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 18 / 69
Fonts and Size (Optional)
For Text Mode:
Standard fonts: \textrm{This is a sentence}
This is a sentence
\texttt{...}: This is a sentence
{\itshape ...}: This is a sentence
etc.
There are a whole range of fonts available for Text Mode.
You may need to download add-ons or \usepackage{...} if you
want to use some (fancy-looking) fonts.
Look it up online if you are interested.
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 19 / 69
Fonts and Size (Optional)
{\tiny Hello} Hello
{\small...} Hello
{\large...} Hello
{\huge...} Hello
{\Huge...} Hello
For more info, refer online, such as Wikibooks
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 20 / 69
The text command
Often one is required to type text in math mode:
a, b, c N such that a
2
+ b
2
= c
2
The above is produced by
$\exists a,b,c \in \mathbb{N} \quad
\text{such that} \quad a^2+b^2=c^2$
One can see that the text is produced by \text{}. However, what is
\quad?
The whitespace character do not create space in math mode.
Special commands are needed.
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 21 / 69
Math spacing commands
Commands to dictate spacing in math mode.
\, \: \; \quad \qquad \hspace{1.3cm}
a, b, c Nsuch that a
2
+ b
2
= c
2
a, b, c N such that a
2
+ b
2
= c
2
a, b, c N such that a
2
+ b
2
= c
2
a, b, c N such that a
2
+ b
2
= c
2
a, b, c N such that a
2
+ b
2
= c
2
a, b, c N such that a
2
+ b
2
= c
2
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 22 / 69
Matrices
There are ve environments for matrices:
pmatrix bmatrix Bmatrix vmatrix Vmatrix
_
a b
c d
_ _
a b
c d
_ _
a b
c d
_

a b
c d

_
_
_
_
a b
c d
_
_
_
_
For example,
\begin{pmatrix}
a & b\\
c & d
\end{pmatrix}
_
a b
c d
_
\begin{bmatrix}
a & b & c\\
d & e & f\\
h & i & j
\end{bmatrix}
_
_
a b c
d e f
h i j
_
_
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 23 / 69
New commands
Symbols such as , R may be troublesome to type.
\varepsilon, \mathbb{R}
Use \newcommand{\ve}{\varepsilon}.
\ve will now call .
\documentclass{article}
\newcommand{\ve}{\varepsilon}
\begin{document}
$\ve$
\end{document}
Declare new commands in the preamble (before \begin{document})
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 24 / 69
New commands
$( \dfrac{1}{2} )$ produces (
1
2
)
Use \left(...\right) to t the brackets
$\left( \dfrac{1}{2} \right)$ produces
_
1
2
_
\newcommand(\abs)[1]{\left| #1 \right|}
\abs{x} and \abs{\sum_{n=1}^\infty\limits \frac{1}{n}}
will give [x[ and

n=1
1
n

respectively.
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 25 / 69
New commands
\newcommand{\WHAT}[4]{\sum_{#1}^{#2}
\limits \dfrac{#3}{#4}}
\WHAT{k=1}{\infty}{1}{k^2}.

k=1
1
k
2
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 26 / 69
Declare Math Operator (Optional)
$sin(x), \sin(x)$
sin(x), sin(x)
For pre-dened functions, no need to do this: \textrm{sin}
Sometimes the desired function is not predened, e.g. the function Span.
\DeclareMathOperator{\Span}{Span}
However, if you use \DeclareMathOperator*{\Span}{Span}
\displaystyle \Span_{y \in V} now gives Span
yV
i.e. similar eect to $\displaystyle \lim_{n \to \infty}$
lim
n
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 27 / 69
Typing Theorems (Optional)
Often required to type theorems.
Use the amsthm package.
\begin{theorem} ... \end{theorem}.
The theorems will be numbered automatically.
Theorem-like environments can be created. e.g. Denitions,
propositions and corollaries.
Refer to the documentation of amsthm for more details.
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 28 / 69
Special Characters
The characters
# $ % &
are commands in L
A
T
E
X. To specify them, use
\# \$ \% \^ \& \_ \{ \} \~ $\backslash$
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 29 / 69
Comments
Use % to make comments (the compiler will ignore anything after the %
symbol)
Useful when you face bugs/errors.
this is a % hidden
message
this is a message
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 30 / 69
The input le
What is in the input le?
Preamble
Document class
Packages
Commands that dene new functions, or to format the document
Document body
Title page
Table of Contents
Chapters, sections, subsections and so on
Bibliography, appendix, index, etc.
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 31 / 69
The input le
Document classes
article for articles in scientic journals, presentations, short reports,
program documentation, invitations, . . .
report for longer reports containing several chapters, small books,
PhD theses, . . .
book for real books.
beamer for creating Presentation, like this one
Options for document classes:
10pt,11pt,12pt Sets the size of the main font in the document. If no
option is specied, 10pt is assumed.
a4paper,letterpaper,. . . Denes the paper size. The default is
letterpaper. Besides that, a5paper, b5paper,
executivepaper and legalpaper can be species.
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 32 / 69
The input le
Examples:
documentclass{article}
documentclass[11pt]{article}
documentclass[12pt,a4paper]{article}
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 33 / 69
The input le
Packages
amsmath provides various features to facilitate writing math formulas
and to improve the typographical quality of their output.
amsfonts a set of miscellaneous T
E
X fonts that augment the standard
Computer Modern set normally distributed with T
E
X.
amsthm facilitates the kind of theorem setup typically needed in
American Mathematical Society publications.
graphicx support for graphics.
geometry provides a exible and easy interface to page dimensions.
pstricks a set of macros that allow the inclusion of PostScript
drawings directly inside L
A
T
E
X code.
TikZ producing vector graphics from a geometric/algebraic
description
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 34 / 69
The input le
Examples:
usepackage{amsmath}
usepackage{amsmath,amsfonts}
usepackage[margin=3cm]{geometry}
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 35 / 69
The input le
Example:
\documentclass[a4paper,12pt]{article}
\usepackage{amsmath,amsfonts,amsthm}
\newcommand{\ve}{\varepsilon}
\begin{document}
.
.
.
\end{document}
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 36 / 69
Typing Text
How to type text in L
A
T
E
X?
As per how it is done in Word.
A new paragraph is specied by a blank line between the previous and
current paragraph.
A new line is specied by \\.
Vertical Spacing: \\[1.3cm]
A new page by \newpage.
Use two (grave accent) for opening quotation marks and two
(vertical quote) for closing quotation marks. For single quotes, use
one of each.
. . . is specied by ldots.
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 37 / 69
Titles
Author information are specied by the following commands in the
preamble:
\title{}
\author{}
\date{}
Example:
\title{The Not So Short Introduction to \LaTeXe}
\author{by Tobias Oetiker \and Hubert Partl \and
Irene Hynaand \and Elisabeth Schlegl}
\date{\today}
Use \maketitle to insert the title. It is usually placed right after the
\begin{document}.
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 38 / 69
Chapters, sections and subsections
Dierent document classes support dierent levels of organization.
article Sections, subsections, subsubsections.
report Chapter and those of article.
book Same as report.
To declare them, use
\chapter{}
\section{}
\subsection{}
\subsubsection{}
Note. There is no \subsubsubsection{}.
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 39 / 69
Chapters, sections and subsections
Example:
\chapter{Typesetting Text}
\section{The Structure of Text and Language}
\subsection{Justified Paragraphs}
\subsection{Hyphenation}
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 40 / 69
Table of Contents
How to create a Table of Contents?
Created by \tableofcontents.
Usually inserted after \maketitle.
Automatically retrieve the section names.
Automatically retrieve the page numbers.
Document have to be L
A
T
E
Xed twice.
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 41 / 69
What we learn so far
Example:
\documentclass{report}
\title{The Not So Short Introduction to \LaTeXe}
\author{by Tobias Oetiker \and Hubert Partl \and Irene Hynaand
\and Elisabeth Schlegl}
\date{\today}
\begin{document}
\maketitle
\tableofcontents
\chapter{Typesetting Text}
\section{The Structure of Text and Language}
\subsection{Justified Paragraphs}
\subsection{Hyphenation}
\end{document}
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 42 / 69
Special Structures
Very often, special structures are required:
Tables
Graphics
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 43 / 69
Abstract
How to type a abstract?
\begin{abstract} ... \end{abstract}.
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 44 / 69
Lists
Three type of list environments:
itemize
enumerate
description
Itemize and enumerate are specied in a similar manner.
\begin{itemize}
\item itemize
\item enumerate
\item description
\end{itemize}
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 45 / 69
Lists
An example of description.
\begin{description}
\item[article] Sections, subsections, subsubsections.
\item[report] Chapter and those of article.
\item[book] Same as report.
\end{description}
It gives:
article Sections, subsections, subsubsections.
report Chapter and those of article.
book Same as report.
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 46 / 69
Tables
How to create tables?
The tabular environment is used.
L
A
T
E
X determines the width of the columns automatically.
Example:

c
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 47 / 69
Tables
The previous table is specied by:
\begin{tabular}{|c|c|c|}
\hline
$\alpha$ & $\beta$ & $\gamma$\\
\hline
$\delta$ & $\epsilon$ & $\zeta$\\
\hline
\end{tabular}
{|c|c|c|} is know as the table
specications.
\hline generates a horizontal
line.
& skips to the next column.
\\ starts a new row.
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 48 / 69
Tables(Optional)
What are table specications?
The letters specify the alignment of text horizontally in the column.
l for left-aligned text.
c for centered text.
r for right-aligned text.
Sometimes control over column width is desired
Use p{width}.
| draws a vertical line.
|| draws a double line.
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 49 / 69
Tables(Optional)
Examples:
{ccc}

c
{|ccc|}

c
{|l|c|r|}

c j
{|p{5pt}|p{1cm}|p{1in}|}

c
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 50 / 69
Tables
You can use \array if your table includes many math symbols
$\left(\begin{array}{ccc|c}
1 & 2 & 3 & \alpha
\\ 4 & 5 & 6 & \beta
\\ 7 & 8 & 9 & \gamma
\end{array}
\right)$
_
_
1 2 3
4 5 6
7 8 9
_
_
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 51 / 69
Floats(Optional)
What are oats?
Figures and tables cannot be broken across pages.
To oat them so that L
A
T
E
X can decide where to best place them.
L
A
T
E
X have two oat environments:
1
gure
2
table
Figures are usually used for graphics.
Tables are usually used for tables.
Captions are specied by \caption{}.
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 52 / 69
Floats(Optional)
How to create oats?
\begin{figure}[placement specifier] ... \end{figure}
\begin{table}[placement specifier] ... \end{table}
Placement specier tells L
A
T
E
X where the oat is allowed to be moved.
h here, at the very place in the text where it occurred. This is
useful mainly for small oats.
t at the top of a page.
b at the bottom of a page.
p on a special page containing only oats.
! without considering most of the internal parameters, which
could stop this oat from being placed.
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 53 / 69
Floats(Optional)
Example:
\begin{table}[!htbp]
\begin{tabular}{|c|c|c|}
\hline
$\alpha$ & $\beta$ & $\gamma$\\
\hline
$\delta$ & $\epsilon$ & $\zeta$\\
\hline
\end{tabular}
\caption{An example of floating tables}
\end{table}
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 54 / 69
Import Graphics
Graphics support is not native to L
A
T
E
X.
Use the graphicx package.
The command is \includegraphics{}.
PDF can import JPEG, PNG, PDF and MetaPost graphic formats.
The graphic le have to be in the same folder as the input le.
Options to control the graphic.
\usepackage{graphicx}
.
.
.
\includegraphics{Einstein}
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 55 / 69
Import Graphics(Optional)
The most commonly used options for \includegraphics{}.
height The height of the graphics (in any of the accepted T
E
X units).
width The width of the graphics (in any of the accepted T
E
X units).
scale Scale factor for the graphic. Specifying scale=2 makes the
graphic twice as large as its natural size.
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 56 / 69
Import Graphics(Optional)
Example:
\begin{figure}[!htbp]
\center
\includegraphics[width=\textwidth]{Einstein}
\caption{Example of including graphics}
\end{figure}
\includegraphics[width=\textwidth]{Einstein}
\includegraphics[height=0.5\textheight]{Einstein}
\includegraphics[scale=2]{Einstein}
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 57 / 69
Creating Graphics(Optional)
\usepackage[all]{xy}
\begin{displaymath}
\xymatrix{
A \ar[r]^f \ar[d]_g & B \ar[d]^{g} \\
D \ar[r]_{f} & C }
\end{displaymath}
A
f
//
g

B
g

D
f

//
C
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 58 / 69
Creating Graphics(Optional)

r
r
r
r
r

A
B
C
a
b
c
F =
_
s(s a)(s b)(s c)
s :=
a + b + c
2
-

6
= v,c = tanh
Refer to WikiBooks for more tutorials/examples of creating graphics
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 59 / 69
Bibliography
L
A
T
E
X have native support for simple bibliographies.
\begin{thebibliography}{num} ... \end{thebibliography}.
Each entry starts with \bibitem{marker}.
The marker is used to cite the reference in the document.
To cite, use \cite{marker}.
The entries will be enumerated in automatically in the bibliography.
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 60 / 69
Bibliography
Example:
\documentclass{article}
.
.
.
\begin{document}
.
.
.
An example of a citation~\cite{example1}.
.
.
.
\begin{thebibliography}{99}
\bibitem{example1} H.Partl: German T
E
X, TUGboat Volume~9
\bibitem{example2} Jun Jie: L
A
T
E
X Workshop
\end{thebibliography}
.
.
.
\end{document}
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 61 / 69
Bibliography
The above method is only recommended for simple bibliographies.
For a more robust method, BibTeX is preferred.
However, it is not recommended for absolute beginners to L
A
T
E
X.
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 62 / 69
Beamer
Copy-and-Paste, and compile the provided beamer le for
presentation-like output.
Search online if you are interested to learn more.
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 63 / 69
Log le
The log le is a compilation report.
It contains errors and warning that L
A
T
E
X generated.
Important to check the log le after each compilation.
More often than not, the log le is able to locate the error.
Try to L
A
T
E
X the document again if errors are present.
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 64 / 69
Online resources
L
A
T
E
X have a wealth of online support.
Each package comes with its on documentation.
Numerous tutorials set up across the web.
Google is your best friend.
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 65 / 69
Further reading
Recommended readings:
Short Math Guide.
The Not So Short Introduction to L
A
T
E
X2

.
Using L
A
T
E
X to Write a PhD Thesis.
L
A
T
E
X - Wikibooks.
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 66 / 69
L
A
T
E
X in the real world
Examples of latex being used to produce articles.
U0402328 - Depth-First Search Algorithm
U0402339 - Spanning Cycles in Tournaments
U0502893 - Panoramic Image Mosaicing
U0805124 - PC1325
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 67 / 69
The end
Q & A
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 68 / 69
The end
Thank You
(NUS Mathematics Society) L
A
T
E
X Workshop January 25, 2011 69 / 69

Das könnte Ihnen auch gefallen