1 % \begin{meta-comment} <general public licence>
3 %% centre package -- center, only spelt correctly
4 %% Copyright (c) 2003 Mark Wooding
6 %% This file is part of the `mdwtools' LaTeX package collection.
8 %% `mdwtools' is free software: you can redistribute it and/or modify it
9 %% under the terms of the GNU General Public License as published by the
10 %% Free Software Foundation; either version 2 of the License, or (at your
11 %% option) any later version.
13 %% `mdwtools' is distributed in the hope that it will be useful, but
14 %% WITHOUT ANY WARRANTY; without even the implied warranty of
15 %% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 %% General Public License for more details.
18 %% You should have received a copy of the GNU General Public License
19 %% along with `mdwtools'. If not, write to the Free Software Foundation,
20 %% Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
24 % \begin{meta-comment} <Package preambles>
25 %<+package>\NeedsTeXFormat{LaTeX2e}
26 %<+package>\ProvidesPackage{centre}
27 %<+package> [2020/09/06 1.14.0 center, only spelt correctly]
32 %% {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
33 %% 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
34 %% Digits \0\1\2\3\4\5\6\7\8\9
35 %% Exclamation \! Double quote \" Hash (number) \#
36 %% Dollar \$ Percent \% Ampersand \&
37 %% Acute accent \' Left paren \( Right paren \)
38 %% Asterisk \* Plus \+ Comma \,
39 %% Minus \- Point \. Solidus \/
40 %% Colon \: Semicolon \; Less than \<
41 %% Equals \= Greater than \> Question mark \?
42 %% Commercial at \@ Left bracket \[ Backslash \\
43 %% Right bracket \] Circumflex \^ Underscore \_
44 %% Grave accent \` Left brace \{ Vertical bar \|
45 %% Right brace \} Tilde \~}
48 % \begin{meta-comment}
52 \describespackage{centre}
58 %^^A-------------------------------------------------------------------------
59 % \section{User guide}
61 % \DescribeMacro\vcentre
62 % \DescribeEnv{centre}
63 % \DescribeMacro\centring
64 % \DescribeMacro\centreline
65 % \DescribeMacro\textasteriskcentred
66 % \DescribeMacro\textdotcentred
67 % More of my ranting about American spellings. A bunch of synonyms for those
68 % whose spelling of `centre' is French-influenced.
71 %^^A-------------------------------------------------------------------------
73 % \section{Implementation}
79 % And add new definitions.
84 \let\endcentre\endcenter
85 \let\centring\centering
86 \let\centreline\centerline
87 \let\textasteriskcentred\textasteriskcentered
88 \let\textdotcentred\textperiodcentered
91 % That's all there is. Byebye.
98 % \hfill Mark Wooding, \today