diff options
author | Karl Berry <karl@freefriends.org> | 2009-12-13 01:07:15 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-12-13 01:07:15 +0000 |
commit | 55680297935c477d4a7ac7725002fd0c15f49f7e (patch) | |
tree | 1e0a277547787a1910bb074aca245eacf4a82574 /Master/texmf-dist/tex/latex/tufte-latex/tufte-book.cls | |
parent | c05b490ff9e913dfee1ea598959b51c98a5dfcae (diff) |
tufte-latex 3.5.0 (11dec09)
git-svn-id: svn://tug.org/texlive/trunk@16378 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/tufte-latex/tufte-book.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/tufte-latex/tufte-book.cls | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/Master/texmf-dist/tex/latex/tufte-latex/tufte-book.cls b/Master/texmf-dist/tex/latex/tufte-latex/tufte-book.cls index 99ff6dfa219..11d50157b0b 100644 --- a/Master/texmf-dist/tex/latex/tufte-latex/tufte-book.cls +++ b/Master/texmf-dist/tex/latex/tufte-latex/tufte-book.cls @@ -1,19 +1,15 @@ \NeedsTeXFormat{LaTeX2e}[1994/06/01] -\ProvidesClass{tufte-book}[2009/05/17 v3.0.0 Tufte-book class] +\ProvidesClass{tufte-book}[2009/12/11 v3.5.0 Tufte-book class] +%% +% Declare we're tufte-book +\newcommand{\@tufte@class}{book}% the base LaTeX class (defaults to the article/handout style) +\newcommand{\@tufte@pkgname}{tufte-book}% the name of the package (defaults to tufte-handout) -\PassOptionsToPackage{book}{tufte-common} -\DeclareOption*{% pass options to tufte-common package and the article class - \PassOptionsToPackage{\CurrentOption}{tufte-common} - \PassOptionsToClass{\CurrentOption}{book} - \PackageInfo{tufte-book}{Passing \CurrentOption\space to `book' class} -} -\ProcessOptions - -\LoadClass{book} - -\RequirePackage{tufte-common} +%% +% Load the common style elements +\input{tufte-common.def} %% @@ -46,11 +42,11 @@ \ifthenelse{\boolean{@tufte@twoside}}% {% two-side \renewcommand{\chaptermark}[1]{\markboth{##1}{}}% - \fancyhead[LE]{\thepage\quad\smallcaps{\plaintitle}}% book title - \fancyhead[RO]{\smallcaps{\leftmark}\quad\thepage}% chapter title + \fancyhead[LE]{\thepage\quad\smallcaps{\newlinetospace{\plaintitle}}}% book title + \fancyhead[RO]{\smallcaps{\newlinetospace{\leftmark}}\quad\thepage}% chapter title }% {% one-side - \fancyhead[RE,RO]{\smallcaps{\plaintitle}\quad\thepage}% book title + \fancyhead[RE,RO]{\smallcaps{\newlinetospace{\plaintitle}}\quad\thepage}% book title }% } @@ -75,7 +71,8 @@ % If there is a `tufte-book-local.sty' file, load it. \IfFileExists{tufte-book-local.tex} - {\input{tufte-book-local}} + {\input{tufte-book-local} + \TufteInfoNL{Loading tufte-book-local.tex}} {} %% |