ABasic LT X UsageERob Edman and Dan Drake28 August 2007ALT X is a document preparation system. ItEis a collection of programs that together havethe functionality of a word processor such asOpenOffice,MicrosoftWord,orWordPerfect—and much, much more!ALT XisanextensionofT X,atypesettinglan-E EAguage invented by Don Knuth. With LT X,Eyou only need to worry about the structureand content of your document, and not theactual layout or appearance. It is universalamong mathematicians, physicists, computerscientists, and (to a lesser extent) other fla-vors of scientists.1AHow do you write a LT X file?EALT Xfilesareplaintext,whichmeanstheycanEAbe read on any computer platform. LT X filesEare somewhat like HTML files, so if you knowhow to write HTML you have a head start!• Extra space between words is irrelevant.Both lines below would produce the sameoutput:The quick red fox jumpedThe quick red fox jumped• New paragraphs are indicated by one ormore blank lines.2• Inlinemathmode—mathinthemiddleofasentence—is indicated with a pair of dollarsigns:therefore $x^2 + 1 = y$, and...2becomes “therefore x +1= y and...”• Displayed math mode—an equation set onitsownlineandcentered—isindicatedwithtwodollarsignsor\[(backslash-squarebracket):our main equation is$$a^2 + b^2 = c^2$$which we will use to prove...“our main equation is2 2 2a +b = cwhich we will use to prove...”3• You can make accented characters like so:\’e for ´e, \”a for ¨a, etc.• You get ...
Voir