diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/datetime2-romanian/datetime2-romanian-test.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/datetime2-romanian/datetime2-romanian-test.tex | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/datetime2-romanian/datetime2-romanian-test.tex b/Master/texmf-dist/doc/latex/datetime2-romanian/datetime2-romanian-test.tex new file mode 100644 index 00000000000..a6ab118e86b --- /dev/null +++ b/Master/texmf-dist/doc/latex/datetime2-romanian/datetime2-romanian-test.tex @@ -0,0 +1,30 @@ +\usepackage[en-GB,en-US]{datetime2} + +\newcommand*{\teststyle}[1]{% + \DTMsetstyle{#1} + \texttt{#1}:\par + \DTMnow\par + \DTMNow\par +} + +\newcommand*{\testall}[1]{% + \DTMlangsetup*{#1} + \texttt{#1}:\par + \teststyle{default} + \teststyle{iso} + \teststyle{english} + \teststyle{en-GB} + \teststyle{en-GB-numeric} + \teststyle{en-US} + \teststyle{en-US-numeric} + \teststyle{romanian} + \teststyle{romanian-numeric} +} + +\begin{document} + +\testall{showdayofmonth=true,abbr=false} +\testall{showdayofmonth=false} +\testall{abbr=true} + +\end{document} |