Add width argument to command
This commit is contained in:
parent
b9648e0f2e
commit
54e720eef8
|
@ -18,9 +18,9 @@
|
|||
\usepackage{pdfpages}
|
||||
\usepackage{transparent}
|
||||
|
||||
\newcommand{\incfig}[1]{%
|
||||
\def\svgwidth{\columnwidth}
|
||||
\import{./figures/}{#1.pdf_tex}
|
||||
\newcommand{\incfig}[2][1]{%
|
||||
\def\svgwidth{#1\columnwidth}
|
||||
\import{./figures/}{#2.pdf_tex}
|
||||
}
|
||||
|
||||
\begin{figure}[ht]
|
||||
|
|
Loading…
Reference in New Issue