[OS X TeX] datetime package
Peter Dyballa
Peter_Dyballa at Web.DE
Fri Mar 16 16:49:16 EDT 2007
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/
More information about the MacOSX-TeX
mailing list