Only try to patch XeTeX-specific code when XeTeX is in use!
[latex2e.git] / latex2e-20151001 / base / minimal.cls
blob9e55225900b59242c3343c8983adc082f7e4abaa
1 % \iffalse meta-comment
3 % Copyright 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009
4 % The LaTeX3 Project and any individual authors listed elsewhere
5 % in this file.
6 %
7 % This file is part of the LaTeX base system.
8 % -------------------------------------------
9 %
10 % It may be distributed and/or modified under the
11 % conditions of the LaTeX Project Public License, either version 1.3c
12 % of this license or (at your option) any later version.
13 % The latest version of this license is in
14 % http://www.latex-project.org/lppl.txt
15 % and version 1.3c or later is part of all distributions of LaTeX
16 % version 2005/12/01 or later.
18 % This file has the LPPL maintenance status "maintained".
20 % The list of all files belonging to the LaTeX base distribution is
21 % given in the file `manifest.txt'. See also `legal.txt' for additional
22 % information.
24 % The list of derived (unpacked) files belonging to the distribution
25 % and covered by LPPL is defined by the unpacking scripts (with
26 % extension .ins) which are part of the distribution.
28 % \fi
30 %% Minimal LaTeX class file.
33 \NeedsTeXFormat{LaTeX2e}
34 \ProvidesClass{minimal}[2001/05/25 Standard LaTeX minimal class]
36 \renewcommand\normalsize{\fontsize{10pt}{12pt}\selectfont}
38 \setlength{\textwidth}{6.5in}
39 \setlength{\textheight}{8in}
41 \pagenumbering{arabic} % but no page numbers are printed because:
42 \pagestyle{empty} % this is actually already in the kernel
44 % This documentclass is intended primarily for testing and reference
45 % purposes; loading it with \LoadClass{minimal} to use it as a base
46 % class for some other document class is probably a mistake. If you wish
47 % to start a new document class based on the minimal class, it is better
48 % to start by copying the *contents* of minimal.cls directly into your
49 % new class and making suitable modifications. You may, at that point
50 % also want to start documenting the code using the conventions of the
51 % doc package, rather than using simple ascii comments as used here.