Doc \importchapter

This commit is contained in:
2024-09-26 21:06:34 +02:00
parent 1cef72b099
commit ebbd7133d4

View File

@@ -1,9 +1,11 @@
% Content % Chapters
\newcommand{\importchapter}[2]{% Load a chapter (#2) in a path (#1) \newcommand{\importchapter}[2]{% Load a chapter (#2) in a path (#1)
\cleardoublepage% after a clear double page \glsresetall% Reset the acronyms
\graphicspath{{#1/figures/}}% with figures \graphicspath{{#1/figures/}}% Enable relative paths for images
\glsresetall% reset the acronyms
\includefrom{#1}{#2}% and relative paths \input in the chapter \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 \newcommand{\noindentskip}{\bigskip\noindent} % Skip a line and remove the indent