Selaa lähdekoodia

* Added a B5 paper size (`b5paper' document class option). The parameters may get tweaked a bit later.

git-svn-id: https://tufte-latex.googlecode.com/svn/trunk@113 516e2f36-ce3a-0410-bea4-1d4a03f5df72
master
Kevin M. Godby 16 vuotta sitten
vanhempi
commit
b92e4067c3
3 muutettua tiedostoa jossa 12 lisäystä ja 2 poistoa
  1. BIN
      sample-book.pdf
  2. BIN
      sample-handout.pdf
  3. +12
    -2
      tufte-common.def

BIN
sample-book.pdf Näytä tiedosto


BIN
sample-handout.pdf Näytä tiedosto


+ 12
- 2
tufte-common.def Näytä tiedosto

@@ -40,6 +40,12 @@
\newboolean{@tufte@afourpaper}
\DeclareOption{a4paper}{\setboolean{@tufte@afourpaper}{true}}

%%
% `b4paper' option

\newboolean{@tufte@bfivepaper}
\DeclareOption{b5paper}{\setboolean{@tufte@bfivepaper}{true}}

%%
% `sfsidenotes' option -- typesets sidenotes in sans serif typeface

@@ -106,7 +112,6 @@
\DeclareOption{11pt}{\@tufte@unsupported@option{\CurrentOption}}
\DeclareOption{12pt}{\@tufte@unsupported@option{\CurrentOption}}
\DeclareOption{a5paper}{\@tufte@unsupported@option{\CurrentOption}}
\DeclareOption{b5paper}{\@tufte@unsupported@option{\CurrentOption}}
\DeclareOption{executivepaper}{\@tufte@unsupported@option{\CurrentOption}}
\DeclareOption{legalpaper}{\@tufte@unsupported@option{\CurrentOption}}
\DeclareOption{landscape}{\@tufte@unsupported@option{\CurrentOption}}
@@ -270,6 +275,10 @@
{\geometry{a4paper,left=24.8mm,top=27.4mm,headsep=2\baselineskip,textwidth=107mm,marginparsep=8.2mm,marginparwidth=49.4mm,textheight=49\baselineskip,headheight=\baselineskip}}
{}

\ifthenelse{\boolean{@tufte@bfivepaper}}
{\geometry{paperwidth=176mm,paperheight=250mm,left=14.66mm,top=13.88mm,textwidth=102.66mm,marginparsep=7.33mm,marginparwidth=36.66mm,textheight=38\baselineskip,includehead}}
{}

\ifthenelse{\boolean{@tufte@symmetric}}
{}
{\geometry{asymmetric}}% forces internal LaTeX `twoside'
@@ -623,7 +632,7 @@
%%
% Citations should go in the margin as sidenotes

\RequirePackage[numbers]{natbib}
\RequirePackage{natbib}
\RequirePackage{bibentry} % allows bibitems to be typeset outside thebibliography environment
% Redefine the \BR@b@bibitem command to fix a bug with bibentry+chicago style
\renewcommand\BR@b@bibitem[2][]{%
@@ -1161,6 +1170,7 @@
\typeout{}
\typeout{Class options:}
\typeoutbool{a4paper}{@tufte@afourpaper}
\typeoutbool{b5paper}{@tufte@bfivepaper}
\typeoutbool{load fonts}{@tufte@loadfonts}
\typeoutbool{fully-justified}{@tufte@justified}
\typeoutbool{letterspacing}{@tufte@letterspace}


Loading…
Peruuta
Tallenna