aboutsummaryrefslogtreecommitdiff
path: root/structure
diff options
context:
space:
mode:
Diffstat (limited to 'structure')
-rw-r--r--structure/00-header.tex3
-rw-r--r--structure/99-end.tex14
2 files changed, 13 insertions, 4 deletions
diff --git a/structure/00-header.tex b/structure/00-header.tex
index 48b7150..ded10bd 100644
--- a/structure/00-header.tex
+++ b/structure/00-header.tex
@@ -79,3 +79,6 @@
% See https://stackoverflow.com/questions/45963505/coverpage-and-copyright-notice-before-title-in-r-bookdown
\let\oldmaketitle\maketitle
\AtBeginDocument{\let\maketitle\relax}
+
+% Custom header
+\IfFileExists{snippets/header.tex}{\input{snippets/header.tex}}{}
diff --git a/structure/99-end.tex b/structure/99-end.tex
index f1657bd..1959646 100644
--- a/structure/99-end.tex
+++ b/structure/99-end.tex
@@ -16,14 +16,20 @@ Listas de tabelas, figuras etc.
% Print the list of definitions
% See https://latex.org/forum/viewtopic.php?t=17679
% https://ctan.org/pkg/thmtools
-%\renewcommand\listtheoremname{Lista de Definições}
-%\listoftheorems[ignoreall,show={definition}]
+\ifx\BookupListDefinitions\undefined
+\else
+ \renewcommand\listtheoremname{Lista de Definições}
+ \listoftheorems[ignoreall,show={definition}]
+\fi
% Print the list of etimologies
% The "proposition" theorem type is allocated for etimologies in this book
% See the _bookdown.yml at the top-level project folder for more information
-%\renewcommand\listtheoremname{Lista de Etimologias}
-%\listoftheorems[ignoreall,show={proposition}]
+\ifx\BookupListEtimologies\undefined
+\else
+ \renewcommand\listtheoremname{Lista de Etimologias}
+ \listoftheorems[ignoreall,show={proposition}]
+\fi
% Print the index
\printindex