[OS X TeX] datetime package
Alan Munn
amunn at msu.edu
Fri Mar 16 22:14:35 CET 2007
At 9:49 PM +0100 3/16/07, 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}
Now this is an obvious bit of code if I ever saw
one. (Even without the extra stuff that isn't
necessary) :-) Especially for a beginner.
>There aren't *many* options to change the format ...
datetime has more than 12 (all easily chosen and easy to remember)
Alan
--
Alan Munn
amunn at msu.edu
Department of Linguistics
and Germanic, Slavic, Asian and African Languages Fax. +1-517-432-2736
Michigan State University, East Lansing MI 48824 Tel. +1-517-355-7491
------------------------- 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