summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex-graphics-companion/inputs/ppex.cls
blob: 8d52b75fd74088c7078b8b3b7c7e69b02f27e010 (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
% 
% This class file is used to typeset the examples of the LaTeX Graphics
% Companion. It works without changes if you happen to use dvips as a
% printer driver. Otherwise you might need to update it as outlined
% below. 
% 
% Basic class is article

\LoadClass{article}

% We use Times and Helvetica for \rmfamily and \sffamily
% 
\renewcommand\rmdefault{ptm}
\renewcommand\sfdefault{phv}
\renewcommand\bfdefault{b}

% That is default anyway
% 
\setlength\paperheight {11in}
\setlength\paperwidth  {8.5in}

% [FMi: why do you need this Sebastian? ]
% 
\special{papersize=8.5in,11in}

\RequirePackage[T1]{fontenc}

% We wanted to use PS when producing LaTeX pictures but it should be
% possible to comment this line out without any changes to the result
% 
\RequirePackage{pspicture}



\newcommand\gobblepreamble[2][]{}
\newcommand\ResetPreambleCommands{\let\usepackage\gobblepreamble}
\let\ReadyForTheFray\relax



%FMi the below is plain wrong :-)
%\makeatletter
\newdimen\fullwidth
\setlength\textwidth{29pc}
\addtolength\textwidth{-2pt} % to guard against rounding errors when
                             % calculating the EPS bounding box.
\setlength\fullwidth{35.5pc}


% [FMi why this? ]

\let\bf\bfseries
\let\tt\ttfamily
\let\it\itshape
\let\sf\sffamily
\let\rm\mdseries

\endinput