diff options
author | Karl Hallsby <karl@hallsby.com> | 2022-10-29 16:51:27 -0500 |
---|---|---|
committer | Karl Hallsby <karl@hallsby.com> | 2022-10-29 16:51:27 -0500 |
commit | 8ddd309d9fa64c551447d977cf5a85fd4dccf746 (patch) | |
tree | 67a386ae455f50aaf6e2ab249a7cc2538973b25e | |
parent | e03084cadead6257f317712cce3aafe5894af5c2 (diff) |
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.
-rw-r--r-- | resumeconfig.sty | 5 |
1 files changed, 5 insertions, 0 deletions
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}}} |