diff options
author | Karl Berry <karl@freefriends.org> | 2016-04-07 20:49:10 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-04-07 20:49:10 +0000 |
commit | ddfe3a4eaf95167482e923d4da3de2917a7dbfbb (patch) | |
tree | 0acc1bb60b37392451f5e79e00c33c487c19abcf /Master/texmf-dist/tex/latex/stex/tikzinput/tikzinput.sty | |
parent | a04ae5a947a6b06bc717719f6ad63e6de5cb5af6 (diff) |
stex (7apr16)
git-svn-id: svn://tug.org/texlive/trunk@40320 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/stex/tikzinput/tikzinput.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/stex/tikzinput/tikzinput.sty | 34 |
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'. |