1 / 14

Academic Writing Using LaTeX

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. PDF. LaTeX Compiler. Brief History. TeX released by Donald Knuth in 1978 LaTeX released by Leslie Lamport in 1985.

blanca
Download Presentation

Academic Writing Using LaTeX

An Image/Link below is provided (as is) to download presentation 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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Academic Writing Using LaTeX Michael Boyer Chris Gregg Jiawei Huang University of Virginia 04/24/2012

  2. What is LaTeX? LaTeX is a typesetting system LaTeX Source File PDF LaTeX Compiler

  3. Brief History • TeX released by Donald Knuth in 1978 • LaTeX released by Leslie Lamport in 1985

  4. Why Use LaTeX? • 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)

  5. Why Use Word? • What you see is what you get (WYSIWYG) • All-in-one document format • More widely used

  6. Workshop Outline • What is LaTeX and why use it? • High-level workflow • How to write a paper • Equations • Figures & Tables • Citations • Packages • Compiling • Useful tools

  7. Steps to Produce a PDF Using LaTeX .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 .pdf (output file)

  8. Packages • 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}

  9. Let’s Write a Paper! • 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

  10. Math 1 • \usepackage{amsmath} • Embedded in text, use $...$: • Separate paragraph, use or or • In math mode, sky is the limit! $$ … $$ \[ … \] \begin{equation} … \end{equation}

  11. Math 2 (in math mode) • 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 ->

  12. Math 3 (in math mode) • \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

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

  14. Cross-reference • Define • \label{my_label} • Reference • \ref{my_label} • Use with chapters, sections, tables, figures, equations, etc.

More Related