summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/datetime2-it-fulltext/samples/sample-it-fulltext3.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/datetime2-it-fulltext/samples/sample-it-fulltext3.tex')
-rw-r--r--Master/texmf-dist/doc/latex/datetime2-it-fulltext/samples/sample-it-fulltext3.tex74
1 files changed, 74 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/datetime2-it-fulltext/samples/sample-it-fulltext3.tex b/Master/texmf-dist/doc/latex/datetime2-it-fulltext/samples/sample-it-fulltext3.tex
new file mode 100644
index 00000000000..0b570478443
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/datetime2-it-fulltext/samples/sample-it-fulltext3.tex
@@ -0,0 +1,74 @@
+\documentclass[italian,english]{article}
+\usepackage{ifpdf,ifxetex}
+\ifpdf
+\usepackage[T1]{fontenc}
+\usepackage[utf8]{inputenc}
+\usepackage{babel}
+\else
+\usepackage{fontspec}
+\usepackage{polyglossia}
+\setdefaultlanguage{italian}
+\fi
+\usepackage[showdow,useregional]{datetime2-it-fulltext}
+\usepackage[showdow]{datetime2-en-fulltext}
+\begin{document}
+\part{title}\section{Date}
+
+\begin{description}
+\item[it-fulltext:]
+\DTMsetdatestyle{it-fulltext}
+\today.
+\item[en-fulltext:]
+\DTMsetdatestyle{en-fulltext}
+\today.
+
+\end{description}
+
+\section{Time}
+\subsection{it-fulltext}
+\DTMsettimestyle{it-fulltext}
+Ora: \DTMcurrenttime.
+
+0.00: \DTMdisplaytime{0}{0}{0}.
+
+0.01: \DTMdisplaytime{0}{1}{0}.
+
+0.15: \DTMdisplaytime{0}{15}{0}.
+
+0.29: \DTMdisplaytime{0}{29}{0}.
+
+0.30: \DTMdisplaytime{0}{30}{0}.
+\subsection{it-fulltext-twenty-four}
+\DTMsettimestyle{it-fulltext-twenty-four}
+Ora: \DTMcurrenttime.
+
+0.00: \DTMdisplaytime{0}{0}{0}.
+
+0.01: \DTMdisplaytime{0}{1}{0}.
+
+0.15: \DTMdisplaytime{0}{15}{0}.
+
+0.29: \DTMdisplaytime{0}{29}{0}.
+
+0.30: \DTMdisplaytime{0}{30}{0}.
+
+0.31: \DTMdisplaytime{0}{31}{0}.
+\subsection{en-fulltext}
+\DTMsettimestyle{en-fulltext}
+Time: \DTMcurrenttime.
+
+0.00: \DTMdisplaytime{0}{0}{0}.
+
+0.01: \DTMdisplaytime{0}{1}{0}.
+
+0.15: \DTMdisplaytime{0}{15}{0}.
+
+0.29: \DTMdisplaytime{0}{29}{0}.
+
+0.30: \DTMdisplaytime{0}{30}{0}.
+
+0.31: \DTMdisplaytime{0}{31}{0}.
+
+
+\end{document}
+