diff options
author | Karl Berry <karl@freefriends.org> | 2020-07-17 21:46:17 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-07-17 21:46:17 +0000 |
commit | c1dc4e84bda67085800d01c72a163f059a896c0b (patch) | |
tree | 8429ef8d36941dfada008f76014faf20bd0af702 /Master/texmf-dist/tex/latex/thmtools/thm-restate.sty | |
parent | 522964b40afca63660485cdcfc577b25bdf02e35 (diff) |
thmtools (17jul20)
git-svn-id: svn://tug.org/texlive/trunk@55861 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/thmtools/thm-restate.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/thmtools/thm-restate.sty | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/thmtools/thm-restate.sty b/Master/texmf-dist/tex/latex/thmtools/thm-restate.sty index 8b84d13fe49..708e37d7e73 100644 --- a/Master/texmf-dist/tex/latex/thmtools/thm-restate.sty +++ b/Master/texmf-dist/tex/latex/thmtools/thm-restate.sty @@ -8,18 +8,21 @@ %% This is a generated file. %% %% This file is part of the `thmtools' package. -%% The `thmtools' package has the LPPL maintenance status: unmaintained. +%% The `thmtools' package has the LPPL maintenance status: maintained. +%% Current Maintainer is Yukai Chou, muzimuzhi@gmail.com %% -%% Copyright (C) 2008-2014 by Ulrich M. Schwarz. +%% Copyright (C) 2008-2014 by Ulrich M. Schwarz +%% Copyright (C) 2019 by Frank Mittelbach +%% Copyright (C) 2020- by Yukai Chou %% %% This file may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, version 1.3a. +%% conditions of the LaTeX Project Public License, version 1.3c. %% This version is obtainable at -%% http://www.latex-project.org/lppl/lppl-1-3a.txt +%% http://www.latex-project.org/lppl/lppl-1-3c.txt %% %% \NeedsTeXFormat {LaTeX2e} -\ProvidesPackage {thm-restate}[2019/12/22 v68] +\ProvidesPackage {thm-restate}[2020/07/16 v69] \RequirePackage{thmtools} \let\@xa\expandafter \let\@nx\noexpand @@ -129,7 +132,7 @@ \@xa\let\csname c@#2\endcsname=\c@thmt@dummyctr \@xa\let\csname theH#2\endcsname=\theHthmt@dummyctr % disable labeling. - \let\label=\@gobble + \let\label=\thmt@gobble@label \let\ltx@label=\@gobble% amsmath needs this % We shall need to restore the counters at the end % of the environment, so we get @@ -173,6 +176,13 @@ %% now empty, just used as a marker. } +\let\thmt@gobble@label\@gobble +\AtBeginDocument{ + \@ifpackageloaded{cleveref}{ + \renewcommand*\thmt@gobble@label[2][]{} + }{} +} + \newenvironment{restatable}{% \thmt@thisistheonetrue\thmt@restatable }{% |