latex intro part2

Upload: hasyim240386

Post on 04-Apr-2018

226 views

Category:

Documents


1 download

TRANSCRIPT

  • 7/30/2019 Latex Intro Part2

    1/29

    Latex Tutorial Part II--------- Software and typesetting tips for Latex

    WutaoJoint with Abtin

    Vancouver, Sept. 15, 2010

  • 7/30/2019 Latex Intro Part2

    2/29

    Outline

    1. Introduction . a e or an omp er

    3. Drawing Tools

    4. Reference Management .

    6. Case Study: IEEETran.cls

    . onc us on

  • 7/30/2019 Latex Intro Part2

    3/29

    Introduction

    Donald Knuth --------- TeX Leslie . B. Lamport --- LaTeX /leitek/

    intended for the creation ofbeautiful books - and especially for

    books that contain a lot ofmathematics

  • 7/30/2019 Latex Intro Part2

    4/29

    Introduction

    Latex ------- universal typesetting tools for. ,Physics, Engineering, Finance ..

    corporations.

    , , , ,Wiley, etc

    published as a classic Latex Style

  • 7/30/2019 Latex Intro Part2

    5/29

    Advantages of Latex

    cross OS platform, ,

    pdf, ps, dvi output

    sp ay ev ce n epen en Portable output

    fancy equations

    powerful reference management layman ===== professional

  • 7/30/2019 Latex Intro Part2

    6/29

    Disadvantages of Latex

    Maybe hard to use at the beginning Dont support WYSIWYG (except

    l x or next version Tex

    Somehow low efficiency to prepare

  • 7/30/2019 Latex Intro Part2

    7/29

    How LaTeX Works

    LaTeX source editor + LaTeXcomp er . ex

    Like C + Borland C com iler

    Many LaTeX compilers

  • 7/30/2019 Latex Intro Part2

    8/29

    Popular LaTeX IDE for Windows

    1. MiKTeX + WinEdit p: www.m ex.org +

    http://www.winedt.com/

    2. MiKTeX + TeXnicCenterhttp://www.texniccenter.org/

    3. TexLive2010 (also in mac, linux)

    .

    TeXMaker, xeTeX + MiKTex etc

  • 7/30/2019 Latex Intro Part2

    9/29

  • 7/30/2019 Latex Intro Part2

    10/29

  • 7/30/2019 Latex Intro Part2

    11/29

  • 7/30/2019 Latex Intro Part2

    12/29

    mportant eatures o us ng

    1. Highlight keywords . au oma c pac ages own oa

    3. Auto completion

    4. Keywords reminders .

    6. Free of memorizing many symbols,,

  • 7/30/2019 Latex Intro Part2

    13/29

    common commands

    latex sample.tex ( smaple.dvi) dvipdf sample.dvi ( sample.pdf)

    . .

    pdflatex sample.tex (sample.pdf)

    pspdf,dvips

  • 7/30/2019 Latex Intro Part2

    14/29

    Popular LaTeX IDE for Linux

    1. Kile + eTeX or encTeX or MiKTeX ase comp ng sys em

    (department computer)

    p: e.source orge.ne 2.TexMaker + eTeX .... etc

    http://www.xm1math.net/texmaker/

    . http://www.tug.org

  • 7/30/2019 Latex Intro Part2

    15/29

  • 7/30/2019 Latex Intro Part2

    16/29

    LyX WYSIWYG LaTeX

    http://www.lyx.org/ Like M$ Word type systems

  • 7/30/2019 Latex Intro Part2

    17/29

    Print Page

    Print topics here

  • 7/30/2019 Latex Intro Part2

    18/29

    Example: A Minimum Setup

    \documentclass[letter,10pt]{article}

    \title \LaTeX Tutorial

    \author{Wutao Yin}

    \begin{document}

    \maketitle \begin{abstract}

    \end{abstract}

    \section Introduction \end{document}

  • 7/30/2019 Latex Intro Part2

    19/29

    Some exmaples

    1. Equations Demo2.tex

    2. Fi ures Demo3.tex

    3. Tables. Demo4.tex

    4. References Demo5.tex

    5. Some advanced equations typesetting Demo6.tex

    .

  • 7/30/2019 Latex Intro Part2

    20/29

    Drawing Tools

    EPS format figures vector figures Other types figures to EPS format

    , ,

  • 7/30/2019 Latex Intro Part2

    21/29

    EPS format figures

    Matlab output so an o er

    SmartDraw output

    Acrobat Pro

    Open Office joint with virtual printer

    Metapost ( http://tug.org/metapost.html

  • 7/30/2019 Latex Intro Part2

    22/29

    Other types to EPS

    Virtual printer Acrobat Pro

    online small tools

  • 7/30/2019 Latex Intro Part2

    23/29

    Why use such reference tools?

    Visualize you bibtex items Easy to maintain

    bib items for you

    Keep it neat in a standard format

  • 7/30/2019 Latex Intro Part2

    24/29

    Mainstream Softwares

    Jabref (free Linux/Windows Javaase

    root> ava ar Jabref2.xxx. ar

    Zotero (firefox addons)

    RefWorks, OneNote (commercial)

  • 7/30/2019 Latex Intro Part2

    25/29

    LaTeX Presentation Prep.

    beamer.cls (classic one)

    M$ PPT joint with Tex4ppt (bekerly, from for M$

    M$ PPT joint with Aurora

    (e.g,

    htt ://www.numberem ire.com/texe uationeditor/equationeditor.php)

  • 7/30/2019 Latex Intro Part2

    26/29

    An Example by Aurora and Mathtype

    2 ( ) ( ) ( )

    2

    ( )r U r E r m

    r = +=

  • 7/30/2019 Latex Intro Part2

    27/29

    Case study: IEEETran.cls

    Go over it..

  • 7/30/2019 Latex Intro Part2

    28/29

    Tutorials and Useful Links

    http://tug.org.in/tutorials.html http://www.latex-project.org/

    .

    http://elevatorlady.ca/doc/index.html(Aurora)

    . . A not so short tutorial for latex

  • 7/30/2019 Latex Intro Part2

    29/29

    Print Page

    Print topics here