| 1 |
\documentclass{article} |
| 2 |
\usepackage[basque]{babel} |
| 3 |
\usepackage[]{datetime2} |
| 4 |
\usepackage{pgffor} |
| 5 |
|
| 6 |
|
| 7 |
\newcommand{\test}{% |
| 8 |
\noindent This PDF was created on \today. |
| 9 |
|
| 10 |
\noindent This PDF was created on \DTMnow. |
| 11 |
\texttt{\\DTMdisplaydate} \DTMdisplaydate{2015}{4}{23}{3} |
| 12 |
\texttt{\\DTMDisplaydate} \DTMDisplaydate{2015}{4}{23}{3} |
| 13 |
\texttt{\\today} \today |
| 14 |
\texttt{\\Today} \Today |
| 15 |
\texttt{\\DTMdate} \DTMdate{2015-04-23} |
| 16 |
\texttt{\\DTMDate} \DTMDate{2015-04-23} |
| 17 |
\texttt{\\DTMdisplaytime} \DTMdisplaytime{10}{30}{23} |
| 18 |
\texttt{\\DTMdisplayzone} \DTMdisplayzone{2}{00} |
| 19 |
\texttt{\\DTMcurrenttime} \DTMcurrenttime |
| 20 |
\texttt{\\DTMcurrentzone} \DTMcurrentzone |
| 21 |
\texttt{\\DTMtime} \DTMtime{10:30:23} |
| 22 |
\texttt{\\DTMdisplay} \DTMdisplay{2015}{04}{23}{3}{10}{30}{23}{2}{00} |
| 23 |
\texttt{\\DTMDisplay} \DTMDisplay{2015}{04}{23}{3}{10}{30}{23}{2}{00} |
| 24 |
\texttt{\\DTMnow} \DTMnow |
| 25 |
\texttt{\\DTMNow} \DTMNow |
| 26 |
|
| 27 |
\vspace*{\baselineskip} |
| 28 |
} |
| 29 |
|
| 30 |
\begin{document} |
| 31 |
\foreach \style in {basque, basque-numeric}{ |
| 32 |
%\style |
| 33 |
%} |
| 34 |
\noindent\texttt{DTMsetstyle\{\style\}} \DTMsetstyle{\style} |
| 35 |
|
| 36 |
\test |
| 37 |
} |
| 38 |
|
| 39 |
\DTMlangsetup[basque]{inessive=true} |
| 40 |
\DTMsetstyle{basque} |
| 41 |
|
| 42 |
\test |
| 43 |
|
| 44 |
|
| 45 |
\end{document} |
| 46 |
|
| 47 |
%%% Local Variables: |
| 48 |
%%% mode: latex |
| 49 |
%%% TeX-master: t |
| 50 |
%%% End: |