summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex-dev/base/latex209.dtx
blob: cc5563c632ab64dfb5192cbff04d3af888e93797 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
% \iffalse meta-comment
%
% Copyright 1993-2018
% The LaTeX3 Project and any individual authors listed elsewhere
% in this file.
%
% This file is part of the LaTeX base system.
% -------------------------------------------
%
% It may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3c
% of this license or (at your option) any later version.
% The latest version of this license is in
%    https://www.latex-project.org/lppl.txt
% and version 1.3c or later is part of all distributions of LaTeX
% version 2005/12/01 or later.
%
% This file has the LPPL maintenance status "maintained".
%
% The list of all files belonging to the LaTeX base distribution is
% given in the file `manifest.txt'. See also `legal.txt' for additional
% information.
%
% The list of derived (unpacked) files belonging to the distribution
% and covered by LPPL is defined by the unpacking scripts (with
% extension .ins) which are part of the distribution.
%
% \fi
%
% \title{Compatibility mode for \LaTeXe{} emulating \LaTeX~2.09}
% \author{Alan Jeffrey and Frank Mittelbach}
% \date{1995/12/27}
%
%
%
% \changes{v0.01}{1993/12/11}{Created the file, including:
%   setting the compatibility flag,
%   inputting oldlfont.sty,
%   setting the default encoding to be OT1, and
%   inputting the latex209.rc file}
% \changes{v0.02}{1993/12/12}{Changed the package filename to
%   latex209.sty, and added the provides-package command.}
% \changes{v0.03}{1993/12/16}{Added an empty mark, replaced
%   provides-package with provides-file, added the compatibility hook.}
% \changes{v0.04}{1993/12/16}{Moved oldlfont.sty out of the
%    compatibility hook and back into latex209.cmp.  Redefined
%    newfontswitch to ignore redefinitions.  Set the LaTeX 2e commands
%    to be errors.}
% \changes{v0.05}{1993/12/17}
%    {Removed the \cs{mark}, since it is now in the kernel.}
% \changes{v0.06}{1993/12/18}{Replaced the redefinition of
%    \cs{@newfontswitch} to a redefinition of \cs{@renewfontswitch}.
%    Added \cs{sloppy.}}
% \changes{v0.07}{1993/12/18}{Fixed a bug with \cs{@missingfileerror}.}
% \changes{v0.08}{1993/12/18}{Added the obsolete .sty files.}
% \changes{v0.09}{1993/12/20}{Removed art10.sty and friends.}
% \changes{v0.10}{1994/01/14}{Replaced latex209.rc by latex209.cfg.}
% \changes{v0.11}{1994/01/21}{Replaced latex209.cmp by latex209.def.
%    Moved half of oldlfont.dtx to here.  Split the package dst option
%    into head and tail.}
% \changes{v0.12}{1994/01/24}
%   {Added \cs{normalshape} and \cs{mediumseries}, and
%    declared the `oldlfont' option to stop oldlfont.sty from being
%    loaded.}
% \changes{v0.13}{1994/01/31}{removed setting of \cs{normalsize}. FMi}
% \changes{v0.14}{1994/02/07}{Added it back again.}
% \changes{v0.15}{1994/02/10}{Renamed \cs{@compatibility} to
%    \cs{@documentclasshook}.  Added the check for whether
%     \cs{normalsize} or \cs{@normalsize} needs defined.}
% \changes{v0.16}{1994/02/11}{Replaced the allocation of temporary
%    dimens for \cs{footheight}, \cs{@maxsep} and \cs{@dblmaxsep}
%     by real dimen variables.}
% \changes{v0.17}{1994/03/02}{Moved the documentation to the front, so
%     this file can be processed directly without a driver file.
%     Added \cs{@ptscale}, \cs{@halfmag}, \cs{@magscale}, and set the
%     default font to be CMR at 10pt.}
% \changes{v0.18}{1994/03/11}{Restored the old definition of \cs{verb}.
%     Set the catcodes of the non-alphanumerics.}
% \changes{v0.19}{1994/04/05}{Switched off more 2e features: \cs{lrbox},
%     \cs{width}, \cs{height}, \cs{depth} in box dimensions, and the new
%     optional arguments to \cs{parbox}, \cs{minipage} and
%     \cs{newcommand}.  The code was provided by DPC.  Fixed a misplaced
%     </head!>.  Made the \cs{ProvidesPackage} and \cs{ProvidesClass}
%     warnings log messages. Removed \cs{filedate}.}
% \changes{v0.20}{1994/04/20}
%      {Restored the 2.09 definition of \cs{@noligs}.}
% \changes{v0.21}{1994/04/24}
%      {Restored the 2.09 definition of \cs{@lquote}.}
% \changes{v0.22}{1994/05/02}{Added \cs{@latex@e@command}.}
% \changes{v0.23}{1994/05/11}{Added bezier.sty.}
% \changes{v0.24}{1994/05/14}{Removed \cs{@@@} and switched the box
%    commands back on, for use in packages.}
% \changes{v0.24}{1994/05/14}{Changed the 2e command error help.}
% \changes{v0.24}{1994/05/14}{Removed date from announcement of
%    2.09 mode.}
% \changes{v0.25}{1994/05/14}{Added the newlfont option, and rewrote the
%    oldlfont option.}
% \changes{v0.26}{1994/05/15}{Added the margid and nomargid options.}
% \changes{v0.27}{1994/05/16}{Fixed a bug with the margid option.}
% \changes{v0.28}{1994/05/16}{Fixed a bug with \cs{mediumseries}.}
% \changes{v0.29}{1994/05/17}{Fixed a bug with \cs{newlfont}.}
% \changes{v0.29}{1994/05/17}{Removed extra spaces from the missing
%    file error.}
% \changes{v0.29}{1994/05/17}{Made the bezier package use \cs{iffalse}
%    to comment itself out, rather than \%\%, which caused it to
%    appear in every 2.09 file.}
% \changes{v0.30}{1994/05/18}{Added \cs{@finalstrut}.}
% \changes{v0.31}{1994/05/20}{New definition of \cs{@finalstrut}.}
% \changes{v0.31}{1994/05/20}{Added the t1enc package.}
% \changes{v0.32}{1994/05/20}{Added SLiTeX.}
% \changes{v0.33}{1994/06/01}{Fixed bug with SLiTeX.}
% \changes{v0.34}{1994/08/22}{Replaced l2euser by usrguide.}
% \changes{v0.34}{1994/08/22}{Added a default definition for \cs{+}.}
% \changes{v0.35}{1994/09/23}
%                {Added spaces to the old font scale commands.}
% \changes{v0.36}{1994/10/17}{Added an empty \cs{mark} back again.}
% \changes{v0.37}{1994/10/20}{Corrected a typo.}
% \changes{v0.38}{1994/11/16}{Removed \cs{LaTeXe} from this list}
% \changes{v0.39}{1994/11/28}{Added old behaviour of floats and space.}
% \changes{v0.40}{1995/05/05}{Make \cs{verb} use \cs{tt} font in
%                             math mode.}
% \changes{v0.49}{1995/10/26}{Added code for fleqn.sty, leqno.sty,
%                             openbib.sty.}
% \changes{v0.50}{1995/12/08}{Switched of \cs{@inmathwarn}.}
% \changes{v0.53}{2015/02/22}{Dropped \cs{@no@font@optfalse} in various places
%                              - no longer provided by ltfsscmp.dtx.}
%
% \MaintainedByLaTeXTeam{latex}
% \maketitle
%
% \section{Introduction}
%
% The file |latex209.def| is read in by \LaTeXe{} whenever it finds a
% |\documentstyle| rather than |\documentclass| command at the
% beginning of the file.  This indicates a \LaTeX~2.09 document, which
% should be processed in {\em compatibility mode}.
%
% Any document which compiled under \LaTeX~2.09 should compile under
% compatibility mode, unless it uses low-level commands such as
% |\tenrm|.
%
% \section{The docstrip modules}
%
% The following modules are used in the implementation to direct
% docstrip in generating the external files:
% \begin{center}
% \begin{tabular}{ll}
%   driver & produce a documentation driver file \\
%   head    & produce the beginning of |latex209.def| \\
%   tail    & produce the end of |latex209.def| \\
%   article  & produce |article.sty| \\
%   book     & produce |book.sty| \\
%   report   & produce |report.sty| \\
%   slides   & produce |slides.sty| \\
%   letter   & produce |letter.sty| \\
%   bezier   & produce |bezier.sty| \\
%   fleqn    & produce |fleqn.sty| \\
%   leqno    & produce |leqno.sty| \\
%   openbib  & produce |openbib.sty|
% \end{tabular}
% \end{center}
% Between the |head| and |tail| of |latex209.def|, the code for
% |oldlfont.sty| is included, so \LaTeX~2.09 documents will
% automatically be run simulating the OFSS.
% \changes{v0.09}{1993/12/20}{Removed artN.sty, bkN.sty and repN.sty.}
% \changes{v0.11}{1994/01/21}{Split package into head and tail.}
% \changes{v0.23}{1994/05/11}{Added bezier option.}
%
% \StopEventually{}
%
% \section{Driver}
%
% This section contains the driver for this documentation.
%    \begin{macrocode}
%<*driver>
\documentclass{ltxdoc}
\DisableCrossrefs
% \OnlyDescription
\begin{document}
   \DocInput{latex209.dtx}
\end{document}
%</driver>
%    \end{macrocode}
%
% \section{Beginning of latex209.def}
%
% \changes{v0.11}{1994/01/21}{oldlfont.dtx is now also used to generate
%    latex209.dtx.}
%
% This section describes the beginning of the file |latex209.def|.
%    \begin{macrocode}
%<*head>
%    \end{macrocode}
%
% \subsection{Identification}
%
% This file needs to be run with \LaTeXe.
%    \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
%    \end{macrocode}
% Describe the file.
%    \begin{macrocode}
\ProvidesFile{latex209.def}[2018/08/11 v0.54 Standard LaTeX file]
%    \end{macrocode}
% \changes{v0.24}{1994/05/14}{Removed date.}
% \changes{v0.40}{1995/03/21}
%         {(DPC) Do not execute this file twice latex/1460}
% Announce compatibility mode to the user.
% \changes{v0.52}{1998/05/13}{Added experimental
%    long typeout to possibly avoid prs like 2807}
%    \begin{macrocode}
\if@compatibility
  \expandafter\endinput
\else
  \typeout{^^J\space
\@spaces\@spaces\space  Entering LaTeX 2.09 COMPATIBILITY MODE^^J\space
 *************************************************************^^J\space
 \space\space\space!!WARNING!!\space
 \space\space\space!!WARNING!!\space
 \space\space\space!!WARNING!!\space
 \space\space\space!!WARNING!!\space\space\space   ^^J\space
 ^^J\space
 This mode attempts to provide an emulation of the LaTeX 2.09^^J\space
 author environment so that OLD documents can be successfully^^J\space
 processed. It should NOT be used for NEW documents!^^J\space
 ^^J\space
 New documents should use Standard LaTeX conventions and start^^J\space
 with the \string\documentclass\space command.^^J\space
 ^^J\space
 Compatibility mode is UNLIKELY TO WORK with LaTeX 2.09 style^^J\space
 files that change any internal macros, especially not with^^J\space
 those that change the FONT SELECTION or OUTPUT ROUTINES.^^J\space
^^J\space
 Therefore such style files   MUST BE UPDATED to use^^J\space
\@spaces\@spaces\space        Current Standard LaTeX: LaTeX2e.^^J\space
 If you suspect that you may be using such a style file, which^^J\space
 is probably very, very old by now, then you should attempt to^^J\space
 get it updated by sending a copy of this error message to the^^J\space
 author of that file.^^J\space
 *************************************************************^^J}
 \fi
%    \end{macrocode}
%
% \subsection{Compatibility flag}
%
% \begin{macro}{\@compatibilitytrue}
%    \LaTeXe{} has a flag |\if@compatibility| which can be used by
%    document classes or packages to determine whether they are running
%    in compatibility mode or not.  This flag is set true by this file.
%    \begin{macrocode}
\@compatibilitytrue
%    \end{macrocode}
% \end{macro}
%
% \subsection{Removing features}
%
% \changes{v0.22}{1994/05/02}{Added \cs{@latex@e@command}.}
% \changes{v0.36}{1994/10/17}{Redid switching off commands.}
% \changes{v0.38}{1994/11/16}{Removed \cs{LaTeXe} from this list}
%
% \begin{macro}{\usepackage}
% \begin{macro}{\listfiles}
% \begin{macro}{\ensuremath}
% \begin{macro}{\lrbox}
% \begin{macro}{\newcommand}
%    These \LaTeXe{} commands are switched off in compatibility mode.
%    This is done by saving the old definition, and redefining the
%    command to call |\@latex@e@error| before executing the old version.
%    \begin{macrocode}
\def\@tempa#1#2{%
   \expandafter\let\csname @@\string#1\endcsname#1%
   \edef#1{%
      \noexpand\@latex@e@error{\noexpand#2}%
      \expandafter\noexpand\csname @@\string#1\endcsname
   }%
}
\@tempa\usepackage\usepackage
\@tempa\listfiles\listfiles
\@tempa\ensuremath\ensuremath
\@tempa\lrbox{\begin{lrbox}}%
\@tempa\@xargdef{\newcommand{cmd}[args][def]}%
%    \end{macrocode}
% \end{macro}
% \end{macro}
% \end{macro}
% \end{macro}
% \end{macro}
%
% \changes{v0.22}{1994/05/02}
%         {Added \cs{if@latex@e@errors} and \cs{@@@}.}
% \changes{v0.24}
%         {1994/05/14}{Removed \cs{if@latex@e@errors} and \cs{@@@}.}
% \changes{v0.24}{1994/05/14}{Changed the error help.}
% \changes{v0.36}{1994/10/17}{Initialized \cs{@latex@e@error} to do
%    nothing, and switched it on at the begin document.}
%
% \begin{macro}{\@latex@e@error}
% \begin{macro}{\@latex@e@error@}
%   This error is produced if a user uses a \LaTeXe{} command in
%   compatibility mode.  This is to encourage users to move over to
%   using |\documentclass| as quickly as possible.  During the preamble
%   the error does nothing (so that packages can use \LaTeXe{} commands)
%   but it is redefined to be an error message at |\begin{document}|.
%    \begin{macrocode}
\let\@latex@e@error\@gobble
\def\@latex@e@error@#1{%
      \@latexerr{%
         LaTeX2e command \string#1\space in LaTeX 2.09 document%
      }{%
         This is a LaTeX 2.09 document, but it contains
         \string#1.^^J%
         If you want to use the new features of LaTeX2e,
         your document^^J%
         should begin with \string\documentclass\space
         rather than \string\documentstyle
      }%
}
%    \end{macrocode}
% \end{macro}
% \end{macro}
%
% \changes{v0.36}{1994/10/17}
%         {Allow 2e commands to be redefined once with \cs{newcommand}.}
% \changes{v0.40}{1995/03/21}{
%         (DPC) Add \cs{r} to the list of 2e commands latex/1424}
%
% \begin{macro}{\@ifdefinable}
% \begin{macro}{\@old@ifdefinable}
% \begin{macro}{\@@ifdefinable}
% \begin{macro}{\@latex@e@commands}
%    We trap the |\@notdefinable| error message to check to see if the
%    command is a \LaTeXe{} command, in which case we allow the
%    definition to happen.   We keep a list of commands which are
%    allowed to be redefined this way in |\@latex@e@commands|, and
%    remove an entry each time it is defined.
%    \begin{macrocode}
\let\@old@ifdefinable\@ifdefinable
\long\def\@ifdefinable#1{%
   \def\@tempa##1#1##2#1##3#1##4\@tempa{%
      \def\@latex@e@commands{##1##2}%
      ##3% ##3 will either be \iftrue or \iffalse
         \expandafter\@firstofone
      \else
         \expandafter\@old@ifdefinable\expandafter#1%
      \fi
   }%
   \expandafter\@tempa\@latex@e@commands#1\iftrue#1\iffalse#1\@tempa%
}
\let\@@ifdefinable\@ifdefinable
\def\@latex@e@commands{%
   \usepackage\listfiles\ensuremath\LaTeXe\lrbox
   \th\dh\ng\dj\TH\DH\NG\DJ\k\r\SS
   \guillemetleft\guillemetright
   \guillemotleft\guillemotright\guilsinglleft
   \guilsinglright\quotedblbase\quotesinglbase
}
%    \end{macrocode}
% \end{macro}
% \end{macro}
% \end{macro}
% \end{macro}
%
% \begin{macro}{\@begin@tempboxa}
%    \changes{v0.22}{1994/05/02}{Commented out the redefinition of
%       \cs{@begin@tempboxa}.}
%    If we were to switch off the new |\width|, |\height| and |\depth|
%    commands, this is how to do it.  This isn't done, since these
%    commands may be used in packages.
%    \begin{verbatim}
%\long\def\@begin@tempboxa#1#2{%
%  \begingroup
%    \setbox\@tempboxa#1{{#2}}}
%    \end{verbatim}
% \end{macro}
%
% \subsection{Document class hook}
%
% \begin{macro}{\@documentclasshook}
% \changes{v0.15}{1994/02/10}{Renamed from \cs{@compatibility} to
%    \cs{@documentclasshook}.  Added the check for \cs{@normalsize} and
%    \cs{normalsize} being defined.}
% \changes{v0.22}{1994/05/02}{Moved switching off commands into the
%    document class hook.}
% \changes{v0.24}{1994/05/14}{Switched the box commands back on, for use
%    in packages.}
% \changes{v0.36}{1994/10/17}{Changed the way the 2e command error is
%    activated.}
% \changes{v0.51}{1996/05/24}{(DPC) Reimplemented for /2153.}
%    This macro is called by each use of |\documentclass|.  We define
%    it to define |\@normalsize| and |\normalsize| if necessary,
%    to input each unused option as a package, and to switch off the new
%    \LaTeXe{} commands.  However, we leave on the commands
%    |\settoheight|, |\settowidth| and the new options to |\parbox| and
%    |\minipage|, since these are likely to be used in packages.
%
% The intention of the strange |\normalsize| tests below are that after
% the |\documentstyle| command has completed, then
% if neither of the commands |\normalsize|
% nor |\@normalsize|  were defined by the main style or one of its
% `substyles' or `options', then |\@normalsize| will be undefined and
% |\normalsize| will generate an error saying it hasn't been defined.
%
% If the style defined either |\normalsize| or \@|normalsize| then
% these two commands will be |\let| equal to each other, with the
% definition given by the style file.
%
% If the style defines both |\normalsize| and |\@normalsize| then
% those two definitions are kept.
%    \begin{macrocode}
\def\@documentclasshook{%
  \RequirePackage\@unusedoptionlist
  \let\@unusedoptionlist\@empty
  \def\@tempa{\@normalsize}%
  \ifx\normalsize\@tempa
    \let\normalsize\@normalsize
  \fi
  \ifx\@normalsize\@undefined
    \let\@normalsize\normalsize
  \fi
  \ifx\normalsize\@undefined
    \let\normalsize\original@normalsize
  \fi
  \let\@latex@e@error\@latex@e@error@}
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{\original@normalsize}
% \changes{v0.51}{1996/05/24}{(DPC) Macro added /2153.}
% Save the original definition of |\normalsize| (which generates an
% error)
%    \begin{macrocode}
\let\original@normalsize\normalsize
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{\normalsize}
% \changes{v0.14}{1994/02/07}{Added \cs{normalsize}.}
%    Some styles don't define |\normalsize|, just |\@normalsize|.
%    \begin{macrocode}
\def\normalsize{\@normalsize}
%    \end{macrocode}
% \end{macro}
%
% \subsection{Compatibility with \LaTeX~2.09 document styles}
%
% \begin{macro}{\@missingfileerror}
%    If a |.cls| file is missing, we look to see if there is
%    a file of the same name with a |.sty| extension.
% \changes{v0.06}{1993/12/18}{Corrected a typo
%  \cs{@saved@missingfileerror}
%    should have been \cs{saved@missingfileerror}.}
% \changes{v0.07}{1993/12/18}{Corrected a typo, I'd forgotten to pass
%    the arguments of \cs{@missingfileerror} on to
%    \cs{saved@missingfileerror}.}
% \changes{v0.29}{1994/05/17}{Removed extraneous spaces.}
%    \begin{macrocode}
\@ifundefined{saved@missingfileerror}{
   \let\saved@missingfileerror=\@missingfileerror
}{}
\def\@missingfileerror#1#2{%
   \ifx#2\@clsextension
      \InputIfFileExists{#1.\@pkgextension}{%
         \wlog{Compatibility mode: loading #1.\@pkgextension
            \space rather than #1.#2.}%
      }{%
         \saved@missingfileerror{#1}{#2}%
      }%
   \else
      \saved@missingfileerror{#1}{#2}%
   \fi
}
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{\@obsoletefile}
%    For compatibility with the document styles which |\input| the
%    standard \LaTeX~2.09 document styles, we distribute
%    files called |article.sty|, |book.sty|, |report.sty|,
%    |slides.sty| and |letter.sty|.  These use the command
%    |\@obsoletefile|, which the \LaTeXe{} kernel defines to produce a
%    warning message.  We redefine it to just produce a message in the
%    log file, and to pass any options from the old filename to the
%    new filename.
%    \changes{v0.08}{1993/12/19}{Added this command.}
%    \changes{v0.10}{1994/01/14}{Added the option-passing.}
%    \begin{macrocode}
\def\@obsoletefile#1#2{%
   \expandafter\let\csname opt@#1\expandafter\endcsname
      \csname opt@\@currname.\@currext\endcsname
   \wlog{Compatibility mode: inputting `#1'
      instead of obsolete `#2'.}}
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{\footheight}
% \begin{macro}{\@maxsep}
% \begin{macro}{\@dblmaxsep}
%    \LaTeX~2.09 supported these parameters, so for compatibility with
%    old document styles we allocate them.
% \changes{v0.16}{1994/02/11}{Replaced the allocation of temporary
%    dimens for \cs{footheight}, \cs{@maxsep} and \cs{@dblmaxsep} by
%     real dimen variables.}
%    \begin{macrocode}
\newdimen\footheight
\newdimen\@maxsep
\newdimen\@dblmaxsep
%    \end{macrocode}
% \end{macro}
% \end{macro}
% \end{macro}
%
% \changes{v0.36}{1994/10/17}{Added an empty \cs{mark}.}
% \changes{v0.37}
%         {1994/10/20}{Corrected a type with the empty \cs{mark}.}
%
% \begin{macro}{\mark}
%    \LaTeX~2.09 initialized an empty mark.  Who knows, someone may have
%    relied on it:
%    \begin{macrocode}
\mark{{}{}}
%    \end{macrocode}
% \end{macro}
%
% \subsection{Layout}
%
% \begin{macro}{\sloppy}
% \changes{v0.06}{1993/12/18}{Added \cs{sloppy}}
%    There is a new version of |\sloppy| in \LaTeXe, so we restore the
%    old one.
%    \begin{macrocode}
\def\sloppy{\tolerance \@M \hfuzz .5\p@ \vfuzz .5\p@}
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{\@finalstrut}
% \changes{v0.30}{1994/05/18}{Added \cs{@finalstrut}.}
% \changes{v0.31}{1994/05/20}{New definition of \cs{@finalstrut}.}
%    The strut which is used in a footnote has changed.  This restores
%    the old definition.
%    \begin{macrocode}
\def\@finalstrut#1{\unskip\strut}
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{\@marginparreset}
% \begin{macro}{\@floatboxreset}
% \changes{v0.39}{1994/11/28}{Added old behaviour of floats and space.}
% \changes{v0.45}{1995/05/25}{(CAR) Changed method of restoring
%    old behaviour of floats and space.}
%    Restore the old spacing around floats.
%    \begin{macrocode}
\let \@marginparreset \@empty
\let \@floatboxreset \@empty
%    \end{macrocode}
% \end{macro}
% \end{macro}
%
% \begin{macro}{\proclaim}
% \changes{v0.41}{1995/04/24}
%         {Move here from ltplain.dtx}
% From plain \TeX.
%    \begin{macrocode}
\outer\def\proclaim #1. #2\par{%
  \medbreak
  \noindent{\bfseries#1.\enspace}{\slshape#2\par}%
  \ifdim\lastskip<\medskipamount
    \removelastskip\penalty55\medskip
  \fi}
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{\hang}
% \begin{macro}{\textindent}
% \changes{v0.42}{1995/04/27}
%         {Move here from ltplain.dtx}
% From plain \TeX.
%    \begin{macrocode}
\def\hang{\hangindent\parindent}
\def\textindent#1{\indent\llap{#1\enspace}\ignorespaces}
%    \end{macrocode}
% \end{macro}
% \end{macro}
% \begin{macro}{\ttraggedright}
% \changes{v0.41}{1995/04/24}
%         {Move here from ltplain.dtx}
%    \begin{macrocode}
\def\ttraggedright{\reset@font\ttfamily\rightskip\z@ plus2em\relax}
%    \end{macrocode}
% \end{macro}
%
%
% \begin{macro}{\@footnotemark}
% \changes{v0.43}{1995/05/12}
%         {macro added}
% \LaTeXe\ version has |\nobreak| to allow hyphenation.
%    \begin{macrocode}
\def\@footnotemark{%
  \leavevmode
  \ifhmode\edef\@x@sf{\the\spacefactor}\fi
  \@makefnmark
  \ifhmode\spacefactor\@x@sf\fi
  \relax}
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{\@textsuperscript}
% \changes{v0.48}{1995/07/07}
%         {macro added for latex/1722}
% Fudge this command to remove the text font command which
% is always the first thing in the argument. This is needed
% as in compatibility mode footnotes are processed in math mode,
% but the standard classes call |\@textsuperscript| in the definition
% of |\thanks|.
%    \begin{macrocode}
\def\@textsuperscript#1{$\m@th^{\@gobble#1}$}
%    \end{macrocode}
% \end{macro}
%
%
%
%  \begin{macro}{\@makefnmark}
% \changes{v0.44}{1995/05/20}{macro added}
%    \LaTeXe\ version uses |\textsuperscript| rather than
%    math mode.
%    \begin{macrocode}
\def\@makefnmark{\hbox{$^{\@thefnmark}\m@th$}}
%    \end{macrocode}
%  \end{macro}
%
%  \begin{macro}{\thempfootnote}
% \changes{v0.44}{1995/05/20}{macro added}
%    \LaTeXe\ version has an additional |\itshape| which would not
%    work (and would not make sense) in math mode.
%    \begin{macrocode}
\def\thempfootnote{\@alph\c@mpfootnote}
%    \end{macrocode}
%  \end{macro}
%
%  \begin{macro}{\@fnsymbol}
% \changes{v0.46}{1995/06/30}{macro added}
% \LaTeX\ version uses |\ensuremath| which does not work in
% compatibility mode.
%    \begin{macrocode}
\def\@fnsymbol#1{\ifcase#1\or *\or \dagger\or \ddagger\or
    \mathchar "278\or \mathchar "27B\or \|\or **\or \dagger\dagger
    \or \ddagger\ddagger \else\@ctrerr\fi}
%    \end{macrocode}
%  \end{macro}
%
% \begin{macro}{\@inmathwarn}
% \changes{v0.50}{1995/12/08}{Switched off \cs{@inmathwarn}}
% \LaTeX\ (1995/12/01) checks for text commands being used in math
% mode.  We switch this off in compatibility mode.
%    \begin{macrocode}
\let\@inmathwarn\@gobble
%    \end{macrocode}
% \end{macro}
%
% \subsection{Verbatim}
%
% \changes{v0.18}{1994/03/11}{Added the changes to \cs{verb}}
% \changes{v0.40}{1995/05/05}{Make \cs{verb} use \cs{tt} font in
%                             math mode.}
% \begin{macro}{\verb}
% \begin{macro}{\@sverb}
%    We restore the old definition of |\verb|, but using
%    |\verbatim@font| rather than |\tt|. The use of |\bgroup| and
%    |\egroup| allows us to prefix it with |\hbox| in math mode.
%    \begin{macrocode}
\def\verb{%
   \relax\ifmmode\hbox\fi\bgroup
      \@noligs
      \verbatim@font
      \let\do\@makeother \dospecials
      \@ifstar{\@sverb}{\@verb}%
}
\def\@sverb#1{%
   \def\@tempa ##1#1{\leavevmode\null##1\egroup}%
   \@tempa
}
%    \end{macrocode}
% \end{macro}
% \end{macro}
%
% \begin{macro}{\verbatim@nolig@list}
% \changes{v0.20}{1994/04/20}{Added the redefinition of
%    \cs{verbatim@nolig@list}.}
%    The only ligatures which should be switched off in 2.09 mode are
%    the Spanish punctuation.
%    \begin{macrocode}
\def\verbatim@nolig@list{\do\`}
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{\@lquote}
% \changes{v0.21}{1994/04/24}{Added the definition of \cs{@lquote}.}
%    We restore the old definition of |\@lquote| in case any packages
%    use it.
%    \begin{macrocode}
\def\@lquote{\leavevmode{\kern\z@}`}
%    \end{macrocode}
% \end{macro}
%
%
% \subsection{Character codes}
%
% \changes{v0.18}{1994/03/11}{Added the catcode changes}
%
% By default, \LaTeXe{} makes the input charactes 0--8, 11, 14--31 and
% 128--255 illegal.  In compatibility mode, we restore their old
% meanings.
%    \begin{macrocode}
\catcode0=9
\@tempcnta=1
\loop\ifnum\@tempcnta<32
   \catcode\@tempcnta=12
   \advance\@tempcnta by 1
\repeat%
\catcode`\^^I=10\relax%
\catcode`\^^L=13\relax%
\catcode`\^^M=5\relax%
\catcode127=15
\@tempcnta=128
\loop\ifnum\@tempcnta<256
   \catcode\@tempcnta=12
   \advance\@tempcnta by 1
\repeat
%    \end{macrocode}
%
% \subsection{Miscellaneous commands}
%
% \begin{macro}{\SLiTeX}
%    The \textsc{Sli\TeX} logo.
%    \begin{macrocode}
\DeclareRobustCommand{\SLiTeX}{{%
   \normalfont S\kern -.06em
   {\scshape l\kern -.035emi}\kern -.06em
   \TeX}}
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{\+}
%    The |\+| command should be defined, so that it can be used in
%    |\renewcommand|.
%    \begin{macrocode}
\let\+\@empty
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{\@cla}
% \begin{macro}{\@clb}
% \changes{v0.47}{1995/09/25}
%         {(DPC) Declare old \cs{cline} registers}
% \begin{macro}{\mscount}
% \LaTeX2.09 (and early versions of \LaTeXe) used these count registers
% in the definition of |\cline| and |\multispan|.
% Declare them here in case they were used for any other purposes.
%    \begin{macrocode}
\newcount\@cla
\newcount\@clb
\newcount\mscount
%    \end{macrocode}
% \end{macro}
% \end{macro}
% \end{macro}
%
% \begin{macro}{\@imakepicbox}
% \changes{v0.48}{1995/10/16}
%         {(DPC) emulate old behaviour of picture mode makebox}
% picture mode version
%    \begin{macrocode}
\long\def\@imakepicbox(#1,#2)[#3]#4{%
  \vbox to#2\unitlength
   {\let\mb@b\vss \let\mb@l\hss\let\mb@r\hss
    \let\mb@t\vss
    \@tfor\reserved@a :=#3\do{%
      \if s\reserved@a
        \let\mb@l\relax\let\mb@r\relax
      \else
        \expandafter\let\csname mb@\reserved@a\endcsname\relax
      \fi}%
    \mb@t
    \hb@xt@ #1\unitlength{\mb@l #4\mb@r}%
    \mb@b
%    \end{macrocode}
% This kern ensures that a |b| option aligns on the bottom of the
% text rather than the baseline. this is the documented behaviour in
% the \LaTeX Book. The kern is removed in compatibility mode.
%
% Remove kern for bug compatibility with 2.09.
%    \begin{macrocode}
%    \kern\z@
     }}
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{\supereject}
%    \begin{macrocode}
\def\supereject{\par\penalty-\@MM}
%    \end{macrocode}
%  \end{macro}
%
% \begin{macro}{\nofiles}
% \changes{v0.51}{1996/05/24}{(DPC) Old definition, without \cs{write}
% added to \cs{protected@write}, for latex/2146}
% This old version might change the vertical spacing when it is used.
% Some old document might depend on that changed spacing so\ldots
%    \begin{macrocode}
\def\nofiles{%
  \@fileswfalse
  \typeout{No auxiliary output files.^^J}%
  \long\def\protected@write##1##2##3{}%
  \let\makeindex\relax
  \let\makeglossary\relax}
%    \end{macrocode}
% \end{macro}
%
% \subsection{Packages and classes}
%
% \begin{macro}{\ProvidesPackage}
% \begin{macro}{\ProvidesClass}
%    We redefine |\ProvidesPackage| and |\ProvidesClass| to produce a
%    log message rather than a warning if they find an unexpected
%    file.
%    \begin{macrocode}
\def\ProvidesPackage#1{%
  \xdef\@gtempa{#1}%
  \ifx\@gtempa\@currname\else
    \wlog{Compatibility mode: \@cls@pkg\space`\@currname' requested,
       but `#1' provided.}%
  \fi
  \@ifnextchar[\@pr@videpackage{\@pr@videpackage[]}}%]
\let\ProvidesClass=\ProvidesPackage
%    \end{macrocode}
% \end{macro}
% \end{macro}
% That ends the head of |latex209.def|.
%    \begin{macrocode}
%</head>
%    \end{macrocode}
%
% \section{Middle of latex209.def}
%
% At this point, the code for |oldlfont.sty| is read in by the
% installation script.
%
% \section{End of latex209.def}
%
% This section describes the end of |latex209.def|.
%    \begin{macrocode}
%<*tail>
%    \end{macrocode}
%
% \subsection{Font commands}
%
% \changes{v0.12}{1994/01/24}{Added the oldlfont option.}
% \changes{v0.25}{1994/05/14}{Added the newlfont option, rewrote the
%    oldlfont option to change math grouping.}
% \changes{v0.26}{1994/05/15}{Added the margid and nomargid options.}
% \changes{v0.27}{1994/05/16}{Replaced \# by \#\# in margid.}
% \changes{v0.28}{1994/05/17}{Replaced \cs{input} newlfont.sty by
%    \cs{OptionNotUsed} in \cs{ds@newlfont}.}
%
% \begin{macro}{\ds@oldlfont}
% \begin{macro}{\ds@newlfont}
% \begin{macro}{\ds@margid}
% \begin{macro}{\ds@nomargid}
%    We declare |oldlfont|, |newlfont|, |margid| and |nomargid|
%    options to mimic the \LaTeX~2.09 NFSS1 options.
%    \begin{macrocode}
\def\ds@oldlfont{%
%FM   \@no@font@optfalse
   \let\math@bgroup\@empty
   \let\math@egroup\@empty
   \let\@@math@bgroup\math@bgroup
   \let\@@math@egroup\math@egroup
}
\def\ds@newlfont{%
%FM    \@no@font@optfalse
   \OptionNotUsed
}
\def\ds@margid{%
%FM   \@no@font@optfalse
  \let\math@bgroup\bgroup
  \def\math@egroup##1{##1\egroup}%
  \let \@@math@bgroup \math@bgroup
  \let \@@math@egroup \math@egroup
}
\let\ds@nomargid\ds@oldlfont
\@onlypreamble\ds@oldfont
\@onlypreamble\ds@newfont
\@onlypreamble\ds@margid
\@onlypreamble\ds@nomargid
%    \end{macrocode}
% \end{macro}
% \end{macro}
% \end{macro}
% \end{macro}
%
% \begin{macro}{\encodingdefault}
%    The default encoding for old documents is OT1 rather than T1.
%    \begin{macrocode}
\renewcommand{\encodingdefault}{OT1}
%    \end{macrocode}
% \end{macro}
%
% \begin{macro}{\cmex/m/n/10}
%    Just in case a document style relies on |\cmex/m/n/10| to exist
%    (which may have been hard-wired to |\fam3|) we load the font.
%    \begin{macrocode}
\expandafter\font\csname cmex/m/n/10\endcsname=cmex10
%    \end{macrocode}
% \end{macro}
%
%
% \changes{v0.12}{1994/01/24}
%    {Added \cs{normalshape} and \cs{mediumseries}.}
% \changes{v0.28}{1994/05/16}{\cs{mediumseries} was using
%    \cs{fontshape} rather than \cs{fontseries}.}
%
% \begin{macro}{\normalshape}
% \begin{macro}{\mediumseries}
%    These commands were used in older versions of NFSS.
%    \begin{macrocode}
\def\normalshape{\fontshape\shapedefault\selectfont}
\def\mediumseries{\fontseries\seriesdefault\selectfont}
%    \end{macrocode}
% \end{macro}
% \end{macro}
% \begin{macro}{\DeclareOldFontCommand}
%    We redefine |\DeclareOldFontCommand| to do nothing.  This means
%    that any new document classes will have their redefinitions of
%    |\rm|, |\bf| etc.~ignored.
% \changes{v0.06}{1993/12/18}{Replaced \cs{@newfontswitch} by
%    \cs{@renewfontswitch}.}
% \changes{v0.11}{1994/01/21}{Removed \cs{RequirePackage}{oldlfont}.}
% \changes{v0.19}{1994/04/05}{Replaced \cs{@renewfontswitch} by
%    \cs{DeclareOldFontCommand}.}
%    \begin{macrocode}
\def \DeclareOldFontCommand #1#2#3{%
  \wlog{Compatibility mode: definition
        of \string#1\space ignored.}%
}
%    \end{macrocode}
% \end{macro}
%
% \changes{v0.17}
%    {1994/03/02}{Added \cs{@halfmag}, \cs{@magscale} and \cs{@ptscale}}
% \changes{v0.35}
%         {1994/09/23}{Added spaces to the old font scale commands.}
%
% \begin{macro}{\@halfmag}
% \begin{macro}{\@magscale}
% \begin{macro}{\@ptscale}
%    Some font-specifying commands from \LaTeX~2.09.
%    \begin{macrocode}
\def\@halfmag{ scaled \magstephalf}
\def\@magscale#1{ scaled \magstep#1 }
\def\@ptscale#1{ scaled #100 }
%    \end{macrocode}
% \end{macro}
% \end{macro}
% \end{macro}
%
% \begin{macro}{\font}
%    The current font is set to be CMR 10pt, to match \LaTeX~2.09.
%    \begin{macrocode}
\fontencoding{OT1} \fontfamily{cmr}
\fontsize{10}{12} \fontseries{m} \fontshape{n}
\selectfont
%    \end{macrocode}
% \end{macro}
%
% \changes{v0.11}{1994/01/21}{Added the rest of this subsection, which
%    used to be in oldlfont.dtx.}
%
% \begin{macro}{\load}
%    The |\load| command is no longer needed, it is therefore
%    defined to do nothing.
%    \begin{macrocode}
\let\load\@gobbletwo
%    \end{macrocode}
% \end{macro}
%
%    Here are three delimiters which have be partly disabled by
%    NFSS2 (the small variants) since the corresponding fonts are
%    normally not preloaded as math symbol fonts.
%    \begin{macrocode}
\DeclareMathDelimiter{\lgroup} % extensible ( with sharper tips
     {\mathopen}{bold}{"28}{largesymbols}{"3A}
\DeclareMathDelimiter{\rgroup} % extensible ) with sharper tips
     {\mathclose}{bold}{"29}{largesymbols}{"3B}
\DeclareMathDelimiter{\bracevert} % the vertical bar that extends braces
     {\mathord}{typewriter}{"7C}{largesymbols}{"3E}
%    \end{macrocode}
%
%    In old documents we might find some usages of |\bffam| etc. Thus
%    we add the following code:
%    \begin{macrocode}
\let\bffam\symbold
\let\sffam\symsans
\let\itfam\symitalic
\let\ttfam\symtypewriter
\let\scfam\symsmallcaps
\let\slfam\symslanted
\let\rmfam\symoperators
%    \end{macrocode}
%
%    Below are the |\..pt| commands with hopefully the same
%    functionality as in the old \texttt{lfonts.tex}. Notice that the
%    |\baselineskip| parameter wasn't set by these commands so that
%    using them now shouldn't set this either. Thus we go low-level.
%    This means that the commands are now fragile but I think they
%    have been fragile before.
%    \begin{macrocode}
\newcommand\vpt   {\edef\f@size{\@vpt}\rm}
\newcommand\vipt  {\edef\f@size{\@vipt}\rm}
\newcommand\viipt {\edef\f@size{\@viipt}\rm}
\newcommand\viiipt{\edef\f@size{\@viiipt}\rm}
\newcommand\ixpt  {\edef\f@size{\@ixpt}\rm}
\newcommand\xpt   {\edef\f@size{\@xpt}\rm}
\newcommand\xipt  {\edef\f@size{\@xipt}\rm}
\newcommand\xiipt {\edef\f@size{\@xiipt}\rm}
\newcommand\xivpt {\edef\f@size{\@xivpt}\rm}
\newcommand\xviipt{\edef\f@size{\@xviipt}\rm}
\newcommand\xxpt  {\edef\f@size{\@xxpt}\rm}
\newcommand\xxvpt {\edef\f@size{\@xxvpt}\rm}
%    \end{macrocode}
%
% \subsection{User customization}
%
% For sites which customized their version of \LaTeX~2.09, we provide
% a file |latex209.cfg|, which is loaded every time we enter
% compatibility mode.  If the file doesn't exist, we don't do
% anything.
%    \begin{macrocode}
\InputIfFileExists{latex209.cfg}{}{}
%    \end{macrocode}
% That ends the file |latex209.def|.
%    \begin{macrocode}
%</tail>
%    \end{macrocode}
%
% \section{Obsolete style files}
%
% \changes{v0.08}{1993/12/19}{Added this section.}
% \changes{v0.09}{1993/12/20}{Removed artN.sty, bkN.sty and repN.sty.}
% \changes{v0.23}{1994/05/11}{Added bezier.sty.}
% \changes{v0.31}{1994/05/20}{Added t1enc.sty.}
%
% For each of the standard \LaTeX~2.09 document styles, we produce a
% file which points to the appropriate \LaTeXe{} document class file.
% This means that any styles which say |\input article.sty| should
% still work.
%
%    \begin{macrocode}
%<*article|book|report|letter|slides>
\NeedsTeXFormat{LaTeX2e}
%</article|book|report|letter|slides>
%<*article>
\@obsoletefile{article.cls}{article.sty}
\LoadClass{article}
%</article>
%<*book>
\@obsoletefile{book.cls}{book.sty}
\LoadClass{book}
%</book>
%<*report>
\@obsoletefile{report.cls}{report.sty}
\LoadClass{report}
%</report>
%<*letter>
\@obsoletefile{letter.cls}{letter.sty}
\LoadClass{letter}
%</letter>
%<*slides>
\@obsoletefile{slides.cls}{slides.sty}
\LoadClass{slides}
%</slides>
%    \end{macrocode}
% We also produce empty |fleqn.sty| and |leqno.sty| files in case
% anyone has |\input| one of them.
%    \begin{macrocode}
%<*fleqn>
\@obsoletefile{fleqn.clo}{fleqn.sty}
\input{fleqn.clo}
%</fleqn>
%<*leqno>
\@obsoletefile{leqno.clo}{leqno.sty}
\input{leqno.clo}
%</leqno>
%    \end{macrocode}
% We also produce an empty |openbib.sty| in case anyone has |\input|
% |openbib.sty|.  The |openbib| class option is now part of the kernel.
%    \begin{macrocode}
%<*openbib>
\iffalse

The openbib option is now part of LaTeX thus this package is no
longer necessary.  It is only retained for upward compatibility.
See the 2nd edition of the LaTeX book, or the file usrguide.tex
which comes with the LaTeX distribution, for more details.

\fi
%</openbib>
%    \end{macrocode}
% We also produce an empty |bezier.sty| in case anyone has |\input|
% |bezier.sty|.  The |\bezier| command is now part of the kernel.
%    \begin{macrocode}
%<*bezier>
\iffalse

The \bezier command is now part of LaTeX thus this package is no
longer necessary.  It is only retained for upward compatibility.
Also, please note that LaTeX now offers an extended bezier command
which automatically calculates the number of points needed for the
plot.  See the 2nd edition of the LaTeX book, or the file
usrguide.tex which comes with the LaTeX distribution, for more
details.

\fi
%</bezier>
%    \end{macrocode}
% We also produce a |t1enc| package, for compatibility with the
% Companion.  This has been replaced by the |fontenc| package.
%    \begin{macrocode}
%<*t1enc>
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{t1enc}[1994/06/01 Standard LaTeX package]
\renewcommand{\encodingdefault}{T1}
\fontencoding{T1}\selectfont
%</t1enc>
%    \end{macrocode}
% \DeleteShortVerb{\|}
% \Finale
\endinput