[TxMt] Date snippet for Latex

Paul McCann paul.mccann at adelaide.edu.au
Thu Oct 11 04:59:13 UTC 2007


  Gildas Hamel asked:

> \subsection{${1:`date +%A`, `date +%d` `date +%B` `date +%Y`}}
> which gives me the date as follows in my files (example):
>
> \subsection{Wednesday, 10 October 2007}

Just use a "big" format string for a single date command:

    date +"%A, %d %B %Y"

should do the trick.

Cheers,
Paul



More information about the textmate mailing list