3 % $Id: colour.dtx,v 1.1 2003/09/05 16:09:57 mdw Exp $
5 % UK spellings of `colour'
7 % (c) 2003 Mark Wooding
11 % \begin{meta-comment} <general public licence>
13 %% colour package -- color, only spelt correctly
14 %% Copyright (c) 2003 Mark Wooding
16 %% This program is free software; you can redistribute it and/or modify
17 %% it under the terms of the GNU General Public License as published by
18 %% the Free Software Foundation; either version 2 of the License, or
19 %% (at your option) any later version.
21 %% This program is distributed in the hope that it will be useful,
22 %% but WITHOUT ANY WARRANTY; without even the implied warranty of
23 %% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 %% GNU General Public License for more details.
26 %% You should have received a copy of the GNU General Public License
27 %% along with this program; if not, write to the Free Software
28 %% Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
32 % \begin{meta-comment} <Package preambles>
33 %<+package>\NeedsTeXFormat{LaTeX2e}
34 %<+package>\ProvidesPackage{colour}
35 %<+package> [2003/08/24 1.0 color, only spelt correctly]
40 %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
41 %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
42 %% Digits \0\1\2\3\4\5\6\7\8\9
43 %% Exclamation \! Double quote \" Hash (number) \#
44 %% Dollar \$ Percent \% Ampersand \&
45 %% Acute accent \' Left paren \( Right paren \)
46 %% Asterisk \* Plus \+ Comma \,
47 %% Minus \- Point \. Solidus \/
48 %% Colon \: Semicolon \; Less than \<
49 %% Equals \= Greater than \> Question mark \?
50 %% Commercial at \@ Left bracket \[ Backslash \\
51 %% Right bracket \] Circumflex \^ Underscore \_
52 %% Grave accent \` Left brace \{ Vertical bar \|
53 %% Right brace \} Tilde \~}
56 % \begin{meta-comment}
60 \describespackage{colour}
66 %^^A-------------------------------------------------------------------------
67 % \section{User guide}
69 % This is the |\package{color}| package, with the addition of English
70 % spellings to the American misspellings. In particular, it provides
71 % commands |\colour|, |\definecolour|, |\textcolour|, |\pagecolour|,
72 % |\colourbox| and |\fcolourbox| commands. It also provides a \textsf{grey}
73 % colour model, which works the same as \textsf{gray}.
75 %^^A-------------------------------------------------------------------------
77 % \section{Implementation}
83 % Import the \package{color} package.
86 \DeclareOption*{\PassOptionsToPackage{\CurrentOption}{color}}
88 \RequirePackage{color}
91 % And add new definitions.
95 \let\definecolour\definecolor
96 \let\textcolour\textcolor
97 \let\pagecolour\pagecolor
98 \let\colourbox\colorbox
99 \let\fcolourbox\fcolorbox
100 \let\color@grey\color@gray
103 % That's all there is. Byebye.
110 % \hfill Mark Wooding, \today