summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/thumbs/thumbs-example.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-03-09 21:30:19 +0000
committerKarl Berry <karl@freefriends.org>2014-03-09 21:30:19 +0000
commit287d865990e5823a75263a98624f9f4bd89192a4 (patch)
tree3df830c98d27b2732c122c787fe1be9ade0d5cea /Master/texmf-dist/doc/latex/thumbs/thumbs-example.tex
parent0bfe05edb117d45b0720bc4f31d89be020b9c521 (diff)
thumbs (9mar14)
git-svn-id: svn://tug.org/texlive/trunk@33134 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.tex49
1 files changed, 26 insertions, 23 deletions
diff --git a/Master/texmf-dist/doc/latex/thumbs/thumbs-example.tex b/Master/texmf-dist/doc/latex/thumbs/thumbs-example.tex
index 919219edc23..84b64f30cd6 100644
--- a/Master/texmf-dist/doc/latex/thumbs/thumbs-example.tex
+++ b/Master/texmf-dist/doc/latex/thumbs/thumbs-example.tex
@@ -9,9 +9,9 @@
%% This is a generated file.
%%
%% Project: thumbs
-%% Version: 2012/02/25 v1.0n
+%% Version: 2014/03/09 v1.0q
%%
-%% Copyright (C) 2010 - 2012 by
+%% Copyright (C) 2010 - 2014 by
%% H.-Martin M"unch <Martin dot Muench at Uni-Bonn dot de>
%%
%% The usual disclaimer applies:
@@ -35,22 +35,13 @@
%%
%% This work consists of the main source file thumbs.dtx,
%% the README, and the derived files
-%% thumbs.sty, thumbs.pdf, thumbs.ins, thumbs.drv,
+%% thumbs.sty, thumbs.pdf,
+%% thumbs.ins, thumbs.drv,
%% thumbs-example.tex, thumbs-example.pdf.
%%
+%% In memoriam Tommy Muench + 2014/01/02.
+%%
\documentclass[twoside,british]{article}[2007/10/19]% v1.4h
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% When compiling with SWP 5.50. Build 2960 %
-%% (copyright MacKichan Software, Inc.), %
-%% this is additionally needed: %
-%% \usepackage[T1]{fontenc} %
-%% \usepackage{amsfonts} %
-%% \usepackage[math]{cellspace} %
-%% \usepackage{xcolor} %
-%% \pagecolor{white} %
-%% \providecommand{\QTO}[2]{#2} %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{lipsum}[2011/04/14]% v1.2
\usepackage{eurosym}[1998/08/06]% v1.1
\usepackage[extension=pdf,%
@@ -63,11 +54,13 @@
pdfsubject={Example for the thumbs package},%
pdfkeywords={LaTeX, thumbs, thumb marks, H.-Martin Muench},%
pdfview=Fit,pdfstartview=Fit,%
- linktoc=all]{hyperref}[2012/02/06]% v6.82o
+ linktoc=all]{hyperref}[2012/11/06]% v6.83m
\usepackage[thumblink=rule,linefill=dots,height={auto},minheight={47pt},%
width={auto},distance={2mm},topthumbmargin={auto},bottomthumbmargin={auto},%
+ eventxtindent={5pt},oddtxtexdent={5pt},%
+ evenmarkindent={0pt},oddmarkexdent={0pt},evenprintvoffset={0pt},%
nophantomsection=false,ignorehoffset=true,ignorevoffset=true,final=true,%
- hidethumbs=false,verbose=true]{thumbs}[2012/02/25]% v1.0n
+ hidethumbs=false,verbose=true]{thumbs}[2014/03/09]% v1.0q
\nopagecolor% use \pagecolor{white} if \nopagecolor does not work
\gdef\unit#1{\mathord{\thinspace\mathrm{#1}}}
\makeatletter
@@ -84,11 +77,14 @@
\markboth{Example for thumbs}{Example for thumbs}
This example demonstrates the most common uses of package
-\textsf{thumbs}, v1.0n as of 2012/02/25 (HMM).
+\textsf{thumbs}, v1.0q as of 2014/03/09 (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\}}, \newline
+\texttt{eventxtindent=\{5pt\}}, \texttt{oddtxtexdent=\{5pt\}},
+\texttt{evenmarkindent=\{0pt\}}, \texttt{oddmarkexdent=\{0pt\}},
+\texttt{evenprintvoffset=\{0pt\}},
\texttt{nophantomsection=false},
\texttt{ignorehoffset=true}, \texttt{ignorevoffset=true}, \newline
\texttt{final=true},\texttt{hidethumbs=false}, and \texttt{verbose=true}.
@@ -115,10 +111,11 @@ Better exclude it from printing\ldots \newline}
\bigskip
-Some thumb mark texts are too large for the thumb mark (especially when the
-paper size and therefore also the thumb mark size is decreased).
-When option \texttt{width=\{autoauto\}} would be used,
+Some thumb mark texts are too large for the thumb mark by intention
+(especially when the paper size and therefore also the thumb mark size
+is decreased). When option \texttt{width=\{autoauto\}} would be used,
the thumb mark width would be automatically increased.
+Please see page~\pageref{HugeText} for details!
\bigskip
@@ -284,9 +281,15 @@ and another.
\textquotedblleft {\Huge{Huge Text}}\textquotedblright\ is too large for
the thumb mark. When option \texttt{width=\{autoauto\}} would be used,
the thumb mark width would be automatically increased. Now the text is
-either split over two lines (use \verb|Huge\\ \ Text| for better format)
+either split over two lines (try \verb|Huge\\ \ Text| for another format)
or (in case \verb|Huge~Text| is used) is written over the border of the
-thumb mark.\label{HugeText}
+thumb mark. When the text is too wide for the thumb mark and cannot
+be split, \LaTeX{} might nevertheless place the text into the next line.
+By this the text is placed too low. Adding a
+\hbox{\verb|\protect\vspace*{-| some lenght \verb|}|} to the text could help,
+for example\\
+\verb|\addthumb{Huge Text}{\protect\vspace*{-3pt}\Huge{Huge~Text}}...|.
+\label{HugeText}
\addthumb{Huge Text}{\Huge{Huge~Text}}{red}{blue}