Difference between revisions of "LaTeX"

From PHYSpedia
Jump to: navigation, search
(Created page with "Author: Jack Maseberg Guide to getting LaTeX running on your computer (windows, mac, or linux)! 1) Install TeX Live (http://www.tug.org/texlive/acquire-netinstall.html), or may…")
 
Line 1: Line 1:
 
Author: Jack Maseberg
 
Author: Jack Maseberg
  
Guide to getting LaTeX running on your computer (windows, mac, or linux)!
+
Guide to getting LaTeX running on your computer (Windows, Mac, or Linux)!
  
1) Install TeX Live (http://www.tug.org/texlive/acquire-netinstall.html), or maybe MacTeX for macs (http://www.tug.org/mactex/2011/)
+
1) Install TeX Live:
Note that the net installers look deceptivly small is size, but the texlive folder on my windows machine is about 2.5 GB in size, so make sure you have HD space before you start!
+
Windows: download and run the install-tl.zip file from here (http://www.tug.org/texlive/acquire-netinstall.html)
 +
Macs: (http://www.tug.org/mactex/2011/)
 +
Linux (Ubuntu): use synaptic to install the texlive package
  
2) ?
+
Note that the net installers look deceptively small is size, but the texlive folder on my windows machine is about 2.5 GB in size, so make sure you have HD space before you start!
 +
 
 +
2) Install a LaTeX editor. I use the cross-platform Texmaker (http://www.xm1math.net/texmaker/)
 +
 
 +
3) Install REVTeX https://authors.aps.org/revtex4/
 +
 
 +
4) Get this example template:
 +
 
 +
5) Configure Texmaker: go to toolbar, choose options/quick build/User, add the following text
 +
 
 +
latex -interaction=nonstopmode %.tex|bibtex %.aux|latex -interaction=nonstopmode %.tex|latex -interaction=nonstopmode %.tex|dvips -t letter %.dvi -o %.ps|ps2pdf -dPDFSETTINGS=/prepress %.ps

Revision as of 13:55, 2 February 2012

Author: Jack Maseberg

Guide to getting LaTeX running on your computer (Windows, Mac, or Linux)!

1) Install TeX Live: Windows: download and run the install-tl.zip file from here (http://www.tug.org/texlive/acquire-netinstall.html) Macs: (http://www.tug.org/mactex/2011/) Linux (Ubuntu): use synaptic to install the texlive package

Note that the net installers look deceptively small is size, but the texlive folder on my windows machine is about 2.5 GB in size, so make sure you have HD space before you start!

2) Install a LaTeX editor. I use the cross-platform Texmaker (http://www.xm1math.net/texmaker/)

3) Install REVTeX https://authors.aps.org/revtex4/

4) Get this example template:

5) Configure Texmaker: go to toolbar, choose options/quick build/User, add the following text

latex -interaction=nonstopmode %.tex|bibtex %.aux|latex -interaction=nonstopmode %.tex|latex -interaction=nonstopmode %.tex|dvips -t letter %.dvi -o %.ps|ps2pdf -dPDFSETTINGS=/prepress %.ps