diff --git a/bind.sty b/bind.sty index 675a07b3837a90ea9b5831f0b4313287ecb86668..406e112b1ad08ce434e6a708bab7e388bd24f1a5 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} }{% - \noindent\includesvg[width=\linewidth]{images/#1.jpg} + \includegraphics[width=\linewidth]{images/#1.jpg} } } @@ -230,38 +230,34 @@ bookmarks=true]% \needspace{2cm}\begin{wrapfigure}{R}{.#1\linewidth} \noindent% \IfFileExists{images/#2.svg}{% - \includesvg[width=\linewidth]{images/#2.svg} + \includesvg[width=\linewidth]{images/#2} }{ - \includesvg[width=\linewidth]{images/#2.jpg} + \includegraphics[width=\linewidth]{images/#2.jpg} } #3 \end{wrapfigure} } \newcommand{\toppic}[2]{ - \iftoggle{verbose}{ - \begin{figure*}[t!] - \IfFileExists{images/#1.svg}{ - \includesvg[width=\textwidth]{images/#1} - }{ - \includegraphics[width=\textwidth]{images/#1.jpg} - } - #2 - \end{figure*} - } + \begin{figure*}[t!] + \IfFileExists{images/#1.svg}{ + \includesvg[width=\textwidth]{images/#1} + }{ + \includegraphics[width=\textwidth]{images/#1.jpg} + } + #2 + \end{figure*} } \newcommand{\bottompic}[2]{ - \iftoggle{verbose}{ - \begin{figure*}[b!] - \IfFileExists{images/#1.svg}{ - \includesvg[width=\textwidth]{images/#1} - }{ - \includegraphics[width=\textwidth]{images/#1.jpg} - } - #2 - \end{figure*} - } + \begin{figure*}[b!] + \IfFileExists{images/#1.svg}{ + \includesvg[width=\textwidth]{images/#1} + }{ + \includegraphics[width=\textwidth]{images/#1.jpg} + } + #2 + \end{figure*} } \colorlet{chapnumcol}{black!100}