1 % \iffalse meta-comment
3 % Copyright (C) 1992 by David Carlisle, Frank Mittelbach.
6 % This file is part of the validate package.
10 % You are not allowed to change this file. In case of error
11 % write to the email address mentioned in the file readme.val.
15 % Test file for LaTeX2.09 testing latex.bug (style) entries:
17 % 55. Style options files twocolumn and titlepage shortened to 8 chars.
18 % User interface preserved by adding \ds@titlepage etc. to input the
19 % coded name. This supports (most) OS with file length restrictions.
20 % (Change made 30 Mar 91.)
21 % 63. Change 55 caused the twocolumn document style option to no longer
22 % work since twocolumn.sty was read in too early. (Reported by Bernard
23 % Gaulle. Corrected 15 Oct 91.)
25 \documentclass[twocolumn,titlepage]{article}
26 \title{Testing changes to {\tt twocolumn} and {\tt titlepage} option file
31 % Input the test macros for LaTeX2e
34 % Everything before this is ignored by the test system.
39 % Declare the format used on the original run, as printed by
42 \FORMAT{LaTeX2e<1993/12/24>}
44 % Article document style for this test. We need to have a
45 % minimal font setup, for the last few tests, otherwise we
46 % could have done this with no documentclass.
48 \CLASS[twocolumn,titlepage]{article}
50 % Optionally declare commands which are (or might be)
51 % defined in this `module' of LaTeX. Each command declared
52 % will be recorded in the .tlg file as Defined, Undefined,
53 % or Relaxed (ie \let to \relax, which LaTeX treats for most
54 % purposes as being undefined)
56 \declare@command\ds@twocolumn
57 \typeout{\meaning\ds@twocolumn}
58 \declare@command\ds@titlepage
59 \typeout{\meaning\ds@titlepage}
61 \section{be of some he commands insideally it should set and
62 longer work since olumn. sty was read in too early}
65 The test should be written to show that the command meets its
66 specification. Ideally it should not fail if the command is correctly
67 re-implemented in a different way. This means that the primitive tracing
68 facilities like and should
69 probably not be used, as these reveal the implementation details of the
72 If the command involves visual formatting, one way to get information
73 into the file is to do all the commands inside
74 and then. Before showing
75 the box you should set and
76 to suitable values so that just the right amount of information
77 displayed. has a command called which can
80 might also be used (with
81 care), say if you were testing section headings at the top and bottom
82 of pages. Other useful commands are
83 which is like, but puts less junk in the file, and, which is like.
85 Please remember that it isn't sufficient to produce a test file that
86 shows the desired behavior in the file since this file will
87 not be inspected by the test system later on. Nevertheless, it is
88 often helpful to check the when creating a test file but you
89 have to make sure that the relevant information is also displayed in
92 The command involves like and should
93 probable values so then. Ideally it sure that the relp here.
95 mitive tracing a test file but you
98 into the file is like and should be written top and bottom
99 of the command called whication. Before showing
100 the desired behavior in the relevant it isn't suffich is like,
101 behavior in thelp here.
103 might also displayed in
104 the in the ee written to show that the command meets its
105 specification. Ideally it should not fail if the command is correctly
106 re-implemented in a different way. This means that the primitive tracing
107 facilities like and should
108 probably not be used, as these reveal the implementation details of the
111 If the command involves visual formatting, one way to get information
112 into the file is to do all the commands inside
113 and then. Before showing
114 the box you should set and
115 to suitable values so that just the right amount of information
116 displayed. has a command called which can
117 be of some help here.