Latex Tutorial(Latex指南-同济张大强)
- 格式:pdf
- 大小:3.61 MB
- 文档页数:20
Table of Contents \tableofcontents
page 9
Ressources humaines
Equations
\begin{equation}\label{eq_P} P = b_1 \cdot P_1 + b_2 \cdot P_2 \end{equation} The function \eqref{eq_P} …
Why Latex?
One
column, two columns Text format, font type, size Line spacing problem Page number Picture and table location Equations Figures Citations
page 10
Ressources humaines
Equations (cont.)
$...$,
e.g., $a$ $$...$$, \begin{equation} … \end{equation}
\begin{displaymath
… \end{displaymath}
\begin{eqnarry} …\end{eqnarray}
Latex Tutorial
Dr. Daqiang Zhang 张 Tongji University dqzhang@ 30 October 2015
Outlines
Introduction
Why
Latex Latex Usage • Backbone • Equation • Figure • Table • Bibtex Complie Latex Reference
page 5
Ressources humaines
Why Latex?
page 6
Ressources humaines
BackBone (cont)
page 7
Ressources humaines
BackBone (cont.)
page 8
Ressources humaines
BackBone (cont.)
16
Ressources humaines
Compile
In
cmd or terminal: $ xelatex –interaction=nonstopmode ieee.tex
If
including BibTex: $ xelatex -interaction=nonstopmode ieee $ bibtex ieee $ xelatex -interaction=nonstopmode ieee $ xelatex -interaction=nonstopmode ieee
page 13
Ressources humaines
Figures (cont.)
Figure
• • • • •
extension: EPS Matlab OriginPro MS Visio GNUPlot SigmaPlot
• Latex pgfplots & Ticks
Mfpic, TeXdraw, curve2e, feyn, feynMF, axodraw …
page 1 Ressources humaines
Introdsources humaines
Introduction (cont.)
Engine:
• Knuth’s Tex • pdfTex: tex->pdf without generating dvi files • XeTex: Support Unicode and OpenType Packages • PlainTex: original tex commands • AMSTex: provided by AMS • Latex: provided by Lesile Lamport Distributions • TexLive: https:/// • MikTex: / • CTex: /
15
Reference - BibTeX
@inproceedings{paper_A, author = {Bruce D. Lucas and Takeo Kanade}, title = {Optical … booktitle = {IJCAI}, year = {1985}, pages = {981-984} } Lucas et al. proposed … \cite{paper_A}
page 3 Ressources humaines
Introduction (cont.)
Installation
• Download Tex Live’2014 DVD Image
- /mirrors/CTAN/systems/texlive/Images/texlive201 4-20140525.iso
page 11 Ressources humaines
More Equations
page 12
Ressources humaines
Figures
\begin{figure}[thbp] \centering \includegraphics[width=…]{yy.eps} \caption{…}\label{fig:…} \end{figure}
page 14 Ressources humaines
Citation - BibTeX
\bibliographystyle{IEEEtran} \bibliography{IEEEreference}
IEEEreference.bib Download
Citation:
Ressources humaines
Texmaker
17
Ressources humaines
Compile (cont.)
Latex Latex DVI/PS PS/PDF PDFLatexPDF
BibTex
page 18
Ressources humaines
Thanks!
page 19 Ressources humaines
• Install Tex Live’2014 • Install WinEdt /TexMaker / LyX (optional)
- PostScript:
– Engine: GhostScript 9.10 X32/X64 – Viewer: Gsview 5.0
page 4
Ressources humaines