[OS X TeX] datetime package
Enrico Franconi
franconi at inf.unibz.it
Sat Mar 17 02:51:31 CET 2007
I guess that for the beginner this reduces to:
\usepackage[italian,ngerman,UKenglish]{babel}
%% Example in different languages:
{\selectlanguage{UKenglish}\today}
{\selectlanguage{ngerman}\today}
%% Example on how to customise:
{\selectlanguage{italian}Data di oggi: \number\day / \number\month /
\number\year}
cheers
--e.
On 17 Mar 2007, at 07:49, Peter Dyballa wrote:
>
> Am 16.03.2007 um 18:55 schrieb Salvatore Enrico Indiogine:
>
>> However, I do not know how to use it to modify my \today output.
>
> \documentclass[a4paper,11pt]{article}
> \usepackage{ifpdf}
> \ifpdf
> \immediate\write16{Bonjour, PDF!}
> \usepackage{cmap}
> \usepackage[activate={true,nocompatibility}]{microtype}
> \else % for non-pdfTeX
> \immediate\write16{¡Hola: DVI!}
> %# \DeclareGraphicsExtensions{.png,.gif,.eps,.ps,.jpeg}
> \usepackage[protrusion=true,expansion=false]{microtype}
> \fi
> \usepackage[ngerman,UKenglish]{babel}
> %\usepackage{lmodern}
> \usepackage[T1]{fontenc}
> \usepackage[full]{textcomp}
> \usepackage[latin9]{inputenc}
>
>
> \begin{document}
>
> \selectlanguage{ngerman}Heute ist der \today, oder, dass die ganze
> Welt es auch versteht: \number\year-\ifnum\month > 9 \number\month
> \else 0\number\month-\number\day.
> {\selectlanguage{UKenglish}\today}
>
> \end{document}
>
> There aren't *many* options to change the format ...
>
> --
> Greetings
>
> Pete
>
> Hard Disk: A device that allows users to delete vast quantities of
> data with
> simple mnemonic commands.
>
>
>
>
> ------------------------- Helpful Info -------------------------
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
> TeX FAQ: http://www.tex.ac.uk/faq
> List Archive: http://tug.org/pipermail/macostex-archives/
> List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
>
>
Enrico Franconi - franconi at inf.unibz.it
Free University of Bozen-Bolzano - http://www.inf.unibz.it/~franconi/
Faculty of Computer Science - Phone: (+39) 0471-016-120
I-39100 Bozen-Bolzano BZ, Italy - Fax: (+39) 0461-173-9006
------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
More information about the macostex-archives
mailing list