Difference between revisions of "LaTeX"

From PrattWiki
Jump to navigation Jump to search
Line 6: Line 6:
 
dlocation=On Unix|
 
dlocation=On Unix|
 
manufacturer=|
 
manufacturer=|
webpage=[http://www.latex-project.org/ Site]|
+
webpage=[http://www.latex-project.org/ <math>LaTeX</math> Project]|
 
label_color=|Color value_color=|}}  
 
label_color=|Color value_color=|}}  
  
 
'''LaTeX''' is a document preparation system written by Don Knuth (TeX) and extended by Leslie Lamport.  It is a powerful, and free, way to generate professional, dynamic documents.
 
'''LaTeX''' is a document preparation system written by Don Knuth (TeX) and extended by Leslie Lamport.  It is a powerful, and free, way to generate professional, dynamic documents.
  
{{QuandaPrep}}
 
  
 
<br clear=all>
 
<br clear=all>
 
__TOC__
 
__TOC__
 
<br clear=all>
 
<br clear=all>
==External Links==
 
*[http://en.wikibooks.org/wiki/Programming:LaTeX Wikibook on LaTeX] - a wiki devoted to LaTeX!  ''All kinds'' of good stuff here.
 
*[[WP:LaTeX|LaTeX]] on Wikipedia - includes several tutorials and references
 
*Tobias Oetiker's "[http://www.ctan.org/tex-archive/info/lshort/english/lshort.pdf#search=%22not%20so%20short%20guide%22  The Not So Short Introduction to LaTeX2e]" - great guide for beginning (and not so beginning) users.  Should be version 4.22 (as of 6/30/2007).  If that link doesn't work, try
 
**[http://classes.pratt.duke.edu/EGR53F07/FILES/lshort.pdf Mirror 1] at Duke
 
**[http://tobi.oetiker.ch/lshort/lshort.pdf Mirror 2] in Switzerland
 
  
*Andrew Roberts' [http://www.andy-roberts.net/misc/latex/index.html "Getting to grips with LaTeX"] tutorial
 
*The Comprehensive LaTeX Symbol List, Scott Pakin ([http://www.ctan.org/tex-archive/info/symbols/comprehensive/symbols-letter.pdf PDF], over 100 pages!)
 
*Short Math Guide for LaTeX, Michael Downes ([ftp://ftp.ams.org/pub/tex/doc/amsmath/short-math-guide.pdf PDF], 17 pages)
 
*A more "visual" version of LaTeX:  [http://www.lyx.org LyX].
 
*[http://www.tug.org/texshowcase/ LaTeX Showcase]
 
*[http://www.tug.org/mactex/ LaTeX for Macintosh Users]
 
  
 
==FAQ==
 
==FAQ==
Line 75: Line 62:
 
For the characters that LaTeX uses as code ($ and { or }) you need to issue the command to print those - in other words, \$ \{ and \} are the commands to print those individual characters.
 
For the characters that LaTeX uses as code ($ and { or }) you need to issue the command to print those - in other words, \$ \{ and \} are the commands to print those individual characters.
  
==Notes==
+
==Questions==
<div class="references-small" style="-moz-column-count:2; column-count:2;">
+
{{Questions}}
<references /></div>
+
 
 +
==External Links==
 +
*[http://en.wikibooks.org/wiki/Programming:LaTeX Wikibook on LaTeX] - a wiki devoted to LaTeX!  ''All kinds'' of good stuff here.
 +
*[[wikipedia:LaTeX|LaTeX]] on Wikipedia - includes several tutorials and references
 +
*Tobias Oetiker's "[http://www.ctan.org/tex-archive/info/lshort/english/lshort.pdf#search=%22not%20so%20short%20guide%22  The Not So Short Introduction to LaTeX2e]" - great guide for beginning (and not so beginning) users.  Should be version 4.22 (as of 6/30/2007).  If that link doesn't work, try
 +
**[http://classes.pratt.duke.edu/EGR53F07/FILES/lshort.pdf Mirror 1] at Duke
 +
**[http://tobi.oetiker.ch/lshort/lshort.pdf Mirror 2] in Switzerland
 +
 
 +
*Andrew Roberts' [http://www.andy-roberts.net/misc/latex/index.html "Getting to grips with LaTeX"] tutorial
 +
*The Comprehensive LaTeX Symbol List, Scott Pakin ([http://www.ctan.org/tex-archive/info/symbols/comprehensive/symbols-letter.pdf PDF], over 100 pages!)
 +
*Short Math Guide for LaTeX, Michael Downes ([ftp://ftp.ams.org/pub/tex/doc/amsmath/short-math-guide.pdf PDF], 17 pages)
 +
*A more "visual" version of LaTeX: [http://www.lyx.org LyX].
 +
*[http://www.tug.org/texshowcase/ LaTeX Showcase]
 +
*[http://www.tug.org/mactex/ LaTeX for Macintosh Users]
 +
 
 +
== References ==
 +
<references />
  
 
[[Category:Software]]
 
[[Category:Software]]
[[Category:Computer Stuff]]
+
[[Category:EGR 53]]

Revision as of 21:58, 23 June 2008

LaTeX
Download On Unix
Web Page \(LaTeX\) Project


LaTeX is a document preparation system written by Don Knuth (TeX) and extended by Leslie Lamport. It is a powerful, and free, way to generate professional, dynamic documents.





FAQ

What's the 15-second summary or using LaTeX?

  1. Use emacs blah.tex & to generate the source code.
  2. Use latex blah.tex & to process the file. If successful, among other things, you will have a new blah.dvi file.
  3. Use kdvi blah.dvi & to look at (and eventually print) the file.

Note - if you have a \tableofcontents, or a \listoffigures, or any \label and \ref commands, you will want to run the latex step three times before progressing to the kdvi step.

What do I do if LaTeX just sits there?

Hitting CTRL-C, then x and return, will always get out of LaTeX regardless of the error

What did I do wrong?

Generally, LaTeX will try to tell you - look closely at the error message LaTeX gives you

What is Underfull hbox -10000?

It's a warning that something is a bit thin - generally a table or a figure. Don't worry about these at all.

Why does LaTeX think my align or align* environment is messed up?

To continue: "I have checked it thousands of time and it looks good to me!" Make sure there are no blank lines within the environment. For some reason align hates those. The following, for example, causes problems:

\begin{align}
a\\

b
\end{align}

Also - it may be in a line above the end of the align environment. You can use % in front of a line of LaTeX code to turn that whole line into a comment - doing that, you can find which line is having a bad day and correct it.

My \pagebreak doesn't...page...break Why?

Make sure there is ablank line after the \pagebreak command; that is:

blah
\pagebreak

more blah

How can I double space?

Basically, include the following two lines between the \documentclass and the \begin{document}[1]:

\usepackage{spacing}
\setstretch{2.0}

How do I get a $ Symbol

For the characters that LaTeX uses as code ($ and { or }) you need to issue the command to print those - in other words, \$ \{ and \} are the commands to print those individual characters.

Questions

Post your questions by editing the discussion page of this article. Edit the page, then scroll to the bottom and add a question by putting in the characters *{{Q}}, followed by your question and finally your signature (with four tildes, i.e. ~~~~). Using the {{Q}} will automatically put the page in the category of pages with questions - other editors hoping to help out can then go to that category page to see where the questions are. See the page for Template:Q for details and examples.

External Links

References