Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Possible Duplicate:
inserting sentences between subequations

I am proving a math theory in a gather block. I would like to annotate my proof. For instance,

\begin{gather}
... \\
By the inductive step,
... \\
\end{gather}

However, when I do so, the text meshes together in the generated pdf.

How do I put annotations within my gather block?

share|improve this question

marked as duplicate by Werner, Mike Renfro, egreg, cmhughes, Paulo Cereda Apr 21 '12 at 11:07

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

up vote 2 down vote accepted

You can use \intertext from amsmath:

\documentclass{article}
\usepackage{amsmath}

\begin{document}
\begin{gather}
a = b \\
\intertext{By the inductive step,}
c = d
\end{gather}

\end{document}

The mathtools package offers you \shortintertext with reduced vertical spacing:

\documentclass{article}
\usepackage{mathtools}

\begin{document}

\begin{gather}
a = b \\
\shortintertext{By the inductive step,}
c = d
\end{gather}

\begin{gather}
a = b \\
\intertext{By the inductive step,}
c = d
\end{gather}

\end{document}

enter image description here

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.