Commit 353ac11f authored by Nikola Beneš's avatar Nikola Beneš
Browse files

Add support for user-specified date

parent 5b3cb0c5
......@@ -101,5 +101,5 @@ Autor práce: & \@student
\AtEndDocument{
\vspace{2em}
\noindent
Brno \today \hfill \@signature
Brno \@date \hfill \@signature
}
......@@ -13,6 +13,7 @@ $if(consultant)$\setConsultant{$consultant$}$endif$
$if(reader)$\setReader{$reader$}$endif$
$if(inter-reader)$\setInterReader{$inter-reader$}$endif$
$if(signature)$\setSignature{$signature$}$endif$
$if(date)$\date{$date$}$endif$
$for(header-includes)$
$header-includes$
......
......@@ -9,6 +9,9 @@ consultant: Ing. Maggie Lane # comment to hide
reader: RNDr. John Smith # comment to hide
inter-reader: RNDr.\ Mary Poppins, Ph.D. # comment to hide
#signature: John Smith # uncomment for custom signature
#date: 1\. 4. 2020 # uncomment for custom date
# Note: Escaping the the first '.' via '\.' is necessary, otherwise pandoc
# gets confused and assumes this is an enumerated list.
header-includes:
- \usepackage{lipsum}
...
......
......@@ -22,6 +22,9 @@
% If signature is not set, supervisor/reader name is taken.
\setSignature{John Smith}
% OPTIONAL: Set the date using \date{...}.
% If the date is not set, uses \today.
% Thesis report begin
\begin{document}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment