%% %% This is file `tikzinput.sty', %% generated with the docstrip utility. %% %% The original source files were: %% %% tikzinput.dtx (with options: `package') %% %%%%%%%%%%%%% tikzinput.dtx %%%%%%%%%%%%% \ProvidesExplPackage{tikzinput}{2022/02/26}{3.0.1}{tikzinput package} \RequirePackage{l3keys2e} \keys_define:nn { tikzinput } { image .bool_set:N = \c_tikzinput_image_bool, image .default:n = false , unknown .code:n = {} } \ProcessKeysOptions { tikzinput } \bool_if:NTF \c_tikzinput_image_bool { \RequirePackage{graphicx} \providecommand\usetikzlibrary[]{} \newcommand\tikzinput[2][]{\includegraphics[#1]{#2}} }{ \RequirePackage{tikz} \RequirePackage{standalone} \newcommand \tikzinput [2] [] { \setkeys{Gin}{#1} \ifx \Gin@ewidth \Gin@exclamation \ifx \Gin@eheight \Gin@exclamation \input { #2 } \else \resizebox{!}{ \Gin@eheight }{ \input { #2 } } \fi \else \ifx \Gin@eheight \Gin@exclamation \resizebox{ \Gin@ewidth }{!}{ \input { #2 } } \else \resizebox{ \Gin@ewidth }{ \Gin@eheight }{ \input { #2 } } \fi \fi } } \newcommand \ctikzinput [2] [] { \begin{center} \tikzinput [#1] {#2} \end{center} } \@ifpackageloaded{stex}{ \RequirePackage{stex-tikzinput} }{} \endinput %% %% End of file `tikzinput.sty'.