Fix dates and version numbers in the package files.
[mdwtools] / centre.dtx
CommitLineData
281c40ee 1% \begin{meta-comment} <general public licence>
2%%
3%% centre package -- center, only spelt correctly
4%% Copyright (c) 2003 Mark Wooding
5%%
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.
10%%
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.
15%%
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.
19%%
20% \end{meta-comment}
21%
22% \begin{meta-comment} <Package preambles>
23%<+package>\NeedsTeXFormat{LaTeX2e}
24%<+package>\ProvidesPackage{centre}
af8af7eb 25%<+package> [2020/09/06 1.14.0 center, only spelt correctly]
281c40ee 26% \end{meta-comment}
27%
28% \CheckSum{21}
29%% \CharacterTable
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 \~}
44%%
45%
46% \begin{meta-comment}
47%
48%<*driver>
49\input{mdwtools}
50\describespackage{centre}
51\mdwdoc
52%</driver>
53%
54% \end{meta-comment}
55%
56%^^A-------------------------------------------------------------------------
57% \section{User guide}
58%
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.
67%
68%
69%^^A-------------------------------------------------------------------------
70% \implementation
71% \section{Implementation}
72%
73% \begin{macrocode}
74%<*package>
75% \end{macrocode}
76%
77% And add new definitions.
78%
79% \begin{macrocode}
80\let\vcentre\vcenter
81\let\centre\center
82\let\endcentre\endcenter
83\let\centring\centering
84\let\centreline\centerline
85\let\textasteriskcentred\textasteriskcentered
86\let\textdotcentred\textperiodcentered
87% \end{macrocode}
88%
89% That's all there is. Byebye.
90%
91% \begin{macrocode}
92%</package>
93% \end{macrocode}
94% \nopagebreak
95%
96% \hfill Mark Wooding, \today
97%
98% \Finale
99%
100\endinput