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

allow \pic command to do jpg and svg

parent 3371d80f
Branches
No related tags found
No related merge requests found
......@@ -217,7 +217,12 @@ bookmarks=true]%
\newcommand{\headingtype}{CHAPTER}
\newcommand{\pic}[1]{
\noindent\includesvg[width=\linewidth]{images/#1}
\noindent%
\IfFileExists{images/#1.jpg}{%
\includegraphics[width=\linewidth]{images/#1}
}{%
\noindent\includesvg[width=\linewidth]{images/#1}
}
}
......@@ -290,7 +295,7 @@ bookmarks=true]%
[\rule{.9\linewidth}{.2pt}]
%
\titleformat{\subsubsection}
{\needspace{4em}\normalfont\normalsize\bfseries}{\thesubsubsection}{1em}{}
{\needspace{3em}\normalfont\normalsize\bfseries}{\thesubsubsection}{1em}{}
%%%%% Character Sheet Tracker
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment