Update (March 8, 2013): New information on adding directories for package management.
LaTeX, pronounced “la tech”, is a typesetting program that we use to write our papers (instead of Word or somesuch nonsense). Over the long US holiday weekend I got LaTeX and all of its bits installed on my new 13″ MacBook Pro (named Gloria). In this post, I’ll walk you through the installation and setup that should work for any of the code and text editors that Tom discussed a couple weeks ago (e.g., TextMate, TexShop, Emacs). In a future post, I’ll describe how to get TextMate setup as the primary LaTeX editor.
Install XeLaTeX on Mac OS X. XeLaTeX is a professional typesetting system based on TeX, with excellent support for Unicode and OpenType fonts. XeLaTeX is used. Jul 06, 2010 The easiest way to get LaTeX onto OS X is via MacTex. I recommend downloading the full package (1.3 GB) and then customizing the install. The package comes with BibDesk, TexShop(which everybody seems to love except me), as well as lots of other stuff. MacTex uses the paths.dmethod to modify the PATHenvironment variable. How To Activate Spell Check In Latex For Mac Download; How To Activate Spell Check In Latex For Mac Osx; How To Activate Spell Check In Latex For Mac Os; How To Activate Spell Check In Latex For Mac Pro. Spell checking is a standard feature today. With LaTeX however it is not too easy to achieve. You can certainly use the build-in spell checker. LaTeXit is ahead of the game at the moment. I like the LinkBack feature, but unfortunately, it doesn't seem to work with most software. On Windows, there is a program called TeXPoint which works seamlessly with PowerPoint. I look forward to the day when we can have such a program for Mac OS X.
Read on for step-by-step instructions for installing LaTeX, AASTeX, MN2E, and more. One new thing that I learned was how to include both EPS and PDF figures in the same document!
Download and Install LaTeX
Download TeXworks for Mac - A simple interface for TeX that is available for all major platforms and includes several useful tools, such as an integrated PDF viewer.
The easiest way to get LaTeX onto OS X is via MacTex. I recommend downloading the full package (~1.3 GB) and then customizing the install. The package comes with BibDesk, TexShop (which everybody seems to love except me), as well as lots of other stuff.
MacTex uses the paths.d method to modify the PATH environment variable. This works well if you don’t have your path explicitly set in the .cshrc/.tcshrc/.bashrc. To check if your path is set up correctly, in Terminal, typing which latex on the command line should return /usr/texbin/latex.
You’ll need to create a few directories which will store packages for producing a certain “look-and-feel” to your documents, as well as help you manage your references. Under the ~/Library/ directory, add the following subdirectories:
Thanks to Vicki in the comments for pointing out this last step!
Download and Install AASTeX
Latex Mac Download
AASTeX is the package for preparing astronomy publications for ApJ, AJ, and PASP. Download the AASTeX package and put it in ~/Library/texmf/tex/latex/aastex52. If you’re unfamiliar with AASTeX, a handy guide [PDF] comes included in the download. To use the AASTeX style, be sure this is the first line of the tex file:
Latex Download For Mac
If you want to get the fancy look of a two-column ApJ paper, you’ll want to use emulateapj. The MacTex-2009 package includes an old version so you’ll want to donwload the new one — emulateapj.cls — and put it in ~/Library/texmf/tex/latex/emulateapj.cls. When you want to use it instead of the AASTeX format, modify the tex preamble:
Download and Install MN2E
MN2E is the package to use for submitting to MNRAS. Download mn2e.cls and put it in ~/Library/texmf/tex/latex/. Also get the guide [PDF]. To use the style file, make this the first line of the tex file:
Set up the Bibliography for Use with BibTeX
The easiest way to create the bibliography is with BibTeX and ADS. Your .bib file (managed with BibDesk or exported from Papers) should live in ~/Library/texmf/bibtex/bib/my_bib.bib. To get the bibliography to display in the journal style format, you’ll need bibliography style files (.bst).
The bibliography style file for use with with AASTeX is part of AstroNat. (However, be advised that many of the AstroNat resources are no longer necessary.) Download apj.bst and put it in ~/Library/texmf/bibtex/bst/apj.bst. In the preamble of the tex file, include:
For MNRAS, download the bibliography style file, mn2e.bst, put it in ~/Library/texmf/bibtex/bst/mn2e.bst, and include this in the tex file:
Where you want the reference list to appear (typically after the acknowledgements, before tables and figures), put this: Joystick mapper free download mac.
If you’re using pdftex instead of latex (as you should be…in this day and age, there’s no need for that DVI -> PS -> PDF rigamarole), you can include both EPS and PDF figures in the same document by loading these packages in the preamble of the tex file:
Latex Mac Os X Download 10 11 4
The filename extension is optional. For example, to include pdf_fig.pdf and eps_fig.eps:
Anything else? Once ya’ll give this the once over, I’ll go ahead and add it to the LaTeX wiki entry which is fairly outdated at the moment.