Skip to content

Commit

Permalink
Adding date by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
joppebos committed Oct 5, 2023
1 parent 6582854 commit 484f40d
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
20 changes: 18 additions & 2 deletions iacrcc/iacrcc.cls
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
\def\fileversion{0.48}
\def\filedate{2023/09/28}
\def\fileversion{0.49}
\def\filedate{2023/10/05}

\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\typeout{^^J *** LaTeX class for IACR Communications in Cryptology v\fileversion\space ***^^J}
Expand Down Expand Up @@ -883,6 +883,15 @@
% graphicx: enhanced support for graphics
\RequirePackage{graphicx}
% datetime2: Formats for dates, times and time zones
\RequirePackage{datetime2}
\global\let\@IACR@docdate\@empty%
\newcommand{\documentdate}[1]{%
\gdef\@IACR@docdate{1}%
\DTMsavedate{IACR@docdate}{#1}%
}
% if the author decides to use biblatex, then we pass options for the style to enforce
% consistent look and feel.
\if@optbiblatex
Expand Down Expand Up @@ -942,6 +951,13 @@
\if@IACR@Revised Revised: \IACR@Revised \hfill{}\fi%
\if@IACR@Accepted Accepted: \IACR@Accepted \hfill{}\fi%
\if@IACR@Published Published: \IACR@Published\fi%
\if@IACR@Received\else
\ifx\@IACR@docdate\@empty
Date of this document: \DTMtoday%
\else%
Date of this document: \DTMusedate{IACR@docdate}%
\fi%
\fi%
}%
}% !if @IACRversion != submission
\fi% !\@IACR@License
Expand Down
Binary file modified iacrcc/iacrdoc.pdf
Binary file not shown.
6 changes: 5 additions & 1 deletion iacrcc/iacrdoc.tex
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
\def\BibLaTeX{Bib\LaTeX}

\title[running = {The iacrcc class},
subtitle = {iacrcc LaTeX Class Documentation (v0.48)}
subtitle = {iacrcc LaTeX Class Documentation (v0.49)}
]{How to Use the IACR Communications in Cryptology Class}

\genericfootnote{This is a generic footnote produced with \cmd[...]{genericfootnote}.}
Expand Down Expand Up @@ -149,6 +149,10 @@ \section{Invocation and usage}
correct and a text version of the abstract is provided
in the \texttt{textabstract} environment.

The current date of compilation time is automatically added to the
footer of the front page. If you want to adjust this date you can
use the \verb+\documentdate+ macro (e.g. \verb+\documentdate{2023-10-05}+).

The \texttt{iacrcc} class automatically loads \texttt{hyperref}
after all other packages. If you need some packages to be loaded
\emph{after} \texttt{hyperref}, you should read Section~\ref{sec:loadorder}.
Expand Down

0 comments on commit 484f40d

Please sign in to comment.