summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tufte-latex/tufte-handout.cls
blob: ca9ab630829cb06201792419143d191d6750a166 (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
\NeedsTeXFormat{LaTeX2e}[1994/06/01]

\ProvidesClass{tufte-handout}[2009/05/17 v3.0.0 Tufte-handout class]

%%
% The symmetric option forces twoside.
\DeclareOption{symmetric}{%
  \ExecuteOptions{twoside}
  \PassOptionsToPackage{twoside}{tufte-common}
  \PassOptionsToClass{twoside}{article}
  \PackageInfo{tufte-handout}{Passing twoside to `article' class}
}

\PassOptionsToPackage{handout}{tufte-common}
\DeclareOption*{% pass options to tufte-common package and the article class
  \PassOptionsToPackage{\CurrentOption}{tufte-common}
  \PassOptionsToClass{\CurrentOption}{article}
  \PackageInfo{tufte-handout}{Passing \CurrentOption\space to `article' class}
}
\ProcessOptions

\LoadClass{article}

\RequirePackage{tufte-common}


%%
% Set up any handout-specific stuff now

%%
% Abstract

% TODO The abstract should be printed on its own page of the `titlepage'
% option was specified.
\renewenvironment{abstract}
  {\begin{quotation}\if@tufte@sfsidenotes\begin{sffamily}\fi}
  {\if@tufte@sfsidenotes\end{sffamily}\fi\end{quotation}}


%%
% If there is a `tufte-handout-local.tex' file, load it.

\IfFileExists{tufte-handout-local.tex}
  {\input{tufte-handout-local}}
  {}


%%
% End of file
\endinput