-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathqr-example.tex
41 lines (34 loc) · 1.24 KB
/
qr-example.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
% Florian Sihler, 2024
% Licensed under GNU General Public License version 3
% https://opensource.org/licenses/gpl-3.0.html
\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}