1 % \begin{meta-comment} <general public licence>
3 %% colour package -- color, only spelt correctly
4 %% Copyright (c) 2003 Mark Wooding
6 %% This program is free software; you can redistribute it and/or modify
7 %% it under the terms of the GNU General Public License as published by
8 %% the Free Software Foundation; either version 2 of the License, or
9 %% (at your option) any later version.
11 %% This program is distributed in the hope that it will be useful,
12 %% but WITHOUT ANY WARRANTY; without even the implied warranty of
13 %% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 %% GNU General Public License for more details.
16 %% You should have received a copy of the GNU General Public License
17 %% along with this program; if not, write to the Free Software
18 %% Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 % \begin{meta-comment} <Package preambles>
23 %<+package>\NeedsTeXFormat{LaTeX2e}
24 %<+package>\ProvidesPackage{colour}
25 %<+package> [2020/09/06 1.14.0 color, only spelt correctly]
30 %% {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
31 %% 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
32 %% Digits \0\1\2\3\4\5\6\7\8\9
33 %% Exclamation \! Double quote \" Hash (number) \#
34 %% Dollar \$ Percent \% Ampersand \&
35 %% Acute accent \' Left paren \( Right paren \)
36 %% Asterisk \* Plus \+ Comma \,
37 %% Minus \- Point \. Solidus \/
38 %% Colon \: Semicolon \; Less than \<
39 %% Equals \= Greater than \> Question mark \?
40 %% Commercial at \@ Left bracket \[ Backslash \\
41 %% Right bracket \] Circumflex \^ Underscore \_
42 %% Grave accent \` Left brace \{ Vertical bar \|
43 %% Right brace \} Tilde \~}
46 % \begin{meta-comment}
50 \describespackage{colour}
56 %^^A-------------------------------------------------------------------------
57 % \section{User guide}
59 % This is the |\package{color}| package, with the addition of English
60 % spellings to the American misspellings. In particular, it provides
61 % commands |\colour|, |\definecolour|, |\textcolour|, |\pagecolour|,
62 % |\colourbox| and |\fcolourbox| commands. It also provides a \textsf{grey}
63 % colour model, which works the same as \textsf{gray}.
65 %^^A-------------------------------------------------------------------------
67 % \section{Implementation}
73 % Import the \package{color} package.
76 \DeclareOption*{\PassOptionsToPackage{\CurrentOption}{color}}
78 \RequirePackage{color}
81 % And add new definitions.
85 \let\definecolour\definecolor
86 \let\textcolour\textcolor
87 \let\pagecolour\pagecolor
88 \let\colourbox\colorbox
89 \let\fcolourbox\fcolorbox
90 \let\color@grey\color@gray
93 % That's all there is. Byebye.
100 % \hfill Mark Wooding, \today