281c40ee |
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 | % |
281c40ee |
9 | % \end{meta-comment} |
10 | % |
11 | % \begin{meta-comment} <general public licence> |
12 | %% |
13 | %% centre package -- center, only spelt correctly |
14 | %% Copyright (c) 2003 Mark Wooding |
15 | %% |
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. |
20 | %% |
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. |
25 | %% |
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. |
29 | %% |
30 | % \end{meta-comment} |
31 | % |
32 | % \begin{meta-comment} <Package preambles> |
33 | %<+package>\NeedsTeXFormat{LaTeX2e} |
34 | %<+package>\ProvidesPackage{centre} |
35 | %<+package> [2003/08/24 1.0 center, only spelt correctly] |
36 | % \end{meta-comment} |
37 | % |
38 | % \CheckSum{21} |
39 | %% \CharacterTable |
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 \~} |
54 | %% |
55 | % |
56 | % \begin{meta-comment} |
57 | % |
58 | %<*driver> |
59 | \input{mdwtools} |
60 | \describespackage{centre} |
61 | \mdwdoc |
62 | %</driver> |
63 | % |
64 | % \end{meta-comment} |
65 | % |
66 | %^^A------------------------------------------------------------------------- |
67 | % \section{User guide} |
68 | % |
69 | % \DescribeMacro\vcentre |
70 | % \DescribeEnv{centre} |
71 | % \DescribeMacro\centring |
72 | % \DescribeMacro\centreline |
73 | % \DescribeMacro\textasteriskcentred |
74 | % \DescribeMacro\textdotcentred |
75 | % More of my ranting about American spellings. A bunch of synonyms for those |
76 | % whose spelling of `centre' is French-influenced. |
77 | % |
78 | % |
79 | %^^A------------------------------------------------------------------------- |
80 | % \implementation |
81 | % \section{Implementation} |
82 | % |
83 | % \begin{macrocode} |
84 | %<*package> |
85 | % \end{macrocode} |
86 | % |
87 | % And add new definitions. |
88 | % |
89 | % \begin{macrocode} |
90 | \let\vcentre\vcenter |
91 | \let\centre\center |
92 | \let\endcentre\endcenter |
93 | \let\centring\centering |
94 | \let\centreline\centerline |
95 | \let\textasteriskcentred\textasteriskcentered |
96 | \let\textdotcentred\textperiodcentered |
97 | % \end{macrocode} |
98 | % |
99 | % That's all there is. Byebye. |
100 | % |
101 | % \begin{macrocode} |
102 | %</package> |
103 | % \end{macrocode} |
104 | % \nopagebreak |
105 | % |
106 | % \hfill Mark Wooding, \today |
107 | % |
108 | % \Finale |
109 | % |
110 | \endinput |