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.tex27
1 files changed, 20 insertions, 7 deletions
diff --git a/macros/latex/contrib/hvqrurl/doc/hvqrurl.tex b/macros/latex/contrib/hvqrurl/doc/hvqrurl.tex
index 7125c0d723..6f9d96953f 100644
--- a/macros/latex/contrib/hvqrurl/doc/hvqrurl.tex
+++ b/macros/latex/contrib/hvqrurl/doc/hvqrurl.tex
@@ -1,4 +1,4 @@
-%% $Id: hvqrurl.tex 1119 2019-11-30 17:36:28Z herbert $
+%% $Id: hvqrurl.tex 1123 2019-12-01 09:16:34Z herbert $
\listfiles
\errorcontextlines=100
\documentclass[twoside,usegeometry]{scrartcl}
@@ -11,6 +11,7 @@
\usepackage[showframe=false]{geometry}
\usepackage{listings}
+\usepackage{makeidx}\makeindex
%
\lstset{%
language=[LaTeX]TeX,%
@@ -37,7 +38,7 @@
\hypersetup{urlcolor=blue, linktocpage, colorlinks=true}%
\begin{document}
-\title{Package \texttt{hvqrurl}\\Creating a QR-code of an URL in the margin \\\small ver 0.01a}
+\title{Package \texttt{hvqrurl}\\Creating a QR-code of an URL in the margin \\\small ver 0.02}
\author{Herbert Voß\thanks{\protect\url{hvoss@tug.org}}}
\date{\today}
\maketitle
@@ -79,8 +80,8 @@ QR codes not as a link when using \LPack{hyperref}:
\subsection{No link with \LPack{hyperref}}
\begin{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}.
+With qrlink=nolink the QR code is no link: \hvqrurl[qrlink=nolink]{https://mirror.ctan.org/pkg/hvqrurl}.
+The default setting is 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
@@ -93,7 +94,7 @@ the optional argument \Lkeyword{qrcolor}. The package \LPack{xcolor}\hvqrurl*[qr
the reason why an extended color definition is possible. For this example we used
\begin{lstlisting}
-The package \LPack{xcolor}\hvqrurl*[qrcolor=red!40!white]{http://mirror.ctan.org/pkg/xcolor}
+The package xcolor\hvqrurl*[qrcolor=red!40!white]{http://mirror.ctan.org/pkg/xcolor}
is loaded by default, ...
\end{lstlisting}
@@ -105,7 +106,7 @@ to 0pt the QR code \hvqrurl*[qrlink=nolink,qradjust=0pt]{http://ctan.org/} is mo
setting without a vertical adjustment.
\begin{lstlisting}
-The default value of \Lkeyword{qradjust} is \verb|-1.5\normalbaselineskip|. Setting the value
+The default value of qradjust is \verb|-1.5\normalbaselineskip|. Setting the value
to 0pt the QR code \hvqrurl*[qradjust=0pt]{http://ctan.org/} is moved down which is the default
setting without a vertical adjustment.
\end{lstlisting}
@@ -118,7 +119,7 @@ it can be changed by setting \Lkeyword{qrheight} to another value, for example t
This is an exetremely long url where it may make sense to use a larger QR code.
\begin{lstlisting}
-it can be changed by setting \Lkeyword{qrheight} to another value, for example to 2cm:
+it can be changed by setting qrheight to another value, for example to 2cm:
\hvqrurl*[qrheight=2cm]{https://identity.fu-berlin.de/idp-fub/profile/SAML2/Redirect/SSO;jsessionid=71C984647E3B8F2E716CA067CB13387E?execution=e1s1}
This is an exetremely long url where it may make sense to use a larger QR code.
\end{lstlisting}
@@ -144,6 +145,18 @@ level \Lkeyval{H}. In general the user has not to set this keyword it will be
controlled internally by the package.
+\subsection{Inner or outer margin for the QR code}
+By default the QR code is set in the right (oneside document) or outer margin (twoside) of the
+document. This one (\hvqrurl{http://hvoss.org}) is at the default position.
+With the optional argument \Lkeyword{qrreverse} it can be placed in the left or inner margin.
+This one (\hvqrurl[qrreverse]{http://latex.texnik.de}) is in the other margin.
+
+\begin{lstlisting}
+This one (\hvqrurl{http://hvoss.org}) is at the default position.
+With the optional argument \Lkeyword{qrreverse} it can be placed in the left or inner margin.
+This one (\hvqrurl[qrreverse]{http://latex.texnik.de}) is in the other margin.
+\end{lstlisting}
+
\printindex