- 186 Views
- Uploaded on
- Presentation posted in: General

Academic Writing Using LaTeX

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Academic Writing Using LaTeX

Michael Boyer

Chris Gregg

Jiawei Huang

University of Virginia

04/24/2012

What is LaTeX?

LaTeX is a typesetting system

LaTeX Source File

LaTeX Compiler

- TeX released by Donald Knuth in 1978
- LaTeX released by Leslie Lamport in 1985

- Looks better
- Especially math

- Separation of content & formatting
- More flexible
- Easier concurrent editing
- Easier citations
- More widely available
- Free (as in beer)
- Free (as in speech)

- What you see is what you get (WYSIWYG)
- All-in-one document format
- More widely used

- What is LaTeX and why use it?
- High-level workflow
- How to write a paper
- Equations
- Figures & Tables
- Citations
- Packages

- Compiling
- Useful tools

.tex

(input file)

.bib

(bibliographic file)

.sty

(style file)

.eps

(graphics file)

latex

.dvi

(typeset file)

packages

pdflatex

\usepackage{color}

\usepackage{amsmath}

\usepackage{multirow}

\usepackage{graphicx}

\usepackage{subfigure}

...

dvips

.ps

(postscript file)

ps2pdf

(output file)

- Collections of macros to extend the functionality:
- Text coloring
- Cell merging in a table
- Special math symbols
- …

- Download from www.ctan.org
- Package Manager by MiKTeX

- To enable a package
- \usepackage{package_name}

- Download author kits from the conference website:
- www.cs.virginia.edu/~jh3wn/latex-> ISCA2012.zip

- Web-based LaTeX editor/compiler:
- http://www.scribtex.com/
- Create a project “ISCA”, upload the .zip file

- \usepackage{amsmath}
- Embedded in text, use $...$:
- Separate paragraph, use or or
- In math mode, sky is the limit!

$$

…

$$

\[

…

\]

\begin{equation}

…

\end{equation}

- Super/subscript
- x^{2} ->
- x_{0} ->

- Fractions, square root, etc.
- \frac{x+1}{x-1} ->
- \sqrt{x} ->
- \sin{\theta} ->

- Greek letters
- \alpha ->

- Operators
- \times ->
- \le ->

- Normal text
- y=x\mbox{ if and only if }x<0

->

- \usepackage{amssymb}
- Equation array (multiline equations):

Practice

e = \lim_{n\to\infty} \left( 1 + \frac{1}{n} \right)^n

\begin{align*}

[A]&=[2x]=[-2,2]\\

[B]&=[x^2+1]=[1,2]\\

[A+B]&=[-2,2]+[1,2]=[-1,4]

\end{align*}

\begin{align}

...

\end{align}

Numbered

Un-numbered

- LaTeX Cheat sheet
- Wikipedia
- Symbol classifier
- Detexify http://detexify.kirelabs.org/classify.html
- Equation editor http://www.codecogs.com/latex/eqneditor.php

- Define
- \label{my_label}

- Reference
- \ref{my_label}

- Use with chapters, sections, tables, figures, equations, etc.