28 lines
810 B
TeX
28 lines
810 B
TeX
|
|
% Example 1: Photo next to name (default)
|
||
|
|
\documentclass[qreclevel=Q]{businesscard-qrcode}
|
||
|
|
|
||
|
|
% Demonstrates optional photo placement:
|
||
|
|
% - Default: photo appears next to name (auto-scaled to name height)
|
||
|
|
% - Alternative: use photoinqr option to place photo in QR code center (requires qreclevel=H)
|
||
|
|
|
||
|
|
\photo{photo.png}
|
||
|
|
|
||
|
|
% Try alternative placement by uncommenting these lines and commenting out the \documentclass above:
|
||
|
|
% \documentclass[photoinqr,qreclevel=H,qrwidth=0.38,textwidth=0.57]{businesscard-qrcode}
|
||
|
|
|
||
|
|
\givennames{Alex}
|
||
|
|
\familynames{Muster}
|
||
|
|
\additionalnames{Example\ Company\ AG}
|
||
|
|
\type{work}
|
||
|
|
\phone{+41 44 123 45 67}
|
||
|
|
\email{alex.muster@example.com}
|
||
|
|
\homepage{example.com}
|
||
|
|
\github{example}
|
||
|
|
\gitea{git.example.org/example}
|
||
|
|
\city{Zürich}
|
||
|
|
\country{Switzerland}
|
||
|
|
|
||
|
|
\begin{document}
|
||
|
|
\drawcard
|
||
|
|
\end{document}
|