%% fancyqr.sty %% Copyright 2026 Florian Sihler % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 % of this license or (at your option) any later version. % The latest version of this license is in % https://www.latex-project.org/lppl.txt % and version 1.3c or later is part of all distributions of LaTeX % version 2008 or later. % % This work has the LPPL maintenance status `maintained'. % % The Current Maintainer of this work is Florian Sihler % % This work consists of the example file `qr-example.tex`, alongside the `fancyqr.sty`, the `fancyqr-style-*.code` files and the documentation `fancyqr-doc.tex`. \documentclass{article} \usepackage[T1]{fontenc} \usepackage{fontawesome} \usepackage{fancyqr} % for showcase of random colors \usepackage{pgfmath} \usepackage[prefix=@]{xcolor-material} % to showcase scalebox \usepackage{graphicx} % for the coding font \usepackage{FiraMono} \usepackage[active,tightpage]{preview} % for presentation \setlength\PreviewBorder{15pt} \fancyqrset{size=3.25cm, level=H, padding} \errorcontextlines=9999 \begin{document} \preview \begin{center} % \FancyQrDoNotPrintSquare{8}{9} % \FancyQrHardCut \mbox{\FancyQrLoad{blobs}% \fancyqr[image=\scalebox{2.9}{\faGithub},image padding=1,color=black!90!gray]{https://github.com/EagleoutIce/fancyqr}% \FancyQrLoad{default}% \fancyqr{https://github.com/EagleoutIce/fancyqr}% \FancyQrLoad{dots}% \fancyqr[image={\textsf{\textbf{\textcolor{gray}{fancy}qr}}}, random color={@Red}{@Pink}{@Purple}{@DeepPurple}{@Indigo}{@Blue}{@Cyan}{@Teal}{@Green}{@Amber}{@Orange}{@DeepOrange}{@Brown}]{https://github.com/EagleoutIce/fancyqr}% }\\[4mm] \texttt{\textbackslash \textbf{fancyqr}\{\textcolor{@Grey}{https://github.com/EagleoutIce/fancyqr}\}} \end{center} \endpreview \end{document}