diff options
author | Karl Berry <karl@freefriends.org> | 2019-12-01 21:36:28 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-12-01 21:36:28 +0000 |
commit | ddd103d4f8b7d833d4c2a76a29b3f327d00f5258 (patch) | |
tree | 2358ad854c42a6ca8966bbbc5fa460376c85d1f7 /Master/texmf-dist/doc/latex/hvqrurl/hvqrurl.tex | |
parent | 1b8ffb778f92fd425f31f02b8443ac0edcb9c143 (diff) |
hvqrurl (1dec19)
git-svn-id: svn://tug.org/texlive/trunk@52993 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/hvqrurl/hvqrurl.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/hvqrurl/hvqrurl.tex | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/Master/texmf-dist/doc/latex/hvqrurl/hvqrurl.tex b/Master/texmf-dist/doc/latex/hvqrurl/hvqrurl.tex index 23196651ec4..7125c0d7232 100644 --- a/Master/texmf-dist/doc/latex/hvqrurl/hvqrurl.tex +++ b/Master/texmf-dist/doc/latex/hvqrurl/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. |