summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/thumbs/thumbs-example.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-10-19 22:28:08 +0000
committerKarl Berry <karl@freefriends.org>2011-10-19 22:28:08 +0000
commit772976b31dcc12f45676b472887bd330bff5b9d7 (patch)
tree07ac899623525d86c15a80c484cf2e9d6938396c /Master/texmf-dist/doc/latex/thumbs/thumbs-example.tex
parent19492a456e1fc5b19603e0d9b96cf10fb5195b52 (diff)
thumbs (19oct11)
git-svn-id: svn://tug.org/texlive/trunk@24332 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/thumbs/thumbs-example.tex')
-rw-r--r--Master/texmf-dist/doc/latex/thumbs/thumbs-example.tex27
1 files changed, 20 insertions, 7 deletions
diff --git a/Master/texmf-dist/doc/latex/thumbs/thumbs-example.tex b/Master/texmf-dist/doc/latex/thumbs/thumbs-example.tex
index 493a60cd6bf..ddec0e914c0 100644
--- a/Master/texmf-dist/doc/latex/thumbs/thumbs-example.tex
+++ b/Master/texmf-dist/doc/latex/thumbs/thumbs-example.tex
@@ -9,7 +9,7 @@
%% This is a generated file.
%%
%% Project: thumbs
-%% Version: 2011/08/22 v1.0i
+%% Version: 2011/10/19 v1.0j
%%
%% Copyright (C) 2010, 2011 by
%% H.-Martin M"unch <Martin dot Muench at Uni-Bonn dot de>
@@ -63,11 +63,11 @@
pdfsubject={Example for the thumbs package},%
pdfkeywords={LaTeX, thumbs, thumb marks, Hans-Martin Muench},%
pdfview=Fit,pdfstartview=Fit,%
- linktoc=all]{hyperref}[2011/04/17]% v6.82g
+ linktoc=all]{hyperref}[2011/10/01]% v6.82j
\usepackage[thumblink=rule,linefill=dots,height={auto},minheight={47pt},%
width={auto},distance={2mm},topthumbmargin={auto},bottomthumbmargin={auto},%
- ignorehoffset=true,ignorevoffset=true,final=true,hidethumbs=false,%
- verbose=true]{thumbs}[2011/08/22]% v1.0i
+ nophantomsection=false,ignorehoffset=true,ignorevoffset=true,final=true,%
+ hidethumbs=false,verbose=true]{thumbs}[2011/10/19]% v1.0j
\nopagecolor% use \pagecolor{white} if \nopagecolor does not work
\gdef\unit#1{\mathord{\thinspace\mathrm{#1}}}%
\makeatletter
@@ -84,11 +84,12 @@
\markboth{Example for thumbs}{Example for thumbs}
This example demonstrates the most common uses of package
-\textsf{thumbs}, v1.0i as of 2011/08/22 (HMM).
+\textsf{thumbs}, v1.0j as of 2011/10/19 (HMM).
The used options were \texttt{thumblink=rule}, \texttt{linefill=dots},
\texttt{height=auto}, \texttt{minheight=\{47pt\}}, \texttt{width={auto}},
\texttt{distance=\{2mm\}}, \newline
-\texttt{topthumbmargin=\{auto\}}, \texttt{bottomthumbmargin=\{auto\}},
+\texttt{topthumbmargin=\{auto\}}, \texttt{bottomthumbmargin=\{auto\}}, \newline
+\texttt{nophantomsection=false},
\texttt{ignorehoffset=true}, \texttt{ignorevoffset=true},
\texttt{final=true},\texttt{hidethumbs=false}, and \texttt{verbose=true}.
@@ -162,6 +163,18 @@ To include an overview page for the thumb marks,
is used, where \textbackslash addthumbsoverviewtocontents adds the thumb
marks overview page to the table of contents.
+\smallskip
+
+Generally it is desirable to have a hyperlink from the thumbs overview page
+to lead to the thumb mark and not to some earlier place. Therefore automatically
+a \verb|\phantomsection| is placed before each thumb mark. But for example when
+using the thumb mark after a \verb|\chapter{...}| command, it is probably nicer
+to have the link point at the top of that chapter's title (instead of the line
+below it). The automatical placeing of the \verb|\phantomsection| can be disabled
+either globally by using option \texttt{nophantomsection}, or locally for the next
+thumb mark by the command \verb|\thumbsnophantom|. (When disabled globally,
+still manual use of \verb|\phantomsection| is possible.)
+
\addthumbsoverviewtocontents{section}{Thumb marks overview}%
\thumbsoverview{Table of Thumbs}
@@ -217,7 +230,7 @@ And you do not need to have a section to add a thumb:
This is still the third section, but there is a new thumb mark.
-On the other hand, you can even get rid of the the thumb marks
+On the other hand, you can even get rid of the thumb marks
for some page(s):
\newpage