svend_tveskaeg wrote:Provide a minimal working example.
The example actually works if you click on the writeLaTeX link
The second line is not numbered but an additional line in between as you can see if you remove the
[-10mm]
argument:
Code: Select all
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align}
a &= b
\intertext{and}\\
a &= b \nonumber\\
&= c \label{S0::I2}
\end{align}
\end{document}
I guess what you actually want is this
Code: Select all
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align}
a &= b
\intertext{and\vspace{-\abovedisplayskip}}
a &= b \nonumber\\
&= c \label{S0::I2}
\end{align}
\end{document}
or maybe
Code: Select all
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align}
a &= b \\[-\belowdisplayskip]
\intertext{and\vspace{-\abovedisplayskip}}
a &= b \nonumber\\
&= c \label{S0::I2}
\end{align}
\end{document}
in which case the following could be easier:
Code: Select all
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align}
a &= b \\
\noalign{\text{and}}
a &= b \nonumber\\
&= c \label{S0::I2}
\end{align}
\end{document}
Regards