Skip to content
Snippets Groups Projects
Commit c5dea238 authored by Malin Freeborn's avatar Malin Freeborn
Browse files

fix \pic commands

parent 4607cf23
No related branches found
No related tags found
No related merge requests found
......@@ -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}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment