replace_shorten_svg-tex.pdf_tex (2077B)
1 %% Creator: Inkscape inkscape 0.92.3, www.inkscape.org 2 %% PDF/EPS/PS + LaTeX output extension by Johan Engelen, 2010 3 %% Accompanies image file 'replace_shorten_svg-tex.pdf' (pdf, eps, ps) 4 %% 5 %% To include the image in your LaTeX document, write 6 %% \input{<filename>.pdf_tex} 7 %% instead of 8 %% \includegraphics{<filename>.pdf} 9 %% To scale the image, write 10 %% \def\svgwidth{<desired width>} 11 %% \input{<filename>.pdf_tex} 12 %% instead of 13 %% \includegraphics[width=<desired width>]{<filename>.pdf} 14 %% 15 %% Images with a different path to the parent latex file can 16 %% be accessed with the `import' package (which may need to be 17 %% installed) using 18 %% \usepackage{import} 19 %% in the preamble, and then including the image with 20 %% \import{<path to file>}{<filename>.pdf_tex} 21 %% Alternatively, one can specify 22 %% \graphicspath{{<path to file>/}} 23 %% 24 %% For more information, please see info/svg-inkscape on CTAN: 25 %% http://tug.ctan.org/tex-archive/info/svg-inkscape 26 %% 27 \begingroup% 28 \makeatletter% 29 \providecommand\color[2][]{% 30 \errmessage{(Inkscape) Color is used for the text in Inkscape, but the package 'color.sty' is not loaded}% 31 \renewcommand\color[2][]{}% 32 }% 33 \providecommand\transparent[1]{% 34 \errmessage{(Inkscape) Transparency is used (non-zero) for the text in Inkscape, but the package 'transparent.sty' is not loaded}% 35 \renewcommand\transparent[1]{}% 36 }% 37 \providecommand\rotatebox[2]{#2}% 38 \newcommand*\fsize{\dimexpr\f@size pt\relax}% 39 \newcommand*\lineheight[1]{\fontsize{\fsize}{#1\fsize}\selectfont}% 40 \ifx\svgwidth\undefined% 41 \setlength{\unitlength}{95.99999746bp}% 42 \ifx\svgscale\undefined% 43 \relax% 44 \else% 45 \setlength{\unitlength}{\unitlength * \real{\svgscale}}% 46 \fi% 47 \else% 48 \setlength{\unitlength}{\svgwidth}% 49 \fi% 50 \global\let\svgwidth\undefined% 51 \global\let\svgscale\undefined% 52 \makeatother% 53 \begin{picture}(1,1)% 54 \lineheight{1}% 55 \setlength\tabcolsep{0pt}% 56 \put(0,0){\includegraphics[width=\unitlength,page=1]{replace_shorten_svg-tex.pdf}}% 57 \end{picture}% 58 \endgroup%