## Search form

Last updated: Thursday
Share:

Printing is different from typewriting, and TeX is different from other word processing tools. This file consists of reminders about things that require special attention so that TeX can format the input properly.

# 1. Running text

• In TeX, the ends of words and sentences are marked by spaces, and it does not matter how many spaces are typed; one is as good as 100. TeX treats the end of a line in the input file as a space. Paragraphs are separated by blank lines.
• TeX will automatically take care of hyphenating and breaking words at the end of lines, so you do not need to break words with hyphens. Do, however, hyphenate modifiers within a line of text, e.g., "author-prepared copy."
• Quotation marks should be typed as pairs of opening and closing single quotes, e.g., ‘‘quoted text’’; do not use double quotes ("bad form").
• Do not underline. In printing, text is emphasized by changing the type style, usually to slanted or italic type.
• A number of common characters are interpreted as commands; therefore, if you want to use them in text, they must be preceded by a backslash (\): $& % # { and } must be typed \$ \& \% \# \{ and \}.
• Refrain from adding vertical or horizontal space. Concentrate on the content of the document and identifying its components with the structural markup commands rather than worrying about producing perfectly formatted pages.

# 2. Math


will produce

"We have obtained BVRI photometry of the exceptionally long lived nova V723 Cas."

To turn off the bold highlighting simply activate the third definition and comment out the first, e.g.

%\newcommand{\btxt}[1]{{\bf #1}}
\newcommand{\btxt}[1]{{#1}}

• ## Watermarking

There are various style files available to add watermarks to LaTeX manuscripts. One of the best in terms of number of options available to control the watermarking features is draftwatermark. The user can set the angle, size, lightness and text within the style file. There is also an option to only mark the first page.

Note that manuscripts submitted to the AAS Journals should not include any watermarking.

• ## Merge multiple postscript files into a single file

The assemble perl script by Robert Lupton will merge multiple postscript files into a single postscript file. K.Z. Stanek provides some documentation on its use here. Stanek's main use of assemble.pl is to create meeting posters but the code can also be used to make more compact paper figures by merging multiple component figures into a single one.

• ## Merge multiple latex components into a single file

For authors who use the \input and \include commands to reference external latex files such as tables and sections, it is sometimes necessary to "flatten" the LaTeX structure by merging all the external files into one. A strong advantabe of the single, flat LaTeX file is that the AAS journal's metric counters (e.g. ApJL manuscript length calculator) only accepted a single, combined LaTeX manuscript. Two source codes are available to merge LaTeX structures. One is a C code called flatten and the other is a Perl script called latexexpand.

• ## Excel to LaTeX tables converters

Two programs are available to covert Microsoft Excel tables into LaTeX tabular format: excel2latex and xl2latex.

• ## Word to latex manuscripts converters

Similarly, many programs are available to convert Microsoft Word files into LaTeX format. The programs are WordML2LaTeX, catdoc, word-to-latex, and word2latex.