%%
%% The LaTeX Companion, 3ed
%%
%% Example 8-3-17 on page I-612 in "qrcode --- Generating Quick Response codes".
%%
%% Copyright (C) 2022 Frank Mittelbach
%%
%% It 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.
%%
%% See
https://www.latex-project.org/lppl.txt for details.
%%
\documentclass{tlc3exa}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{207.0pt}
%StartShownPreambleCommands
\usepackage{hyperref,qrcode}
%StopShownPreambleCommands
\begin{document}
\qrcode[height=15mm]{
https://latex-project.org/publications}
\qquad\qquad\qquad
\qrcode[height=15mm]{Miss Vane, will you marry me? Or failing that,
will you accompany me to Darley's garage?}
\qquad\qquad\qquad
\qrcode[height=15mm,draft,version=2]{Yes, I will!}
\end{document}