Home
LaTeX - University of Michigan
Contents
1. TeXShop etc Keep a cheat sheet handy Generate tables of numbers somewhere else MATLAB package Excel LaTeX utility TeXShop call out window etc Use Subversion to back up your tex documents Seth R Johnson UMich IATEX Introduction 10 15 2009 26 30 How you do it Other useful tips Use template documents copy paste or insert large chunks like float definitions this is done automatically if using Vim LaTex TeXnicCenter TeXShop etc Keep a cheat sheet handy Generate tables of numbers somewhere else MATLAB package Excel LaTeX utility TeXShop call out window etc Use Subversion to back up your tex documents For hand drawn graphics use Adobe Illustrator or other programs that can directly edit PDF files Seth R Johnson UMich IATEX Introduction 10 15 2009 26 30 How you do it Other useful tips Use template documents copy paste or insert large chunks like float definitions this is done automatically if using Vim LaTex TeXnicCenter TeXShop etc Keep a cheat sheet handy Generate tables of numbers somewhere else MATLAB package Excel LaTeX utility TeXShop call out window etc Use Subversion to back up your tex documents For hand drawn graphics use Adobe Illustrator or other programs that can directly edit PDF files Compile early compile often note that re compiling will often fix references Seth R Johnson UMich IATEX Intr
2. and themes Portability PDF output will always look the same Graphics PDF EPS for scalable replaceable images Cost 0 00 Availability Everywhere Elitism Well yeah Seth R Johnson UMich TEX Introduction 10 15 2009 6 30 e More keyboard less mouse Introduction What s the catch More keyboard less mouse Instead of having to navigate through menus more menus and dialog boxes you may have to wade through documentation or books Seth R Johnson UMich IATEX Introduction 10 15 2009 7 30 Introduction What s the catch More keyboard less mouse Instead of having to navigate through menus more menus and dialog boxes you may have to wade through documentation or books Compiler errors if you do something wrong Seth R Johnson UMich IATEX Introduction 10 15 2009 7 30 Introduction What s the catch More keyboard less mouse Instead of having to navigate through menus more menus and dialog boxes you may have to wade through documentation or books Compiler errors if you do something wrong Learning curve Seth R Johnson UMich IATEX Introduction 10 15 2009 7 30 Introduction What s the catch More keyboard less mouse Instead of having to navigate through menus more menus and dialog boxes you may have to wade through documentation or books Compiler errors if you do something wrong Learning curve A advanced TeX coding us
3. detailed stuff Friends who know ATEX Seth R Johnson UMich IATEX Introduction 10 15 2009 29 30 Resources This presentation Presentation available online http umich edu sethrj latex_intro pdf Presentation source code http umich edu sethrj latex_intro zip and it s complicated because it heavily depends on the beamer package It uses pdf files etc so it must be compiled with pdflatex latex_intro tex Hyperlinks All pink text blocks in this document are hyperlinks EGS v sana Seth R Johnson UMich TEX Introduction 10 15 2009 30 30
4. similar but simpler things i e beginfequation starts the environment for equations without numbers Seth R Johnson UMich IATEX Introduction 10 15 2009 22 30 How you do it Math Numbered Equations with numbers referenced later by ref eq quadratic or eqref eq quadratic begin fequation f x ax ayx a 1 label eq quadratic f x a_2 x72 a_1 x a_0 end equation Un numbered equation environment or equation environment with nonumber command or math or math Seth R Johnson UMich IATEX Introduction 10 15 2009 237 30 How you do it Long math equations Use align best for derivations etc _ beginfalign ae a x amp 1 2 3 4 5 5 6 amp qquad 5 6 cdots 6 9411 amp 6 9 11 cdots end align Use multline for really long equations first line is left aligned last line is right aligned middle lines are centered i begin multline Omega 2 pi int_ 1 1 Q 2 j n f nan Q mu dd mu Q 3x 2x 20 3x 2 2x 20 end multline Seth R Johnson UMich IATEX Introduction 10 15 2009 24 30 How you do it Sample definitions Good idea to make an include tex file with package definitions and ATEX commands such as renewcommand vec 1 bm 1 x newcommand EE 1 ensuremath times 107 1 1x 10 newcommand del vec nabla Vf newcomman
5. 009 6 30 Introduction Why use IATEX Math integration with the rest of the document Labels and references Aesthetics very clean consistent readable results Drs Larsen and Bielajew will love you Control defaults are usually excellent but you can tweak virtually any aspect Separation of visual and textual components macros and themes e Portability PDF output will always look the same Graphics PDF EPS for scalable replaceable images Seth R Johnson UMich TEX Introduction 10 15 2009 6 30 Introduction Why use IATEX Math integration with the rest of the document Labels and references Aesthetics very clean consistent readable results Drs Larsen and Bielajew will love you Control defaults are usually excellent but you can tweak virtually any aspect Separation of visual and textual components macros and themes Portability PDF output will always look the same Graphics PDF EPS for scalable replaceable images Cost 0 00 Availability Everywhere Seth R Johnson UMich TEX Introduction 10 15 2009 6 30 Introduction Why use IATEX Math integration with the rest of the document Labels and references Aesthetics very clean consistent readable results Drs Larsen and Bielajew will love you Control defaults are usually excellent but you can tweak virtually any aspect Separation of visual and textual components macros
6. ATEX More Than a Good Excuse for Free Pizza Seth R Johnson University of Michigan Ann Arbor October 15 2009 MICHIGAN Seth R Johnson UMich IATEX Introduction 10 15 2009 1 30 Introduction Starting ATEX What you can do How you do it Resources Introduction What can you make Presentations Lab reports Journal articles Homework Your thesis Clean readable notes Seth R Johnson UMich TEX Introduction 10 15 2009 3 30 Introduction But but why not equation editor t l t LI I AR to c At 3 17 p 1 o g o B 4 Z a ag fo g dv 42 0 B dv 2 o dv i At oT 0 and the associated disaster of trying to reference that equation elsewhere in your thesis Seth R Johnson UMich IATEX Introduction 10 15 2009 4 30 Introduction Compare with ATEX 1 pert Jt N Cee er c old oo old i _ Os t 1 old OB Gy OB a Tue T Cor 0 And to reference it Eq eqref long Eq 3 17 f oot av 4r cotta 3 17 0 Seth R Johnson UMich TEX Introduction 10 15 2009 5 30 Introduction Why use IATEX Math integration with the rest of the document Seth R Johnson UMich TEX Introduction 10 15 2009 6 30 Introduction Why use IATEX Math integration with the rest of the document Labels and references Seth R Johnson UMich IATEX Introduction 10 15 2009 6 30 Introduction Why u
7. ackets optional arguments to commands but can be used as regular text asdf includegraphics width 3in learning_curve e Percent sign comments some text this does not show up Underscore _ and carat subscript and superscript a_n 2 a_ n 2 a_ n 2 a 2 n f a 2 n 2 2 Qn Qn a a an2 a a Ampersand amp and double backslash tab and newline Seth R Johnson UMich IATEX Introduction 10 15 2009 20 30 How you do it Document structure Document class article presentation book etc e Preamble include packages define commands etc Sections subsections etc used for display references table of contents equation numbering documentclass 10pt article usepackagefamsmath newcommand hithere Why hello there begin document section Introduction This is a paragraph of regular text hithere This is another paragraph Another sentence in that paragraph This sentence follows immediately after it section Conclusions Further research is necessary into eating delicious cake end document Seth R Johnson UMich IATEX Introduction 10 15 2009 21 30 How you do it Basic text Paragraphs separated by an empty line and most spaces don t matter Commands for inline math dollar signs i e 3x b 3x b Environments define most everything else e g equation itemize enumerate centering Note starred environments often do
8. d dd mathop mathrm d fax Then include the file in every document you write with the command input include which substitutes the contents of the file include tex into the document that uses it just like the include directive in C Seth R Johnson UMich IATEX Introduction 10 15 2009 25 30 How you do it Other useful tips Use template documents copy paste or insert large chunks like float definitions this is done automatically if using Vim LaTex TeXnicCenter TeXShop etc Seth R Johnson UMich IATEX Introduction 10 15 2009 26 30 How you do it Other useful tips Use template documents copy paste or insert large chunks like float definitions this is done automatically if using Vim LaTex TeXnicCenter TeXShop etc Keep a cheat sheet handy Seth R Johnson UMich IATEX Introduction 10 15 2009 26 30 How you do it Other useful tips Use template documents copy paste or insert large chunks like float definitions this is done automatically if using Vim LaTex TeXnicCenter TeXShop etc Keep a cheat sheet handy Generate tables of numbers somewhere else MATLAB package Excel LaTeX utility TeXShop call out window etc Seth R Johnson UMich IATEX Introduction 10 15 2009 26 30 How you do it Other useful tips Use template documents copy paste or insert large chunks like float definitions this is done automatically if using Vim LaTex TeXnicCenter
9. er using the VIM LaTeX plugin Seth R Johnson UMich IATEX Introduction 10 15 2009 11 30 Starting IATEX Compiler Distributions The compiler usually comes in several distributions which have compilers packages documentation tools fonts and more Mac MacTex Windows ProTeXt or MiIKTEX Linux often included by default but if not TeX Live Usage Much of the time compiling is done from the command line for example pdflatex somedoc tex which creates a pdf file Some programs like TeXshop on the Mac or TeXnicCenter on Windows do it with a button Seth R Johnson UMich IATEX Introduction 10 15 2009 12 30 Starting IATEX Viewers Output may be either dvi from regular ATEX compiler pdf after conversion with dvipdf or the result of pdflATEX Various viewers All platforms Adobe pdf reader Mac TeXShop Preview Windows YAP dvi viewer Linux gdvi acroread Forward and inverse search capability to jump from source to output and vice versa Seth R Johnson UMich IATEX Introduction 10 15 2009 13 30 Introduction Starting ATEX 5 What you can do How you do it Resources What you can do Math Operators fractions sums products Matrices cases Numbers letters symbols embedded regular text Hat tilde x bar x Series of aligned equations sub equations Pretty much anything in math e
10. ing packages Difficulty installing LaTeX built in LaTeX i Microsoft Word Capability Seth R Johnson UMich IATEX Introduction 10 15 2009 7 30 Introduction Briefest of histories TEX invented as a free typesetting system by Donald Knuth in the late 70s mostly low level typesetting commands IATEX extension of TEX from mid 80s focus on structure and less on nitpicky typesetting details ATEX 2 latest version 1994 extended a lot of math functionality Continuing improvements in the form of packages Seth R Johnson UMich TEX Introduction 10 15 2009 8 30 Introduction Starting ATEX What you can do How you do it Resources Starting IATEX What is IATEX really ATEX is essentially a programming language Editors to modify the source code e Compilers to create a document Viewers to see the result An alternative LYX is a WYSIWYG compiler interface somewhat compatible with hand written ATEX files Seth R Johnson UMich IATEX Introduction 10 15 2009 10 30 Starting IATEX Editors Text editors want syntax highlighting parenthesis balancing maybe auto fill ability to run the command line compiler with a shortcut etc Not Microsoft Word It s a word processor not a text editor IDE All platforms gvim emacs Mac TeXShop TextWrangler MacVim Aquamacs Windows TeXnicCenter Notepad consid
11. oduction 10 15 2009 26 30 How you do it Other useful tips Use template documents copy paste or insert large chunks like float definitions this is done automatically if using Vim LaTex TeXnicCenter TeXShop etc Keep a cheat sheet handy Generate tables of numbers somewhere else MATLAB package Excel LaTeX utility TeXShop call out window etc Use Subversion to back up your tex documents For hand drawn graphics use Adobe Illustrator or other programs that can directly edit PDF files Compile early compile often note that re compiling will often fix references e Sometimes it helps to treat your document like code Seth R Johnson UMich IATEX Introduction 10 15 2009 26 30 Introduction Starting ATEX What you can do How you do it Resources Resources Introductions IATEX short guide necessary introductory overview Examples e g those by Will Robertson IATEX visual FAQ shows off lots of advanced stuff in an easy to remember fashion Various lectures online here s one Seth R Johnson UMich IATEX Introduction 10 15 2009 28 30 Resources References UK TeX FAQ Math mode by Herbert Vo almost everything you ever need to do with math Package documentation texdoc command including the amsmath user manual helpful for some advanced math comp text tex ATEX wikibook Google Books such as The ATEX Companion for very
12. se IATEX Math integration with the rest of the document Labels and references Aesthetics very clean consistent readable results Drs Larsen and Bielajew will love you Seth R Johnson UMich TEX Introduction 10 15 2009 6 30 Introduction Why use IATEX Math integration with the rest of the document Labels and references Aesthetics very clean consistent readable results Drs Larsen and Bielajew will love you Control defaults are usually excellent but you can tweak virtually any aspect Seth R Johnson UMich TEX Introduction 10 15 2009 6 30 Introduction Why use IATEX Math integration with the rest of the document Labels and references Aesthetics very clean consistent readable results Drs Larsen and Bielajew will love you Control defaults are usually excellent but you can tweak virtually any aspect Separation of visual and textual components macros and themes Seth R Johnson UMich TEX Introduction 10 15 2009 6 30 Introduction Why use IATEX Math integration with the rest of the document Labels and references Aesthetics very clean consistent readable results Drs Larsen and Bielajew will love you Control defaults are usually excellent but you can tweak virtually any aspect Separation of visual and textual components macros and themes e Portability PDF output will always look the same Seth R Johnson UMich TEX Introduction 10 15 2
13. ver Seth R Johnson UMich IATEX Introduction 10 15 2009 15 30 What you can do Text Plain text emphasis italics Advanced box functionality rules raisebox Cross references footnotes bibliographies Inline inclusion of math consider x where x lt 4 and Seth R Johnson UMich IATEX Introduction 10 15 2009 16 30 What you can do Floats Children Cats Velociraptors Results 3 1 0 Children fought over cat 1 1 0 Child played with cat 0 2 1 Cats didn t last long Table 1 This caption is attached to the table MICHIGAN Figure 1 The U of M logo is inside a figure which can float inside text etc Also references see Table 1 and Fig 1 Seth R Johnson UMich IATEX Introduction 10 15 2009 17 30 Introduction Starting ATEX What you can do How you do it Resources How you do it First what ATEX does for you Layouts book article beamer letter moderncv umthesis anstrans Spacing words justified floats hyphenation e References you specify the name and it will renumber everything Sections table of content Fancy typography ligatures kerning Seth R Johnson UMich IATEX Introduction 10 15 2009 19 30 How you do it Symbols Backslash starts a command macro delta item dots Braces TeX groupings often seen with command arguments section Hi beginfitemize frac 1 2 2 2n 1 Br
Download Pdf Manuals
Related Search
Related Contents
Read all instructions before assembly and use of the child 18・19ページ SIMADYN D Digital Control System Memory module MM11 取扱説明書 Copyright © All rights reserved.
Failed to retrieve file