blob: a867bd6ec382fc2697e7fda0bdc377d429af6aa3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
% Bookdown LaTeX before-body file
% Front matter
\frontmatter
% Cover image
% See https://stackoverflow.com/questions/45963505/coverpage-and-copyright-notice-before-title-in-r-bookdown
% https://tex.stackexchange.com/questions/39147/scale-image-to-page-width
% https://stackoverflow.com/questions/1963923/adding-full-page-figures-in-latex-how
\includepdf{images/cover.png}
% Do not print the default title set in the template
\let\maketitle\oldmaketitle
% Uncomment this to duplicate the book title
% This might also clear the \@title variable
%\maketitle
% Metadata page
\newpage
\begin{fullwidth}
~\vfill
\thispagestyle{empty}
\setlength{\parindent}{0pt}
\setlength{\parskip}{\baselineskip}
\makeatletter\@title\makeatother
Copyleft \copyright\ \input{.metadata/year.txt} \thanklessauthor\ \input{snippets/contact.txt}
\input{LICENSE}
\input{snippets/keywords.txt}
\input{snippets/cover.txt}
% Some \input statements need to be protected
% See https://texfaq.org/FAQ-extrabrace
% https://www.typeerror.org/docs/latex/_005cprotect
\par\smallcaps{\protect\input{snippets/project.txt} - \protect\input{snippets/volume.txt}}
\par\smallcaps{Publicado por \protect\input{snippets/publisher.txt}}
\par\smallcaps{Publicado em \protect\input{snippets/url.txt}}
%\par\textit{Primeira impressão, \input{.metadata/year.txt}}
\par Livro Vivo - Versão \textit{\textbf{\input{.metadata/revision.txt}}} compilada em \textit{\textbf{\input{.metadata/date.txt}}}
\end{fullwidth}
% Disclaimer
\newpage
\begin{fullwidth}
~\vfill
\thispagestyle{empty}
\setlength{\parindent}{0pt}
\setlength{\parskip}{\baselineskip}
\textit{\input{DISCLAIMER}}
\end{fullwidth}
% Start the main matter (normal chapters)
\mainmatter
|