summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/thumbs/thumbs-example.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/thumbs/thumbs-example.tex')
-rw-r--r--Master/texmf-dist/doc/latex/thumbs/thumbs-example.tex79
1 files changed, 52 insertions, 27 deletions
diff --git a/Master/texmf-dist/doc/latex/thumbs/thumbs-example.tex b/Master/texmf-dist/doc/latex/thumbs/thumbs-example.tex
index 5cc130fbb6b..3e38adf57cc 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/06/24 v1.0g
+%% Version: 2011/08/08 v1.0h
%%
%% Copyright (C) 2010, 2011 by
%% H.-Martin M"unch <Martin dot Muench at Uni-Bonn dot de>
@@ -43,19 +43,19 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% When compiling with SWP 5.50. Build 2960 %
%% (copyright MacKichan Software, Inc.), %
-%% these additional packages are needed: %
+%% this is additionally needed: %
%% \usepackage[T1]{fontenc} %
%% \usepackage{amsfonts} %
%% \usepackage[math]{cellspace} %
%% \usepackage{xcolor} %
%% \pagecolor{white} %
+%% \newcommand{\QTO}[2]{#2} %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\usepackage{lipsum}[2011/04/14]% v1.2
+\usepackage{lipsum}[2011/04/14]% v1.2
\usepackage{eurosym}[1998/08/06]% v1.1
\usepackage[extension=pdf,%
- pdfpagelayout=TwoPageRight,pdfpagemode={UseNone},%
- plainpages=false,%
- pdfpagelabels=true,%
+ pdfpagelayout=TwoPageRight,pdfpagemode=UseThumbs,%
+ plainpages=false,pdfpagelabels=true,%
hyperindex=false,%
pdflang={en},%
pdftitle={thumbs package example},%
@@ -64,10 +64,18 @@
pdfkeywords={LaTeX, thumbs, thumb marks, Hans-Martin Muench},%
pdfview=Fit,pdfstartview=Fit,%
linktoc=all]{hyperref}[2011/04/17]% v6.82g
-\usepackage[pagecolor=white,thumblink=rule,linefill=dots,height={auto},minheight={47pt},%
+\usepackage[thumblink=rule,linefill=dots,height={auto},minheight={47pt},%
width={auto},distance={2mm},topthumbmargin={auto},bottomthumbmargin={auto},%
- ignorehoffset=true,ignorevoffset=true,verbose=true]{thumbs}[2011/06/24]% v1.0g
+ ignorehoffset=true,ignorevoffset=true,final=true,hidethumbs=false,%
+ verbose=true]{thumbs}[2011/08/08]% v1.0h
+\nopagecolor% use \pagecolor{white} if \nopagecolor does not work
\gdef\unit#1{\mathord{\thinspace\mathrm{#1}}}%
+\makeatletter
+ \@ifundefined{Hy@Warning}{% hyperref not loaded
+ \@ifundefined{\url}{\let\url\verb}% neither url
+ }{% hyperref loaded
+ }%
+\makeatother
\listfiles
\begin{document}
\pagenumbering{arabic}
@@ -76,13 +84,13 @@
\markboth{Example for thumbs}{Example for thumbs}
This example demonstrates the most common uses of package
-\textsf{thumbs}, v1.0g as of 2011/06/24 (HMM).
-The used options were \texttt{pagecolor=white},
-\texttt{thumblink=rule}, \texttt{linefill=dots},
-\texttt{height=auto}, \texttt{minheight=\{47pt\}},
-width={auto}, \texttt{distance=\{2mm\}}, \texttt{topthumbmargin=\{auto\}},
-\texttt{bottomthumbmargin=\{auto\}}, \texttt{ignorehoffset=true},
-\texttt{ignorevoffset=true},and \texttt{verbose=true}.
+\textsf{thumbs}, v1.0h as of 2011/08/08 (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{ignorehoffset=true}, \texttt{ignorevoffset=true},
+\texttt{final=true},\texttt{hidethumbs=false}, and \texttt{verbose=true}.
\noindent These are the default options, except \texttt{verbose=true}.
For more details please see the documentation!\newline
@@ -93,7 +101,7 @@ the references in the overview page for the thumb marks are also hyperlinked
\bigskip
-{\color{green} Save per page about $200\unit{ml}$ water, $2\unit{g}$ CO$_{2}$
+{\color{teal} Save per page about $200\unit{ml}$ water, $2\unit{g}$ CO$_{2}$
and $2\unit{g}$ wood:\newline
Therefore please print only if this is really necessary.}\newline
@@ -335,6 +343,20 @@ $=\frac{1}{1.\,955\,83}\,$\euro $\,=1/1.\,955\,83\unit{Euro}=1/1.\,955\,83\unit{
\newpage
+Let us have a look at \verb|\thumbsoverviewverso|:
+
+\addthumbsoverviewtocontents{section}{Table of Thumbs, verso mode}%
+\thumbsoverviewverso{Table of Thumbs, verso mode}
+
+\newpage
+
+And, of course, also at \verb|\thumbsoverviewdouble|:
+
+\addthumbsoverviewtocontents{section}{Table of Thumbs, double mode}%
+\thumbsoverviewdouble{Table of Thumbs, double mode}
+
+\newpage
+
\addthumb{E mark}{\Huge{\textbf{E}}}{lightgray}{black}
I am just adding further thumb marks.
@@ -367,10 +389,8 @@ I just added another thumb mark.
\makeatletter
\@ifundefined{Hy@Warning}{% hyperref not loaded
- \let\url\verb%
- }{% hyperref loaded
- \phantomsection%
- }%
+ }{\phantomsection% hyperref loaded
+ }%
\makeatother
\label{greenpage}
@@ -379,7 +399,7 @@ Some faulty pdf-viewer sometimes (for the same document!)
adds a white line at the bottom and right side of the document
when presenting it. This does not change the printed version.
To test for this problem, this page has been completely coloured.
-(Probably better exclude this page from printing\ldots{})
+(Probably better exclude this page from printing!)
\textsc{Heiko Oberdiek} wrote at Tue, 26 Apr 2011 14:13:29 +0200
in the \newline
@@ -403,10 +423,8 @@ therefore they are placed a little bit over the paper margin.
Now I red somwhere in the net (should have remembered to note the url),
that white margins are presented, whenever there is some object outside
of the page. Thus, it is a feature, not a bug?!
-What I do not understand: The same version of the viewer (at same operating
-system) at one PC shows white margins, and at another one does not. Strange.
-Even stranger: The same document sometimes is presented with white lines
-and sometimes without.\newline
+What I do not understand: The same document sometimes is presented
+with white lines and sometimes without (same viewer, same PC).\newline
But at least it does not influence the printed version.
\newpage
@@ -420,9 +438,16 @@ here: page \pageref{TableOfThumbs1}, page \pageref{TableOfThumbs2},
and via e.\,g. \verb|\pageref{TableOfThumbs}| it is referred to the last used
Table of Thumbs (for compatibility with older package versions).
If there is only one Table of Thumbs, this one is also the last one, of course.
-Here it is at page \pageref{TableOfThumbs}.
+Here it is at page \pageref{TableOfThumbs}.\newline
+
+Now let us have a look at \verb|\thumbsoverviewback|:
+
+\addthumbsoverviewtocontents{section}{Table of Thumbs, back mode}%
+\thumbsoverviewback{Table of Thumbs, back mode}
+
+\newpage
-\thumbsoverview{Table of Thumbs again}
+Text can be placed after any of the Tables of Thumbs, of course.
\end{document}