Commit d4d3792b authored by Martin Ukrop's avatar Martin Ukrop
Browse files

Merge branch 'date' into 'master'

Add support for user-specified date

See merge request !8
parents 5b3cb0c5 353ac11f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -101,5 +101,5 @@ Autor práce: & \@student
\AtEndDocument{
\vspace{2em}
\noindent
Brno \today \hfill \@signature
Brno \@date \hfill \@signature
}
+1 −0
Original line number Diff line number Diff line
@@ -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$
+3 −0
Original line number Diff line number Diff line
@@ -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}
...
+3 −0
Original line number Diff line number Diff line
@@ -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}