| 1 |
English Language Module for datetime2 Package |
| 2 |
|
| 3 |
Author: Nicola L. C. Talbot |
| 4 |
www.dickimaw-books.com |
| 5 |
|
| 6 |
Licence: LPPL |
| 7 |
|
| 8 |
Required Packages: datetime2, tracklang |
| 9 |
|
| 10 |
This module provides the following styles: |
| 11 |
|
| 12 |
english (English - no region) |
| 13 |
en-GB (English - United Kingdom of Great Britain and Northern Ireland) |
| 14 |
en-US (English - United States of America) |
| 15 |
en-CA (English - Canada) |
| 16 |
en-AU (English - Commonwealth of Australia) |
| 17 |
en-NZ (English - New Zealand) |
| 18 |
en-GG (English - Bailiwick of Guernsey) |
| 19 |
en-JE (English - Bailiwick of Jersey) |
| 20 |
en-IM (English - Isle of Man) |
| 21 |
en-MT (English - Republic of Malta) |
| 22 |
en-IE (English - Republic of Ireland) |
| 23 |
|
| 24 |
Example usage: |
| 25 |
|
| 26 |
\documentclass{article} |
| 27 |
\usepackage[en-GB]{datetime2} |
| 28 |
\begin{document} |
| 29 |
\today |
| 30 |
\end{document} |
| 31 |
|
| 32 |
\documentclass[british]{article} |
| 33 |
\usepackage{babel} |
| 34 |
\usepackage[useregional]{datetime2} |
| 35 |
\begin{document} |
| 36 |
\today |
| 37 |
\end{document} |
| 38 |
|
| 39 |
\documentclass{article} |
| 40 |
\usepackage{polyglossia} |
| 41 |
\setmainlanguage[variant=uk]{english} |
| 42 |
\usepackage[en-GB]{datetime2} |
| 43 |
\begin{document} |
| 44 |
\today |
| 45 |
\end{document} |
| 46 |
|
| 47 |
INSTALLATION |
| 48 |
============ |
| 49 |
|
| 50 |
latex datetime2-english.ins |
| 51 |
|
| 52 |
Move all *.ldf files to |
| 53 |
TEXMF/tex/latex/datetime2-contrib/datetime2-english/ |
| 54 |
|
| 55 |
Documentation: |
| 56 |
|
| 57 |
pdflatex datetime2-english.dtx |
| 58 |
makeindex -s gind.ist datetime2-english.idx |
| 59 |
makeindex -s gglo.ist -o datetime2-english.gls datetime2-english.glo |
| 60 |
pdflatex datetime2-english.dtx |
| 61 |
pdflatex datetime2-english.dtx |
| 62 |
|
| 63 |
Move datetime2-english.pdf and README to |
| 64 |
TEXMF/doc/latex/datetime2-contrib/datetime2-english/ |
| 65 |
|
| 66 |
This material is subject to the LaTeX Project Public License. |
| 67 |
See http://www.ctan.org/license/lppl1.3 for the details of that |
| 68 |
license. |
| 69 |
|