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

Wutao Joint with Abtin Vancouver, Sept. 15, 2010 Outline

• 1. Introduction • 2. LTXLaTeX Editor and C ompil er • 3. Drawing Tools • 4. Reference Management • 5. LaTeX Presentation Prepare • 6. Case Study: IEEETran.cls • 7. CliConclusion Introduction • Donald Knuth ------TeX • Leslie . B. Lamport --- LaTeX /leitek/ • Current popular version LaTeX2e • “intended for the creation of beautiful books - and especially for books that contain a lot of mathematics ” Introduction • Latex ------universal typesetting tools for academic research community. Math, Physics, Engineering, Finance ….. • Supported by nearly all the publishing corporations. • IEEE, ACM , Elsevier , Springer , Wiley, ……… etc • Almost all the IEEE Journals are published as a classic Latex Style Advantages of Latex • cross OS platform • Windows, Linux , Mac • , ps, dvi output • disp lay dev ice in depen den t • Portable output • fancy equations • powerful reference management • layman ===== professional Disadvantages of Latex • Maybe hard to use at the beginning • Don’t support WYSIWYG (except lyy)x or next version Tex) • Somehow low efficiency to prepare a presentation How LaTeX Works • LaTeX source editor + LaTeX compiler (*. ) • Like C + Borland C compiler • Many LaTeX compilers Popular LaTeX IDE for Windows

• 1. MiKTeX + WinEdit • http:// www.mikt ex.org/ + http://www.winedt.com/ • 2. MiKTeX + TeXnicCenter http://www.texniccenter.org/ • 3. TexLive2010 (also in mac, linux) • http://tug.org/ • , xeTeX + MiKTex etc

IffiImportant features of using professional editors • 1. Highlight keywords • 2t2. automa tiktic packages down ldload • 3. Auto completion • 4. Keywords reminders • 5. One Key functions • 6. Free of memorizing many symbols, keywords, environment names common commands • sample.tex (Æ smaple.dvi) • dvipdf sample.dvi (Æ sample.pdf) • dvips sample. dvi (Æ sample. ps) • pdflatex sample.tex (Æsample.pdf) • pspdf,dvips • …… Popular LaTeX IDE for Linux

• 1. + eTeX or encTeX or MiKTeX • KDE b ased compili ng sys tem (department computer) http: //kile.sourcef orge.net/ • 2.TexMaker + eTeX .... etc • http://www.xm1math.net/texmaker/ • 3. TexLive2010 • http://www.tug.org Remote Connection to Dept. • ssh –X ssh.ece.ubc.ca

• Input dept . ID and password

• Use LaTeX at home LyX WYSIWYG LaTeX • http://www.lyx.org/ • Like M$ Word type systems Print Page • Print topics here Example: A Minimum Setup

• \documentclass[letter,10pt]{article} • \title{\LaTeX Tutorial} • \author{Wutao Yin} • \begin{document} • \maketitle • \begin{abstract} • bla bla bla • \end{abstract} • \section{{}Introduction} • \end{document} Some exmaples

• 1. Equations Demo2.tex •2. Figures Demo3.tex • 3. Tables. Demo4.tex • 4. References Demo5.tex • 5. Some advanced equations typesetting • Demo6.tex • 6. Aurora’ s cheating sheet Drawing Tools • EPS format figures vector figures • Other types figures to EPS format • JPG, BMP, etc EPS format figures

• Matlab output • Viso 2000 an d o lder • SmartDraw output • Acrobat Pro • Virtual Printer Output • Open Office joint with virtual printer • Metapost ( http://tug.org/metapost.html ) Other types to EPS • Virtual printer • Acrobat Pro • Some small free software and online small tools Why use such reference tools? • Visualize you bibtex items • Easy to maintain • Somehow automatically download bib items for you • Keep it neat in a standard format Mainstream Softwares • Jabref (free Linux/Windows Java bd)based) • root> java –jjjar Jabref2.xxx.jar • Zotero (firefox addons) • RefWorks, OneNote (commercial) LaTeX Presentation Prep.

• beamer.cls (classic one) • M$ PPT joint with Mathtype • M$ PPT joint with Tex4ppt (bekerly, from for M$ PPT 2003 and before) • M$ PPT joint with Aurora • M$ PPT join with some online latex compilers (e.g, httpppq://www.numberempire.com/texequationedito r/equationeditor.php) An Example by Aurora and Mathtype

= −∇2ψψψ()rUr + () ()r = Er() 2m Case study: IEEETran.cls • Go over it…….. Tutorials and Useful Links • http://tug.org.in/tutorials.html • http://www.latex-project.org/ • http://miktex. org/ • http://elevatorlady.ca/doc/index.html (Aurora) • http://www.ctan.org/ (packages) • A not so short tutorial for latex Print Page • Print topics here