diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/undolabl/undolabl-example.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/undolabl/undolabl-example.tex | 127 |
1 files changed, 127 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/undolabl/undolabl-example.tex b/Master/texmf-dist/doc/latex/undolabl/undolabl-example.tex new file mode 100644 index 00000000000..240b29ac491 --- /dev/null +++ b/Master/texmf-dist/doc/latex/undolabl/undolabl-example.tex @@ -0,0 +1,127 @@ +%% +%% This is file `undolabl-example.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% undolabl.dtx (with options: `example') +%% +%% This is a generated file. +%% +%% IMPORTANT NOTICE: +%% The usual disclaimers apply: +%% If it doesn't work right that's your problem. +%% (Nevertheless, send an e-mail to the maintainer +%% when you find an error in this package.) +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either +%% version 1.3c of this license or (at your option) any later +%% version. This version of this license is in +%% http://www.latex-project.org/lppl/lppl-1-3c.txt +%% and the latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3c or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% The Current Maintainer of this work is H.-Martin Muench +%% (Martin dot Muench at Uni-Bonn dot de). +%% +%% The main code of this package was invented by Ulrich Diez +%% (eu_angelion@web.de) in 2008 and published on the internet. +%% While Ulrich Diez neither wanted to create a package himself +%% nor have one published under his name, he granted the +%% publication of his code. Therefore: Thanks! +%% +%% This work consists of the main source file undolabl.dtx +%% and the derived files +%% undolabl.sty, undolabl.pdf, undolabl.ins, undolabl.drv, +%% undolabl-example.tex. +%% + +\documentclass[british]{article} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\usepackage{undolabl}[2010/06/03]% v1.0b +%% There are no options for the undolabl package. %% +\usepackage{hyperref}[2010/05/13]% v6.81e; if you want to use nameref +\hypersetup{% + extension=pdf,% + plainpages=false,% + pdfpagelabels=true,% + hyperindex=false,% + pdflang={en},% + pdftitle={undolabl package example},% + pdfauthor={Hans-Martin Muench},% + pdfsubject={Example for the undolabl package},% + pdfkeywords={LaTeX, undolabl, Hans-Martin Muench},% + pdfview=FitH,% + pdfstartview=FitH,% + pdfpagelayout=OneColumn,% + bookmarksopen=true% +} +\makeatletter +%% Code from tcilatex.tex, Macros for Scientific Word and Scientific WorkPlace 5.5 <06 Oct 2005> %% +%% Copyright (C) 2005 Mackichan Software, Inc. %% +%% That macro file is NOT proprietary and may be freely copied and distributed. %% + \def\unit#1{\mathord{\thinspace\rm #1}}% +%% End of code from tcilatex.tex %% +\makeatother +\listfiles +\begin{document} +\pagenumbering{arabic} +\section*{Example for undolabl} + +This example demonstrates the use of package\newline +\textsf{undolabl}, v1.0b as of 2010/06/03 (HMM).\newline +The used options were \texttt{linktextcolour=black}, +\texttt{backgroundcolour=white}, and \texttt{pdfborder={0 0 1}} +(the default ones).\newline +For more details please see the documentation!\newline + +\noindent 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 + +\bigskip + +\section{Test} + +text \label{testlabel}\\ +page-reference: \pageref{testlabel}\\%% -> page 4 +sectional-reference: \ref{testlabel}\\%% -> section 4 +name-reference: \nameref{testlabel}%% -> Still another test + +\newpage + +\section{Another test} + +text \overridelabel{testlabel}\\ +page-reference: \pageref{testlabel}\\%% -> page 4 +sectional-reference: \ref{testlabel}\\%% -> section 4 +name-reference: \nameref{testlabel}%% -> Still another test + +\newpage + +\section{Yet another test} + +text \overridelabel{testlabel}\\ +page-reference: \pageref{testlabel}\\%% -> page 4 +sectional-reference: \ref{testlabel}\\%% -> section 4 +name-reference: \nameref{testlabel}%% -> Still another test + +\newpage + +\section{Still another test} + +text \overridelabel{testlabel}\\ +page-reference: \pageref{testlabel}\\%% -> page 4 +sectional-reference: \ref{testlabel}\\%% -> section 4 +name-reference: \nameref{testlabel}%% -> Still another test + +\end{document} + +\endinput +%% +%% End of file `undolabl-example.tex'. |