From 3d7f8deabd954422a83efe290f9a7dddfc14ac1c Mon Sep 17 00:00:00 2001 From: Malin Freeborn <malinfreeborn@tutamail.com> Date: Fri, 12 Feb 2021 03:27:24 +0100 Subject: [PATCH] fix \pic commands --- bind.sty | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bind.sty b/bind.sty index 675a07b3..061218b3 100644 --- a/bind.sty +++ b/bind.sty @@ -219,9 +219,9 @@ bookmarks=true]% \newcommand{\pic}[1]{ \noindent% \IfFileExists{images/#1.svg}{% - \includegraphics[width=\linewidth]{images/#1.svg} + \noindent\includesvg[width=\linewidth]{images/#1.svg} }{% - \noindent\includesvg[width=\linewidth]{images/#1.jpg} + \includegraphics[width=\linewidth]{images/#1.jpg} } } @@ -232,7 +232,7 @@ bookmarks=true]% \IfFileExists{images/#2.svg}{% \includesvg[width=\linewidth]{images/#2.svg} }{ - \includesvg[width=\linewidth]{images/#2.jpg} + \includegraphics[width=\linewidth]{images/#2.jpg} } #3 \end{wrapfigure} -- GitLab