Debian Codegraph @

texmf-dist/doc/latex/datetime2-romanian/datetime2-romanian-test.tex

raw
1 \usepackage[en-GB,en-US]{datetime2}
2
3 \newcommand*{\teststyle}[1]{%
4 \DTMsetstyle{#1}
5 \texttt{#1}:\par
6 \DTMnow\par
7 \DTMNow\par
8 }
9
10 \newcommand*{\testall}[1]{%
11 \DTMlangsetup*{#1}
12 \texttt{#1}:\par
13 \teststyle{default}
14 \teststyle{iso}
15 \teststyle{english}
16 \teststyle{en-GB}
17 \teststyle{en-GB-numeric}
18 \teststyle{en-US}
19 \teststyle{en-US-numeric}
20 \teststyle{romanian}
21 \teststyle{romanian-numeric}
22 }
23
24 \begin{document}
25
26 \testall{showdayofmonth=true,abbr=false}
27 \testall{showdayofmonth=false}
28 \testall{abbr=true}
29
30 \end{document}