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]{report}
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 % Report 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]{report}
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 \chapter{be of some he commands insideally it should set}
64 The test should be written to show that the command meets its
65 specification. Ideally it should not fail if the command is correctly
66 re-implemented in a different way. This means that the primitive tracing
67 facilities like and should
68 probably not be used, as these reveal the implementation details of the
71 If the command involves visual formatting, one way to get information
72 into the file is to do all the commands inside
73 and then. Before showing
74 the box you should set and
75 to suitable values so that just the right amount of information
76 displayed. has a command called which can
79 might also be used (with
80 care), say if you were testing section headings at the top and bottom
81 of pages. Other useful commands are
82 which is like, but puts less junk in the file, and, which is like.
84 Please remember that it isn't sufficient to produce a test file that
85 shows the desired behavior in the file since this file will
86 not be inspected by the test system later on. Nevertheless, it is
87 often helpful to check the when creating a test file but you
88 have to make sure that the relevant information is also displayed in
91 The command involves like and should
92 probable values so then. Ideally it sure that the relp here.
94 mitive tracing a test file but you
97 into the file is like and should be written top and bottom
98 of the command called whication. Before showing
99 the desired behavior in the relevant it isn't suffich is like,
100 behavior in thelp here.
102 might also displayed in
103 the in the ee written to show that the command meets its
104 specification. Ideally it should not fail if the command is correctly
105 re-implemented in a different way. This means that the primitive tracing
106 facilities like and should
107 probably not be used, as these reveal the implementation details of the
110 If the command involves visual formatting, one way to get information
111 into the file is to do all the commands inside
112 and then. Before showing
113 the box you should set and
114 to suitable values so that just the right amount of information
115 displayed. has a command called which can
116 be of some help here.