Skip to content

aastex setup (latex) and emulateapj

1. download aastex.cls  and emulateapj.cls from the web and place  in /usr/share/texmf/tex/latex/misc/

(you will probably need superuser privileges to do this [or sudo]).

2. type texconfig rehash.  This updates the paths where tex looks for files; eg the above.

3. that should be it! I got aastex to run on mirzam.

4. Note that /usr/share is NOT SHARED ACROSS OUR COMPUTERS, so the above needs to be done on any computer on which one wishes to use aastex. (A simpler workaround is to just put aastex.cls and emulateapj.cls in whatever directory the user has the .tex source file.)

(there are a variety of tools to find the latex default paths, etc. See the web, as I already forgot the many I had to use to figure out the above.)

(note that tex and latex files tend to be in (NONSHARED) /usr/share/texmf/.)

At the top of the .tex file, place one of the  commands:

\documentclass[12pt,preprint]{aastex} or
\documentclass[manuscript]{aastex}

which use the asatex.cls file to generate typewriter-like preprint or manuscript files; or 

\documentclass{emulateapj}

[This emulates apj format: see http://hea-www.harvard.edu/~alexey/emulateapj/ ]
In either case, a useful command to put a comment on leading page is:

\slugcomment{Draft 2011 Aug 21 skeleton from Joel and  Andrew}

which is placed after abstract and keywords.
–Joel

 

Published inConfigurationInstalled software

Comments are closed.