3424cbf8f76e689b768069c8d48c00d87c25303b
[mdwtools] / centre.dtx
1 % \begin{meta-comment}
2 %
3 % $Id: centre.dtx,v 1.1 2003/09/05 16:09:56 mdw Exp $
4 %
5 % UK spellings of `centre'
6 %
7 % (c) 2003 Mark Wooding
8 %
9 %----- Revision history -----------------------------------------------------
10 %
11 % $Log: centre.dtx,v $
12 % Revision 1.1 2003/09/05 16:09:56 mdw
13 % New feature\!
14 %
15 %
16 % \end{meta-comment}
17 %
18 % \begin{meta-comment} <general public licence>
19 %%
20 %% centre package -- center, only spelt correctly
21 %% Copyright (c) 2003 Mark Wooding
22 %%
23 %% This program is free software; you can redistribute it and/or modify
24 %% it under the terms of the GNU General Public License as published by
25 %% the Free Software Foundation; either version 2 of the License, or
26 %% (at your option) any later version.
27 %%
28 %% This program is distributed in the hope that it will be useful,
29 %% but WITHOUT ANY WARRANTY; without even the implied warranty of
30 %% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31 %% GNU General Public License for more details.
32 %%
33 %% You should have received a copy of the GNU General Public License
34 %% along with this program; if not, write to the Free Software
35 %% Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
36 %%
37 % \end{meta-comment}
38 %
39 % \begin{meta-comment} <Package preambles>
40 %<+package>\NeedsTeXFormat{LaTeX2e}
41 %<+package>\ProvidesPackage{centre}
42 %<+package> [2003/08/24 1.0 center, only spelt correctly]
43 % \end{meta-comment}
44 %
45 % \CheckSum{21}
46 %% \CharacterTable
47 %% {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
48 %% 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
49 %% Digits \0\1\2\3\4\5\6\7\8\9
50 %% Exclamation \! Double quote \" Hash (number) \#
51 %% Dollar \$ Percent \% Ampersand \&
52 %% Acute accent \' Left paren \( Right paren \)
53 %% Asterisk \* Plus \+ Comma \,
54 %% Minus \- Point \. Solidus \/
55 %% Colon \: Semicolon \; Less than \<
56 %% Equals \= Greater than \> Question mark \?
57 %% Commercial at \@ Left bracket \[ Backslash \\
58 %% Right bracket \] Circumflex \^ Underscore \_
59 %% Grave accent \` Left brace \{ Vertical bar \|
60 %% Right brace \} Tilde \~}
61 %%
62 %
63 % \begin{meta-comment}
64 %
65 %<*driver>
66 \input{mdwtools}
67 \describespackage{centre}
68 \mdwdoc
69 %</driver>
70 %
71 % \end{meta-comment}
72 %
73 %^^A-------------------------------------------------------------------------
74 % \section{User guide}
75 %
76 % \DescribeMacro\vcentre
77 % \DescribeEnv{centre}
78 % \DescribeMacro\centring
79 % \DescribeMacro\centreline
80 % \DescribeMacro\textasteriskcentred
81 % \DescribeMacro\textdotcentred
82 % More of my ranting about American spellings. A bunch of synonyms for those
83 % whose spelling of `centre' is French-influenced.
84 %
85 %
86 %^^A-------------------------------------------------------------------------
87 % \implementation
88 % \section{Implementation}
89 %
90 % \begin{macrocode}
91 %<*package>
92 % \end{macrocode}
93 %
94 % And add new definitions.
95 %
96 % \begin{macrocode}
97 \let\vcentre\vcenter
98 \let\centre\center
99 \let\endcentre\endcenter
100 \let\centring\centering
101 \let\centreline\centerline
102 \let\textasteriskcentred\textasteriskcentered
103 \let\textdotcentred\textperiodcentered
104 % \end{macrocode}
105 %
106 % That's all there is. Byebye.
107 %
108 % \begin{macrocode}
109 %</package>
110 % \end{macrocode}
111 % \nopagebreak
112 %
113 % \hfill Mark Wooding, \today
114 %
115 % \Finale
116 %
117 \endinput