1 % \begin{meta-comment} <general public licence>
3 %% centre package -- center, 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{centre}
25 %<+package> [2020/09/06 1.14.0 center, 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{centre}
56 %^^A-------------------------------------------------------------------------
57 % \section{User guide}
59 % \DescribeMacro\vcentre
60 % \DescribeEnv{centre}
61 % \DescribeMacro\centring
62 % \DescribeMacro\centreline
63 % \DescribeMacro\textasteriskcentred
64 % \DescribeMacro\textdotcentred
65 % More of my ranting about American spellings. A bunch of synonyms for those
66 % whose spelling of `centre' is French-influenced.
69 %^^A-------------------------------------------------------------------------
71 % \section{Implementation}
77 % And add new definitions.
82 \let\endcentre\endcenter
83 \let\centring\centering
84 \let\centreline\centerline
85 \let\textasteriskcentred\textasteriskcentered
86 \let\textdotcentred\textperiodcentered
89 % That's all there is. Byebye.
96 % \hfill Mark Wooding, \today