Doc \importchapter
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user