| 1 |
%% |
| 2 |
%% This is file `lwarp-tikz.sty', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% lwarp.dtx (with options: `tikz') |
| 8 |
%% This is a generated file. |
| 9 |
%% Copyright 2016-2026 Brian Dunn |
| 10 |
%% |
| 11 |
%% This work may be distributed and/or modified under the |
| 12 |
%% conditions of the LaTeX Project Public License, either version 1.3 |
| 13 |
%% of this license or (at your option) any later version. |
| 14 |
%% The latest version of this license is in |
| 15 |
%% http://www.latex-project.org/lppl.txt |
| 16 |
%% and version 1.3 or later is part of all distributions of LaTeX |
| 17 |
%% version 2005/12/01 or later. |
| 18 |
|
| 19 |
|
| 20 |
\LWR@ProvidesPackagePass{tikz}[2015/08/07] |
| 21 |
|
| 22 |
|
| 23 |
\newbool{LWR@tikzbabel} |
| 24 |
|
| 25 |
\IfPackageAtLeastTF{tikz}{2013/12/20}% Test for Tikz version v3.0.0 |
| 26 |
{\usetikzlibrary{babel}\booltrue{LWR@tikzbabel}} |
| 27 |
{\boolfalse{LWR@tikzbabel}} |
| 28 |
|
| 29 |
\IfPackageLoadedTF{tagpdf-base} |
| 30 |
{ |
| 31 |
} |
| 32 |
{% tagging not loaded |
| 33 |
\pgfkeys{/LWR@tikz/alt/.code={\ThisAltText{#1}}} |
| 34 |
\pgfkeys{/LWR@tikz/actualtext/.code={\ThisAltText{#1}}} |
| 35 |
\pgfkeys{/LWR@tikz/artifact/.is choice} |
| 36 |
\pgfkeys{/LWR@tikz/artifact/.default=true} |
| 37 |
\pgfkeys{/LWR@tikz/artifact/true/.code={}} |
| 38 |
\pgfkeys{/LWR@tikz/artifact/false/.code={}} |
| 39 |
\pgfkeys{handlers/.unknown/.code={}} |
| 40 |
|
| 41 |
\pgfkeys{/tikz/alt/.code={\ThisAltText{#1}}} |
| 42 |
\pgfkeys{/tikz/actualtext/.code={\ThisAltText{#1}}} |
| 43 |
\pgfkeys{/tikz/artifact/.is choice} |
| 44 |
\pgfkeys{/tikz/artifact/.default=true} |
| 45 |
\pgfkeys{/tikz/artifact/true/.code={}} |
| 46 |
\pgfkeys{/tikz/artifact/false/.code={}} |
| 47 |
\def\tikz@picture[#1]{% |
| 48 |
%\tikz@check@inside@picture% |
| 49 |
\pgfqkeys{/LWR@tikz}{#1}% lwarp |
| 50 |
\pgfpicture% |
| 51 |
\let\tikz@atbegin@picture=\pgfutil@empty% |
| 52 |
\let\tikz@atend@picture=\pgfutil@empty% |
| 53 |
\let\tikz@transform=\relax% |
| 54 |
\def\tikz@time{.5}% |
| 55 |
\tikz@installcommands% |
| 56 |
\scope[every picture,#1]% |
| 57 |
\iftikz@handle@active@code% |
| 58 |
\tikz@switchoff@shorthands% |
| 59 |
\fi% |
| 60 |
\expandafter\tikz@atbegin@picture% |
| 61 |
\tikz@lib@scope@check% |
| 62 |
}% |
| 63 |
\xpretocmd{\pgfpicture} |
| 64 |
{ |
| 65 |
\begin{lateximage}[-tikz-~\PackageDiagramAltText]?% |
| 66 |
\ifbool{LWR@tikzbabel}% Test for Tikz version v3.0.0 |
| 67 |
{}% |
| 68 |
{\catcode`\$=3}% dollar sign is math shift |
| 69 |
} |
| 70 |
{} |
| 71 |
{\LWR@patcherror{tikz}{pgfpicture}} |
| 72 |
|
| 73 |
\xapptocmd\endpgfpicture |
| 74 |
{\end{lateximage}} |
| 75 |
{} |
| 76 |
{\LWR@patcherror{tikz}{endpgfpicture}} |
| 77 |
}% tagging not loaded |
| 78 |
|
| 79 |
\LetLtxMacro\pgfutil@minipage\LWR@print@minipage |
| 80 |
\let\pgfutil@endminipage\endLWR@print@minipage |
| 81 |
|
| 82 |
\let\pgfutil@raggedleft\LWR@print@raggedleft |
| 83 |
\let\pgfutil@raggedright\LWR@print@raggedright |
| 84 |
\def\pgfutil@font@tiny{\LWR@print@tiny} |
| 85 |
\def\pgfutil@font@scriptsize{\LWR@print@scriptsize} |
| 86 |
\def\pgfutil@font@footnotesize{\LWR@print@footnotesize} |
| 87 |
\def\pgfutil@font@small{\LWR@print@small} |
| 88 |
\def\pgfutil@font@normalsize{\LWR@print@normalsize} |
| 89 |
\def\pgfutil@font@large{\LWR@print@large} |
| 90 |
\def\pgfutil@font@Large{\LWR@print@Large} |
| 91 |
\def\pgfutil@font@huge{\LWR@print@huge} |
| 92 |
\def\pgfutil@font@Huge{\LWR@print@Huge} |
| 93 |
|
| 94 |
\def\pgfutil@font@itshape{\LWR@print@itshape} |
| 95 |
\def\pgfutil@font@bfseries{\LWR@print@bfseries} |
| 96 |
|
| 97 |
\def\pgfutil@font@normalfont{\LWR@print@normalfont} |
| 98 |
|
| 99 |
\endinput |
| 100 |
%% |
| 101 |
%% End of file `lwarp-tikz.sty'. |