From 8ddd309d9fa64c551447d977cf5a85fd4dccf746 Mon Sep 17 00:00:00 2001 From: Karl Hallsby Date: Sat, 29 Oct 2022 16:51:27 -0500 Subject: Add new command to type a previous date to the present day The main difference between this one and the \Daterange command is that this one only displays the start date, leaving the end-date as Present. --- resumeconfig.sty | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/resumeconfig.sty b/resumeconfig.sty index 076bd18..4622168 100644 --- a/resumeconfig.sty +++ b/resumeconfig.sty @@ -12,6 +12,11 @@ \DTMdisplaydate{#1}{#2}{#3}{-1}\numdash\DTMdisplaydate{#4}{#5}{#6}{-1}% } } +\newcommand*{\DatetoPresent}[3]{% + \textsc{\small% + \DTMdisplaydate{#1}{#2}{#3}{-1}\numdash{}Present% + } +} \newcommand*{\Displaydate}[3]{\textsc{\small\DTMdisplaydate{#1}{#2}{#3}{-1}}} -- cgit v1.2.3