diff --git a/config/thesis_commands.tex b/config/thesis_commands.tex index d3b4f0d..d6cec46 100644 --- a/config/thesis_commands.tex +++ b/config/thesis_commands.tex @@ -1,9 +1,11 @@ -% Content +% Chapters \newcommand{\importchapter}[2]{% Load a chapter (#2) in a path (#1) - \cleardoublepage% after a clear double page - \graphicspath{{#1/figures/}}% with figures - \glsresetall% reset the acronyms - \includefrom{#1}{#2}% and relative paths \input in the chapter + \glsresetall% Reset the acronyms + \graphicspath{{#1/figures/}}% Enable relative paths for images + + \cleardoublepage% Start on a right page + \includefrom{#1}{#2}% Include with relative paths \input in the chapter +} } \newcommand{\noindentskip}{\bigskip\noindent} % Skip a line and remove the indent