200 likes | 520 Views
LaTeX. R01942068 賴威 昇 2012.10.26. Outline. Introduction Why using LaTeX ? LaTeX usage: Backbone Equation Figure Table BibTex Compile Conclusion. Introduction. Donald E. Knuth. Introduction. Typesetting System Produce high-quality papers, books *. tex → *. pdf
E N D
LaTeX R01942068 賴威昇 2012.10.26
Outline • Introduction • Why using LaTeX? • LaTeX usage: • Backbone • Equation • Figure • Table • BibTex • Compile • Conclusion
Introduction • Donald E. Knuth
Introduction • Typesetting System • Produce high-quality papers, books • *.tex→ *.pdf • Make typesetting like coding • More: • LaTeX • XeLaTeX • MikTeX
Why using LaTeX ? • Elegant mathematical formula • Easier to write paper !! • Most conferences have LaTeX template. • Don’t worry about: • Text format, font type, size • Line spacing problem when writing equation • Picture and table location • Equation, figure, citation number • Citation format - Bibtex
LaTeX Backbone \documentclass[conference]{IEEEtran} \usepackage{…} … \set… \title{…} \author{ author1 information \\ author2 information \\ }
LaTeX Backbone \begin{document} \maketitle \begin{abstract} … \end{abstract} \section{Introduction} … \section{…} \subsection{…} \subsubsection{…} \end{document}
Equation \begin{equation} \label{eq_P} P = b_1 \cdotP_1 + b_2 \cdotP_2 \end{equation} The function \eqref{eq_P} …
Figure \begin{figure}[t] \centering \includegraphics[width=…]{….jpg} \caption{…} \label{fig:…} \end{figure}
Table \begin{table}[t] \centering \begin{tabular}{|c||c||c|} \hline A1 & A2 & A3 \\ \hline\hline B1 & B2 & B3\\ C1 & C2 & C3\\ \hline \end{tabular} \caption{An Example of a Table} \label{table_example} \end{figure}
Citation - BibTeX \bibliographystyle{IEEEtran} \bibliography{IEEEreference} • IEEEreference.bib • Download Citation:
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}
Compile • In cmd or terminal: $ xelatex –interaction=nonstopmodeieee.tex • If including BibTex: $ xelatex-interaction=nonstopmodeieee $ bibtexieee $ xelatex-interaction=nonstopmodeieee $ xelatex-interaction=nonstopmodeieee • Texmaker
Conclusion • Good for writing papers ! • More beautiful than MS Word ! • Poor Chinese support • Difficult to getting start • Too many setting if writing general report