Add .gitignore, update template.yml and template.tex for new document structure, and include example markdown file
This commit is contained in:
parent
1e1e1e65e2
commit
d040c12b63
7 changed files with 101 additions and 8 deletions
10
template.tex
10
template.tex
|
|
@ -67,20 +67,20 @@
|
|||
[# endfor #]
|
||||
|
||||
[# for affiliation in doc.affiliations #]\affil{[-affiliation.value.name-]}[# endfor #]
|
||||
[#- if doc.date -#]
|
||||
\DTMsavedate{articleDate}{[-doc.date.year-]-[-doc.date.month-]-[-doc.date.day-]}
|
||||
\date{\DTMusedate{articleDate}}
|
||||
[# endif #]
|
||||
|
||||
\hypersetup{
|
||||
pdftitle = {[-doc.title-]},
|
||||
pdfauthor = {[-- doc.authors|join(",", "name") --]}
|
||||
pdfauthor = {[-- doc.authors|join(",", "name") --]},
|
||||
}
|
||||
|
||||
\definecolor{dim}{HTML}{666666}
|
||||
\pagestyle{fancy}
|
||||
\fancyhf{}
|
||||
\fancyhead[C]{\color{dim}\interlight [-doc.title-]}
|
||||
\fancyhead[L]{\color{dim}\interlight {[-- doc.affiliations|join(",", "name") --]}}
|
||||
\fancyhead[R]{\color{dim}\interlight \DTMusedate{articleDate}}
|
||||
\fancyfoot[C]{\color{dim}\interlight Page \textbf{\thepage} sur \textbf{\pageref*{LastPage}}}
|
||||
\renewcommand{\footnotelayout}{\color{dim}}
|
||||
\renewcommand{\headrulewidth}{0pt}
|
||||
|
|
@ -96,8 +96,4 @@
|
|||
\maketitle
|
||||
|
||||
[-CONTENT-]
|
||||
|
||||
[# if doc.bibliography #]
|
||||
\bibliography{[- doc.bibliography | join(", ") -]}
|
||||
[# endif #]
|
||||
\end{document}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue