Add width argument to command

This commit is contained in:
Jean-Claude 2023-10-29 19:50:45 +01:00
parent b9648e0f2e
commit 54e720eef8
Signed by: jeanclaude
GPG Key ID: 8A300F57CBB9F63E
1 changed files with 3 additions and 3 deletions

View File

@ -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]