``Phrase In
Quotes''
.f_{\mathrm{Steiner}}(x)=\cos
x_{\mathrm{SFHo}}
gives
$$
f_{\mathrm{Steiner}}(x)=\cos x_{\mathrm{SFHo}} \, .
$$
To format isotopes, consider
^{208}\mathrm{Pb}
which when
formatted becomes
\( ^{208}\mathrm{Pb} \) .
1.4~\mathrm{M}_{\odot}
. I use roman
font for a "solar mass" (which is used as a unit here)
and put a sticky space (~
) to avoid
line breaks between the quantity and the unit.
This
is rendered as
$$
1.4~\mathrm{M}_{\odot} \, .
$$
This is a difficult example because I have found
that not everyone agrees about whether or not
\( \mathrm{M}_{\odot} \) is a unit (roman) or a
symbol (italic) in this context. I prefer the former.
$-$3.14
rather than -3.14
to ensure you
get a "minus sign" rather than a "en dash".\left(\frac{a}{b}\right)
rather
than (\frac{a}{b})
.
\frac
for in-text fractions, and just use /
instead.
\, .
to place a period in the equation.
If an equation appears in the middle of a sentence,
it may need no punctuation at all. Note that using
\,
in a equation creates a space, in
order ensure the reader understands that the
punctuation (comma or period) is not part of the
equation. In prose, a comma or period should not be
preceeded by a space.
eqnarray
.
A basic schema is
\begin{eqnarray} f(x) & = & \sin \left( x + y^2 \right) \nonumber \\ && + \cos \left ( y + x^2 \right) \, , \end{eqnarray}When rendered, this appears similar to $$ \begin{eqnarray} f(x) & = & \sin \left( x + y^2 \right) \nonumber \\ && + \cos \left ( y + x^2 \right) \, , \end{eqnarray} $$ where the plus operator appears to the right of the equals sign to indicate that it refers to an additional term on that side. Note how, in the previous sentence, I use
/, ,
to place
the equation inside the sentence and continue the
sentence after the equation.
You can use \right.
and
\left.
to invisibly close parentheses
before starting a new line and \nonumber
to ensure that the first line of the equation is not
numbered by the document class.
~
) or
"sticky space" to create a space which will not create a
line break. For example,
Ref.~\cite{Steiner00qp}
ensures a space
between "Ref." and "[1]". If the sentence ends before
the parenthetical phrase, then put no space between
the right parenthesis and the period. If the
sentence continues, put a space between the
right parenthesis and the next word. If the
parenthetical phrase is a sentence on its own, then
use the format sentence one. (sentence two.)
sentence three.
end of the
sentence~\cite{Steiner00qp}.
, not
end of the sentence.~\cite{Steiner00qp}
.
Note that sentences should not start with a "cite"
command. Start them with "Ref." instead,
e.g. Ref.~\cite{Steiner00qp} showed
that...
. You may sometimes refer to author names,
e.g. Steiner et al.~\cite{Steiner00qp} showed
that...
, but make sure not to use this as a way
to name your friends and marginalize your competitors.
Back to Andrew W. Steiner at the University of Tennessee.