summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/datetime2-contrib/datetime2-english/README
blob: 17eef77f2aaad817dcf6ef8ded9b07f7fab2be09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
English Language Module for datetime2 Package

Author: Nicola L. C. Talbot
        www.dickimaw-books.com

Licence: LPPL

Required Packages: datetime2, tracklang

This module provides the following styles:

english (English - no region)
en-GB (English - United Kingdom of Great Britain and Northern Ireland)
en-US (English - United States of America)
en-CA (English - Canada)
en-AU (English - Commonwealth of Australia)
en-NZ (English - New Zealand)
en-GG (English - Bailiwick of Guernsey)
en-JE (English - Bailiwick of Jersey)
en-IM (English - Isle of Man)
en-MT (English - Republic of Malta)
en-IE (English - Republic of Ireland)

Example usage:

\documentclass{article}
\usepackage[en-GB]{datetime2}
\begin{document}
\today
\end{document}

\documentclass[british]{article}
\usepackage{babel}
\usepackage[useregional]{datetime2}
\begin{document}
\today
\end{document}

\documentclass{article}
\usepackage{polyglossia}
\setmainlanguage[variant=uk]{english}
\usepackage[en-GB]{datetime2}
\begin{document}
\today
\end{document}

INSTALLATION
============

latex datetime2-english.ins

Move all *.ldf files to
TEXMF/tex/latex/datetime2-contrib/datetime2-english/

Documentation:

pdflatex datetime2-english.dtx
makeindex -s gind.ist datetime2-english.idx
makeindex -s gglo.ist -o datetime2-english.gls datetime2-english.glo
pdflatex datetime2-english.dtx
pdflatex datetime2-english.dtx

Move datetime2-english.pdf and README to
TEXMF/doc/latex/datetime2-contrib/datetime2-english/

This material is subject to the LaTeX Project Public License.
See http://www.ctan.org/license/lppl1.3 for the details of that
license.