summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-tikz.sty
blob: 2434fdc02d1acfd75ab52787093b997f78a45a78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
%%
%% This is file `lwarp-tikz.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% lwarp.dtx  (with options: `tikz')
%% This is a generated file.
%% Copyright 2016-2020 Brian Dunn
%% 
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%%   http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.


\LWR@ProvidesPackagePass{tikz}[2015/08/07]


\newbool{LWR@tikzbabel}

\IfPackageAtLeastTF{tikz}{2013/12/20}% Test for Tikz version v3.0.0
{\usetikzlibrary{babel}\booltrue{LWR@tikzbabel}}
{\boolfalse{LWR@tikzbabel}}

\preto\pgfpicture{%
    \begin{lateximage}[-tikz-~\PackageDiagramAltText]%
    \ifbool{LWR@tikzbabel}% Test for Tikz version v3.0.0
    {}%
    {\catcode`\$=3}% dollar sign is math shift
}

\appto\endpgfpicture{\end{lateximage}}

\LetLtxMacro\pgfutil@minipage\LWR@print@minipage
\let\pgfutil@endminipage\endLWR@print@minipage

\let\pgfutil@raggedleft\LWR@print@raggedleft
\let\pgfutil@raggedright\LWR@print@raggedright
\def\pgfutil@font@tiny{\LWR@print@tiny}
\def\pgfutil@font@scriptsize{\LWR@print@scriptsize}
\def\pgfutil@font@footnotesize{\LWR@print@footnotesize}
\def\pgfutil@font@small{\LWR@print@small}
\def\pgfutil@font@normalsize{\LWR@print@normalsize}
\def\pgfutil@font@large{\LWR@print@large}
\def\pgfutil@font@Large{\LWR@print@Large}
\def\pgfutil@font@huge{\LWR@print@huge}
\def\pgfutil@font@Huge{\LWR@print@Huge}

\def\pgfutil@font@itshape{\LWR@print@itshape}
\def\pgfutil@font@bfseries{\LWR@print@bfseries}

\def\pgfutil@font@normalfont{\LWR@print@normalfont}

\endinput
%%
%% End of file `lwarp-tikz.sty'.