summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/stex/tikzinput/tikzinput.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/stex/tikzinput/tikzinput.sty')
-rw-r--r--Master/texmf-dist/tex/latex/stex/tikzinput/tikzinput.sty34
1 files changed, 34 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/stex/tikzinput/tikzinput.sty b/Master/texmf-dist/tex/latex/stex/tikzinput/tikzinput.sty
new file mode 100644
index 00000000000..bc62a9e91f0
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/stex/tikzinput/tikzinput.sty
@@ -0,0 +1,34 @@
+%%
+%% This is file `tikzinput.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% tikzinput.dtx (with options: `package')
+%%
+\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+\ProvidesPackage{tikzinput}[2016/04/06 v1.0 Selective input of TIKZ pictures]
+\newif\if@tikzinput@mh@\@tikzinput@mh@false
+\DeclareOption{mh}{\@tikzinput@mh@true}
+\newif\iftikzinput@image\tikzinput@imagefalse
+\DeclareOption{image}{\tikzinput@imagetrue}
+\DeclareOption*{}
+\ProcessOptions
+\if@tikzinput@mh@\RequirePackage{tikzinput-mh}\fi
+\iftikzinput@image
+\RequirePackage{graphicx}
+\providecommand\usetikzlibrary[1]{}
+\else
+\RequirePackage{tikz}
+\RequirePackage{standalone}
+\fi
+\iftikzinput@image
+\newcommand\tikzinput[2][]{\includegraphics[#1]{#2}}
+\else
+\newcommand\tikzinput[2][]{\input{#2}}
+\fi
+\newcommand\ctikzinput[2][]{\begin{center}\tikzinput{#2}\end{center}}
+
+\endinput
+%%
+%% End of file `tikzinput.sty'.