summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tikzmark/tikzmarklibraryams.code.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/tikzmark/tikzmarklibraryams.code.tex')
-rw-r--r--Master/texmf-dist/tex/latex/tikzmark/tikzmarklibraryams.code.tex67
1 files changed, 67 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/tikzmark/tikzmarklibraryams.code.tex b/Master/texmf-dist/tex/latex/tikzmark/tikzmarklibraryams.code.tex
new file mode 100644
index 00000000000..247b5797b0a
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/tikzmark/tikzmarklibraryams.code.tex
@@ -0,0 +1,67 @@
+%%
+%% This is file `tikzmarklibraryams.code.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% tikzmark.dtx (with options: `ams')
+%% ----------------------------------------------------------------
+%% tikzmark --- remembering absolute positioning with TikZ.
+%% E-mail: loopspace@mathforge.org
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%% ----------------------------------------------------------------
+%%
+
+\@ifpackageloaded{amsmath}{%
+ \let\tikzmark@ams@boxz@=\boxz@
+ \newcounter{tikzmarkequation}
+ \def\tikzmark@ams@name{equation}
+ \def\tikzmark@boxz@{%
+ \ifmeasuring@
+ \tikzmark@ams@boxz@
+ \else
+ \stepcounter{tikzmarkequation}%
+ \tikzmark@box{\tikzmark@ams@name-\thetikzmarkequation}{\z@}%
+ \fi
+ }
+ \newenvironment{tikzmarkmath}[1][equation]{%
+ \def\tikzmark@ams@name{#1}%
+ \setcounter{tikzmarkequation}{0}%
+ \let\boxz@=\tikzmark@boxz@
+ }{%
+ \let\boxz@=\tikzmark@ams@boxz@
+ \message{%
+ Tikzmark math environment
+ \tikzmark@ams@name\space had
+ \the\value{tikzmarkequation} nodes in it
+ }%
+ }
+}{%
+ \PackageError{tikzmark AMS}%
+ {The amsmath package has not been loaded.}%
+ {}
+}
+%%
+%% Copyright (C) 2011-2021 by Andrew Stacey <loopspace@mathforge.org>
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License (LPPL), either
+%% version 1.3c of this license or (at your option) any later
+%% version. The latest version of this license is in the file:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% This work is "maintained" (as per LPPL maintenance status) by
+%% Andrew Stacey.
+%%
+%% This work consists of the file tikzmark.dtx
+%% and the derived files tikzmark.ins,
+%% tikzmark.pdf,
+%% tikzlibrarytikzmark.code.tex, and
+%% tikzmarklibrarylistings.code.tex
+%% tikzmarklibraryhighlighting.code.tex
+%% tikzmarklibraryams.code.tex
+%%
+%%
+%% End of file `tikzmarklibraryams.code.tex'.