diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/thmtools/thm-autoref.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/thmtools/thm-autoref.dtx | 33 |
1 files changed, 21 insertions, 12 deletions
diff --git a/Master/texmf-dist/source/latex/thmtools/thm-autoref.dtx b/Master/texmf-dist/source/latex/thmtools/thm-autoref.dtx index d76d743db4d..d8c6ea8b4f7 100644 --- a/Master/texmf-dist/source/latex/thmtools/thm-autoref.dtx +++ b/Master/texmf-dist/source/latex/thmtools/thm-autoref.dtx @@ -21,11 +21,25 @@ \usepackage{amsmath, amsthm} \usepackage{thm-autoref} \newtheorem{lemma}{Lemma} +\providecommand\pkg{\textsf} \GetFileInfo{thm-autoref.sty} \EnableCrossrefs \CodelineIndex \RecordChanges \begin{document} + \newcommand\thmrestate{\textsf{thm-patch}} + \title{The \thmrestate\ package\thanks{% + This file documents version~\fileversion\ of~\filedate, + RCS ${}$Id: thm-autoref.dtx,v 1.4 2008/03/09 18:59:17 ulmi Exp ${}$. + }} + \author{Ulrich M. Schwarz\thanks{ulmi@absatzen.de}} + + \maketitle + + \begin{abstract} + Fixes interaction of theorems with hyperref's |\autoref| command. + \end{abstract} + \DocInput{thm-autoref.dtx} \end{document} %</driver> @@ -57,23 +71,18 @@ % \DoNotIndex{\providecommand,\ProvidesPackage,\relax,\renewcommand,\RequirePackage} % \DoNotIndex{\setcounter,\setkeys,\rlap,\setminus,\widthof,\mathrm} % -% \newcommand\thmrestate{\textsf{thm-patch}} -% \title{The \thmrestate\ package\thanks{% -% This file documents version~\fileversion\ of~\filedate, -% RCS ${}$Id: thm-autoref.dtx,v 1.3 2008/02/17 21:08:04 ulmi Exp ulmi ${}$. -% }} -% \author{Ulrich M. Schwarz\thanks{ulmi@absatzen.de}} -% -% \maketitle -% -%\begin{abstract} -%\end{abstract} %\section{Usage} % +% \pkg{hyperref}'s |\autoref| command does not work well with theorems that +% share a counter: it'll always think it's a Lemma even if it's a Remark +% that shares the Lemma counter. Load this package to fix it. No further +% intervention needed. +% +%\StopEventually{} %\section{Implementation} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{thm-autoref}[2008/02/17 BETA thm-autoref (ulmi)] +\ProvidesPackage{thm-autoref}[2008/03/09 v0.1beta2 thm-autoref (ulmi)] \RequirePackage{thm-patch, aliasctr} |