summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/uri/uri-example.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/uri/uri-example.tex')
-rw-r--r--Master/texmf-dist/doc/latex/uri/uri-example.tex135
1 files changed, 135 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/uri/uri-example.tex b/Master/texmf-dist/doc/latex/uri/uri-example.tex
new file mode 100644
index 00000000000..a5ae4d0633f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/uri/uri-example.tex
@@ -0,0 +1,135 @@
+%%
+%% This is file `uri-example.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% uri.dtx (with options: `example')
+%%
+%% This is a generated file.
+%%
+%% IMPORTANT NOTICE:
+%% The package takes options.
+%%
+%% 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).
+%%
+%% This work consists of the main source file uri.dtx
+%% and the derived files
+%% uri.sty, uri.pdf, uri.ins, uri.drv,
+%% uri-example.tex.
+%%
+\documentclass{article}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\usepackage{hyperref}[2011/02/07]% v6.82b
+\hypersetup{%
+ extension=pdf,%
+ plainpages=false,%
+ pdfpagelabels=true,%
+ hyperindex=false,%
+ pdflang={en},%
+ pdftitle={uri package example},%
+ pdfauthor={Hans-Martin Muench},%
+ pdfsubject={Example for the uri package},%
+ pdfkeywords={LaTeX, uri, Hans-Martin Muench},%
+ pdfview=Fit,%
+ pdfstartview=Fit,%
+ pdfpagelayout=SinglePage,%
+ bookmarksopen=false%
+}
+\usepackage{uri}[2011/03/04]% v1.0a
+\listfiles
+\begin{document}
+\pagenumbering{arabic}
+
+\section*{Example for uri}
+\markboth{Example for uri}{Example for uri}
+
+This example demonstrates the use of package\newline
+\textsf{uri}, v1.0a as of 2011/03/04 (HMM).\newline
+No options were given, thereby the default options were used.\newline
+For more details please see the documentation!\newline
+
+\bigskip
+
+The \textsf{uri} package allows to hyperlink (with the \textsf{hyperref} package
+of \textsc{Heiko Oberdiek}) uris of type
+\begin{itemize}
+\item[--] arXiv (\url{http://www.arXiv.org/}), e.\,g. \arxiv{0905.0105v2}.
+
+\item[--] ASIN \newline
+(\url{%
+http://www.amazon.co.uk/gp/help/customer/display.html/277-3416785-8259466?ie=UTF8&nodeId=898182}%
+), \newline
+(that one is a good example for using a TINY url: \tinyuri{687j3oh})\newline
+ e.\,g. \asin{0471491039}.
+
+\item[--] DOI (\url{http://www.doi.org/index.html}), e.\,g. \doi{10.1000/182}.
+
+\item[--] HDL (\url{http://www.handle.net/factsheet.html}), e.\,g. \hdl{2128/2486}.
+
+\item[--] NBN (\url{http://nbn-resolving.de/urn:nbn:de:1111-200606309}), \newline
+ e.\,g. \nbn{urn:nbn:de:kobv:83-opus-16928}. (You could also use the option
+ \texttt{nbnpre=URN:NBN:DE:} and then \texttt{\textbackslash nbn\{kobv:83-opus-16928\}}.)
+
+\item[--] PubMed (\url{http://www.ncbi.nlm.nih.gov/pubmed/}), \newline
+ e.\,g. \pubmed{17822909}.
+
+\item[--] OID (\url{http://www.oid-info.com/#oid}), e.\,g. \oid{2.16.840}.
+
+\item[--] TINY (\url{http://tinyurl.com}), e.\,g. \tinyuri{MST19-105603} \newline
+ (uses \texttt{tinyuri} instead of \texttt{tiny}, because that command already existed).
+
+\item[--] TINY with preview, e.\,g. \tinypuri{MST19-105603}.
+
+\item[--] XMPP (\url{http://xmpp.org/about/}), e.\,g. \xmpp{time}.
+\end{itemize}
+
+Additionally some commands are provided by the uri package:
+\begin{itemize}
+\item[--] \texttt{siteurl} similar to the command of the \textsf{doipubmed} package, \newline
+ \citeurl{http://ctan.org/pkg/doipubmed}.
+
+\item[--] \texttt{mailto} for e-mail addresses, e.\,g. \mailto{spam@dante.de}.
+ Adding something like \texttt{?subject=Concerning uri package} after \texttt{mailto:\#\#1}
+ in the style file would even add this subject to (every!) e-mail hyperlink.
+
+\item[--] \texttt{ukoeln} for short University of Cologne (Universit\"{a}t zu K\"{o}ln,
+ U~Koeln; Germany; \url{http://www.pressoffice.uni-koeln.de/}) addresses, \newline
+ e.\,g. \ukoeln{XM492}.
+
+\item[--] \texttt{uref} takes two arguments, the first gives the target of the hyperlink,
+the second gives the text to be displayed for it, e.\,g. information about
+the \uref{http://ctan.org/pkg/pageslts}{pagesLTS} package, similar to \texttt{\textbackslash href}.
+\end{itemize}
+
+\bigskip
+
+Text before (e.\,g. \textsf{DOI:}) and after (well, no example) the uri to be displayed can be
+adapted by the package options.\newline
+
+Even \begin{verbatim} \doi{1.2/3-4(5)6:7<8::A-B9>0.9.C8;7-\654%23!$} \end{verbatim}
+would work (if that DOI would exist):\newline
+\doi{1.2/3-4(5)6:7<8::A-B9>0.9.C8;7-\654%23!$}.
+
+\end{document}
+\endinput
+%%
+%% End of file `uri-example.tex'.