summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/autonum/test-autonum.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/autonum/test-autonum.tex')
-rw-r--r--Master/texmf-dist/doc/latex/autonum/test-autonum.tex17
1 files changed, 17 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/autonum/test-autonum.tex b/Master/texmf-dist/doc/latex/autonum/test-autonum.tex
index 1e312c4bd23..df692263510 100644
--- a/Master/texmf-dist/doc/latex/autonum/test-autonum.tex
+++ b/Master/texmf-dist/doc/latex/autonum/test-autonum.tex
@@ -356,6 +356,23 @@
\end{split}
\end{equation}
Note, that the \textbackslash\texttt{label} must not be put inside the \texttt{split} environment, as according to the \AmS-math documentation \texttt{split} provides no numbering.
+ \item Split inside an equation, where the label is inside split (which is discouraged, see directly above) and reference \ref{insideSplit}
+ \begin{equation}
+ \begin{split}
+ \label{insideSplit}
+ \text{Check this line for an equation number!}
+ \end{split}
+ \end{equation}
+ \item This is a reference to an align environment with alignment \ref{alignment}.
+ \begin{align}%
+ a &= 1,\label{alignment}\\%
+ cd &= 2\label{rowTwo}%
+ \end{align}%
+ \item This is an align environment with alignment and no text before the equation sign (there once was an error with the optional argument handling of the newline command).
+ \begin{align}
+ a &= 1,\label{eq:a}\\
+ &= 2\label{eq:b}
+ \end{align}
\end{itemize}
\section{Using ref in section \ref{i1}}\label{i1} text
\ifcleveref{