Added incfig snippet for figures
This commit is contained in:
@@ -17,6 +17,18 @@ $3
|
|||||||
\end{document}
|
\end{document}
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
snippet incfig "Include Figures"
|
||||||
|
\usepackage{import}
|
||||||
|
\usepackage{xifthen}
|
||||||
|
\usepackage{pdfpages}
|
||||||
|
\usepackage{transparent}
|
||||||
|
|
||||||
|
\newcommand{\incfig}[1]{%
|
||||||
|
\def\svgwidth{\columnwidth}
|
||||||
|
\import{./figures/}{#1.pdf_tex}
|
||||||
|
}
|
||||||
|
endsnippet
|
||||||
|
|
||||||
snippet box "Box"
|
snippet box "Box"
|
||||||
\boxed{$1}$0
|
\boxed{$1}$0
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|||||||
Reference in New Issue
Block a user