summaryrefslogtreecommitdiff
path: root/resumeconfig.sty
blob: 237f18fbbabf9230622bfce04a14eed4972889e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{resumeconfig}[2022/10/02 resume configurations]

\RequirePackage[useregional]{datetime2}
\DTMlangsetup{abbr, showdayofmonth=false, monthyearsep={\space}}

\newcommand*{\numdash}{\texorpdfstring{\,--\,}{--}}
% A range of dates.
% Syntax: \daterange{yyyy1}{mm1}{dd1}{yyyy2}{mm2}{dd2}
\newcommand*{\Daterange}[6]{%
  \textsc{\small%
    \DTMdisplaydate{#1}{#2}{#3}{-1}\numdash\DTMdisplaydate{#4}{#5}{#6}{-1}%
  }
}

\newcommand*{\Displaydate}[3]{\textsc{\small\DTMdisplaydate{#1}{#2}{#3}{-1}}}

\newcommand{\GPA}[1]{\textbf{GPA}: \ensuremath{#1}}