summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/stex/tikzinput/tikzinput.sty
blob: bc62a9e91f03f81fe37edf6fd517659ab673631e (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
%%
%% 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'.