inserting sentences between subequations
A look through the amsmath
manual (texdoc amsmath
) will be beneficial. The intertext
command may be what you're after, alignment points are specified with &
:
\documentclass[12pt,oneside,reqno]{amsart}
\usepackage{amssymb}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\begin{document}
\begin{subequations}
\begin{align}
x&=1222222222222222\\
\intertext{Here $x$ is an arbitrary constant}
y&=2
\end{align}
\end{subequations}
\end{document}
As Torbjørn pointed out, the \intertext
-command from amsmath
allows to add normal text within an align
-environment (or similar) while keeping the alignement points.
\documentclass{scrartcl}
\usepackage{amsmath}
\usepackage{mathtools}
\begin{document}
\begin{align}
a &= b \\
c &= d
\intertext{Some text}
e &= f
\end{align}
It should be mentioned, however, that Morten Hoegholm's package mathtools
(which provides several corrections for and additions to amsmath
), corrects a slight problem of \intertext
and provides a new command \shortintertext
with less spacing.
\begin{align}
a &= b \\
c &= d
\shortintertext{Some text}
e &= f
\end{align}
In addition to this, there are options to fine-tune spacing.
% (This works, in contrast to what can be found in the current version of the manual.)
\mathtoolsset{
aboveshortintertextdim=20pt, % (default: 3pt)
belowshortintertextdim=10pt, % (default: 3pt)
}
\begin{align}
a &= b \\
c &= d
\shortintertext{Some text with excessive spacing}
e &= f
\end{align}
\end{document}