diff options
author | Karl Berry <karl@freefriends.org> | 2014-04-14 22:43:44 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-04-14 22:43:44 +0000 |
commit | b44da9d0b33316bf5f6d5401ba7f78b219b3f401 (patch) | |
tree | cc8eae8fb18e4edd7078b2285e4a16a996d61c02 /Master/texmf-dist/doc/latex/autonum/test-freeze.tex | |
parent | fe900684320c2e37d76c55497935a50a4e97fab6 (diff) |
autonum (14apr14)
git-svn-id: svn://tug.org/texlive/trunk@33438 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/autonum/test-freeze.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/autonum/test-freeze.tex | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/autonum/test-freeze.tex b/Master/texmf-dist/doc/latex/autonum/test-freeze.tex new file mode 100644 index 00000000000..0e0955b06a7 --- /dev/null +++ b/Master/texmf-dist/doc/latex/autonum/test-freeze.tex @@ -0,0 +1,52 @@ +\documentclass[12pt]{book} + +\usepackage{caption} +\usepackage{autonum} + +\begin{document} + + \makeatletter + \autonum@patchParametrizedFullEnvironment{figure}% +% \autonum@patchFullEnvironment{figure}% + \makeatother + +\ref{eq1}, \ref{fig1}, \ref{eq2}, \ref{fig2}, \ref{sec:xyz} + +\begin{figure}[ht] +\begin{align}\label{eq1} +x=y +\end{align} +\caption{Caption} +\label{fig1} +\end{figure} + +\subsection{Title} +\label{sec:xyz} + +\begin{figure}[ht] +\begin{align}\label{eq2} +y=z +\end{align} +\caption{Caption} +\label{fig2} +\end{figure} + + +\end{document} + + +% \documentclass{article} +% \usepackage{caption} +% \usepackage{autonum} +% +% \begin{document} +% \begin{figure} +% \begin{align} +% a +% \end{align} +% \end{figure} +% \begin{figure} +% b +% \label{fig2} +% \end{figure} +% \end{document}
\ No newline at end of file |