summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/hvqrurl/doc/hvqrurl.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/hvqrurl/doc/hvqrurl.tex')
-rw-r--r--macros/latex/contrib/hvqrurl/doc/hvqrurl.tex20
1 files changed, 13 insertions, 7 deletions
diff --git a/macros/latex/contrib/hvqrurl/doc/hvqrurl.tex b/macros/latex/contrib/hvqrurl/doc/hvqrurl.tex
index 23196651ec..7125c0d723 100644
--- a/macros/latex/contrib/hvqrurl/doc/hvqrurl.tex
+++ b/macros/latex/contrib/hvqrurl/doc/hvqrurl.tex
@@ -1,4 +1,4 @@
-%% $Id: hvqrurl.tex 1118 2019-11-29 07:56:18Z herbert $
+%% $Id: hvqrurl.tex 1119 2019-11-30 17:36:28Z herbert $
\listfiles
\errorcontextlines=100
\documentclass[twoside,usegeometry]{scrartcl}
@@ -37,7 +37,7 @@
\hypersetup{urlcolor=blue, linktocpage, colorlinks=true}%
\begin{document}
-\title{Package \texttt{hvqrurl}\\Creating a QR-code of an URL in the margin \\ver 0.01}
+\title{Package \texttt{hvqrurl}\\Creating a QR-code of an URL in the margin \\\small ver 0.01a}
\author{Herbert Voß\thanks{\protect\url{hvoss@tug.org}}}
\date{\today}
\maketitle
@@ -52,13 +52,13 @@ and
\end{abstract}
-\section{The macro}
+\section{The macros}
\begin{BDef}
-\Lcs{hvqrset}\Largb{key=value list}\\
-\Lcs{hvqrurl}\Largb{key=value list}\Largb{URL}\\
-\Lcs{hvqrurl*}\Largb{key=value list}\Largb{URL}
+\Lcs{hvqrset}\Largb{key=value, \ldots}\\
+\Lcs{hvqrurl}\OptArg{key=value, \ldots}\Largb{URL}\\
+\Lcs{hvqrurl*}\OptArg{key=value, \ldots}\Largb{URL}
\end{BDef}
With the default macro \Lcs{hvqrurl} the URL is printed as as QR code into the margin and
@@ -66,6 +66,13 @@ in the the text as usual with the macro \Lcs{url}, for example \hvqrurl{https://
With \LPack{hyperref} you'll get the the same color for the QR code as for the URL link and, of course,
is also a link. This example shows the default setting for a QR code.
+With \Lcs{hvqrset} one can set the optional arguments globally. For example if one do not want all
+QR codes not as a link when using \LPack{hyperref}:
+
+\begin{lstlisting}
+\hvqrset{qrlink=nolink}
+\end{lstlisting}
+
\section{Optional arguments}
@@ -75,7 +82,6 @@ is also a link. This example shows the default setting for a QR code.
With \Lkeyset{qrlink=nolink} the QR code is no link: \hvqrurl[qrlink=nolink]{https://mirror.ctan.org/pkg/hvqrurl}.
The default setting is \Lkeyset{qrlink=link}.
\end{lstlisting}
-
With \Lkeyset{qrlink=nolink} the QR code is no link: \hvqrurl[qrlink=nolink]{https://mirror.ctan.org/pkg/hvqrurl}.
The default setting is \Lkeyset{qrlink=link}. Without using \LPack{hyperref} this optional argument
has no meaning.