Download presentation
Presentation is loading. Please wait.
1
Academic Writing Using LaTeX
Michael Boyer Chris Gregg Jiawei Huang University of Virginia 04/24/2012 Basic idea, take advantage of, employ HW whose output is not always accurate, but can be implemented more efficiently, so that the efficiency of the whole system can be improved while still maintaining the output quality.
2
LaTeX is a typesetting system
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 In 1977, well-known computer scientist Donald Knuth was working on the second volume of his seminal book The Art of Computer Programming. When he received the proofs from the publisher, he was horrified at how awful the typesetting looked. He decided to write his own digital typesetting system, which he called TeX. The first version was released a year later in 1978. TeX is a fairly low-level language, so in 1985 Leslie Lamport started the development of a high-level interface to TeX, which he called LaTeX. LaTeX is the primary way in which TeX is used today.
4
Why Use LaTeX? Looks better Separation of content & formatting
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
(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) Packages are collections of macros. 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 Package Manager by MiKTeX To enable a package \usepackage{package_name}
9
Let’s Write a Paper! Download author kits from the conference website:
-> ISCA2012.zip Web-based LaTeX editor/compiler: 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 Fractions, square root, etc.
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) Practice \usepackage{amssymb}
Practice e = \lim_{n\to\infty} \left( 1 + \frac{1}{n} \right)^n \usepackage{amssymb} Equation array (multiline equations): \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 Equation editor
14
Cross-reference Define Reference
\label{my_label} Reference \ref{my_label} Use with chapters, sections, tables, figures, equations, etc.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.