1. LaTeX is a document markup language and document preparation system
2. How to learn: Helpful links for latex.
LaTeX: Basics and Reports, Articles and Slides
http://kom.aau.dk/net/guides/latex.html
The Not So
Short Introduction to LaTeX
http://www.ctan.org/tex-archive/info/lshort/english/lshort.pdf
3. download the gz file: latex_ex.tar.gz,
open a new terminal, go to the directory where you download your gz file, type
tar –xvzf latex_ex.tar.gz
cd send
see http://kom.aau.dk/net/guides/latex.html for more details
latex ex1.tex
latex ex1.tex
xdvi ex1.dvi
dvips -o ex1.ps ex1.dvi
ps2pdf ex1.ps ex1.pdf
xpdf ex1.pdf
4. The structure of ex1.tex
%you can aslo use book, report, letter
\documentclass{article}
%loads LaTeX packages
\usepackage{graphicx}
\usepackage{dcolumn}
\usepackage{bm}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage[dvips]{epsfig}
\usepackage{psfrag}
\usepackage{amsfonts}
\usepackage{euscript}
\usepackage{array}
\usepackage{multirow}
\usepackage{longtable}
\usepackage{supertabular}
\usepackage{subfigure}
%layout of the paper, see
Ref: lshort Chapter 6.
\textwidth=16cm
\textheight=20cm
\hoffset=-1.5cm
%Beginning of the document.
\begin{document}
%The title of the paper.
\title{Curvature Analysis on Circle and Ellipse}
\author{Wurigen Bo}
\date{June,2007} %try \date{\today}
\maketitle
\section{Analysis} \label{S:anal}
….
….
\subsection{Error analysis of A1}
….
….
\end{document}
5. Mathematical Formulae.
Ref: lshort Chapter 3, also please read
3.10( List of Mathematical Symbols).
http://www.ctan.org/tex-archive/info/lshort/english/lshort.pdf
%Writing formula in text using $...$, for example:
Let 3 points on the unit circle be $P_b(-\sin\theta_1, \cos\theta_1),\ P_o(0, 1),\ P_f(\sin\theta_2, \cos\theta_2)$, in which $\theta_1,\ \theta_2$ satisfy $\theta_2/\theta_1 = k \geq 1$. We will use A1 to estimate the curvature of the unit circle in point $P_o$.
%one line equation
\begin{equation}\label{P3re}
\hat{f}^{\prime\prime}(x_2) =
\frac{1}{h^2}\left(Af(x_1)+Bf(x_2)+Cf(x_3)\right) \ .
\end{equation}
%multiline equations
\begin{eqnarray} \label{coefs}
& & a_1 = (\sin\theta_1+\sin\theta_2)/2,\quad b_1 = (\cos\theta_2 - \cos\theta_1)/2, \nonumber \\
& & a_2 = (\sin\theta_2-\sin\theta_1)/2, \quad b_2 =(\cos\theta_2 + \cos\theta_1)/2 - 1\ .
\end{eqnarray}
Notes for the above formulae
\ (backslash space) means a space.
\quad Leave a larger space.
\nonumber Do not number the formulae.
& Align rows
\label{} Label
the formulea, you can your \ref{} to get the number of the formula.see \ref{A1err}
in the ex1.tex file.
\\ Next line.
6. Tables and Figures
Tables: see Table_error in ex1.tex
Figures: see fig:A_I.
Also see http://kom.aau.dk/net/guides/latex.html
You
can only insert .eps figures.
Use convert see http://kom.aau.dk/net/guides/latex.html
With Matlab, you can save a figure as a .eps figure. Draw a figure, then use
File -> Save as, see the following
figures.

