diff options
author | Karl Berry <karl@freefriends.org> | 2018-03-25 21:28:55 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-03-25 21:28:55 +0000 |
commit | 67a0d74b3ba80ada1c0ae1e1b3fc523bd0136699 (patch) | |
tree | 8c0f3bd63b4f10cbc26da1e5e8fe305286e8aa63 /Master/texmf-dist/tex/latex/lwarp/lwarp-tikz.sty | |
parent | b0d484d66da70017e2f7617211629a579a3b6056 (diff) |
lwarp (24mar18)
git-svn-id: svn://tug.org/texlive/trunk@47115 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-tikz.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-tikz.sty | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-tikz.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-tikz.sty index 728d49952ca..ce142a3f2b9 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-tikz.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-tikz.sty @@ -25,18 +25,21 @@ {\usetikzlibrary{babel}\booltrue{LWR@tikzbabel}} {\boolfalse{LWR@tikzbabel}} -\BeforeBeginEnvironment{tikzpicture}{% -\begin{lateximage}% -\ifbool{LWR@tikzbabel}% Test for Tikz version v3.0.0 -{}% -{\catcode`\$=3}% dollar sign is math shift +\LetLtxMacro\LWR@origtikzpicture\tikzpicture + +\renewcommand*{\tikzpicture}[1][]{% + \begin{lateximage}% + \ifbool{LWR@tikzbabel}% Test for Tikz version v3.0.0 + {}% + {\catcode`\$=3}% dollar sign is math shift + \LWR@origtikzpicture[#1]% } -\AfterEndEnvironment{tikzpicture}{% -\end{lateximage}% -\ifbool{LWR@tikzbabel}% Test for Tikz version v3.0.0 -{}% -{\catcode`\$=\active}% +\LetLtxMacro\LWR@origendtikzpicture\endtikzpicture + +\renewcommand*{\endtikzpicture}{% + \LWR@origendtikzpicture% + \end{lateximage}% } \endinput |