Pārlūkot izejas kodu

* Fixes issue 39: bad pdf bookmarks.

* We're now loading the titlesec and titletoc packages *before* hyperref.


git-svn-id: https://tufte-latex.googlecode.com/svn/trunk@133 516e2f36-ce3a-0410-bea4-1d4a03f5df72
master
Kevin M. Godby pirms 16 gadiem
vecāks
revīzija
b63015c285
3 mainītis faili ar 7 papildinājumiem un 3 dzēšanām
  1. Binārs
      sample-book.pdf
  2. Binārs
      sample-handout.pdf
  3. +7
    -3
      tufte-common.def

Binārs
sample-book.pdf Parādīt failu


Binārs
sample-handout.pdf Parādīt failu


+ 7
- 3
tufte-common.def Parādīt failu

@@ -305,6 +305,13 @@
}%
}

%%
% The titlesec and titletoc packages are used to change the style of the
% section headings. These packages should be loaded before the hyperref
% package.

\RequirePackage{titlesec,titletoc}

%%%
%% Loads the hyperref package and sets some default options.

@@ -1482,8 +1489,6 @@
%%
% Make Tuftian-style section headings and TOC formatting

\RequirePackage{titlesec,titletoc}

\titleformat{\chapter}%
[display]% shape
{\relax\ifthenelse{\NOT\boolean{@tufte@symmetric}}{\begin{fullwidth}}{}}% format applied to label+text
@@ -1516,7 +1521,6 @@
{}% before the title body
[]% after the title body


\titlespacing*{\chapter}{0pt}{50pt}{40pt}
\titlespacing*{\section}{0pt}{3.5ex plus 1ex minus .2ex}{2.3ex plus .2ex}
\titlespacing*{\subsection}{0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus.2ex}


Notiek ielāde…
Atcelt
Saglabāt