fix LaTeX object in logo

This commit is contained in:
Marc Wäckerlin
2025-11-11 10:53:12 +01:00
parent a4480da3b9
commit dd330d412c
34 changed files with 330 additions and 96 deletions
+10
View File
@@ -0,0 +1,10 @@
use strict;
use warnings;
use Cwd qw(abs_path);
use File::Basename qw(dirname);
use File::Spec;
my $this_dir = dirname(abs_path(__FILE__));
my $root_rc = File::Spec->catfile($this_dir, '..', '.latexmkrc');
do $root_rc if -e $root_rc;
Binary file not shown.
+1 -1
View File
@@ -8,7 +8,7 @@
\city{Zürich}
\zip{8000}
\country{CH}
\phone{+41 44 123 45 67}
\phone{+41\ 44\ 123\ 45\ 67}
\email{anna@example.ch}
\homepage{example.ch}
\background{yellow!20}
Binary file not shown.
+2 -2
View File
@@ -4,12 +4,12 @@
\type{home}
\givennames{Petra}
\familynames{Test}
\company{Example Company Ltd.}
\company{Example\ Company\ Ltd.}
\street{Bildstrasse\ 99}
\city{Basel}
\zip{4000}
\country{CH}
\phone{+41 61 123 45 67}
\phone{+41\ 61\ 123\ 45\ 67}
\email{petra@example.ch}
\background{background.png}
\logo{photo.png}
Binary file not shown.
+2 -2
View File
@@ -1,6 +1,6 @@
\documentclass[noaddress,textwidth=0.58,qrwidth=0.35,https,fill,iconright,leftalign,hint,icon,textfirst]{businesscard-qrcode}
\phone{+12 34 567 89 00}
\phone{+12\ 34\ 567\ 89\ 00}
\type{home}
\honoricprefix{MSc\ ETH}
\givennames{Marc}
@@ -26,7 +26,7 @@
\city{Irgendwo}
\zip{1001}
\country{Switzerland}
\pgpfingerprint{4C8B 41AF FEC4 ED9D 3AF9 8500 F623 15D0 4D4C 0C62}
\pgpfingerprint{4C8B\ 41AF\ FEC4\ ED9D\ 3AF9\ 8500\ F623\ 15D0\ 4D4C\ 0C62}
\pgpurl{https://pgp.mit.edu/pks/lookup?op=get\&search=0xF62315D04D4C0C62}
%\jabber{\email}
Binary file not shown.
+1 -1
View File
@@ -4,7 +4,7 @@
\givennames{John}
\familynames{Doe}
\extaddr{20/F.,\ One\ Kowloon}
\city{Kowloon Bay}
\city{Kowloon\ Bay}
\street{1\ Wang\ Yuen\ Street}
\country{Hongkong}
\phone{(852)\ 1234-5678}
+5 -2
View File
@@ -8,13 +8,16 @@ EXAMPLES = example \
background-color-example \
background-image-example \
test-country-short \
texstudio_d30266
texstudio_d30266 \
mrw-test
examplesdir = ${docdir}/examples
dist_examples_DATA = $(EXAMPLES:%=%.tex) $(EXAMPLES:%=%.pdf)
%.pdf:%.tex
xelatex -synctex=1 -interaction=nonstopmode $<
TEXINPUTS=..:${srcdir}:$${TEXINPUTS} xelatex -synctex=1 -interaction=nonstopmode $<
CLEANFILES = $(EXAMPLES:%=%.aux) $(EXAMPLES:%=%.pdf) $(EXAMPLES:%=%.log) $(EXAMPLES:%=%.synctex.gz) $(EXAMPLES:%=%.fdb_latexmk) $(EXAMPLES:%=%.fls) $(EXAMPLES:%=%.xdv)
MAINTAINERCLEANFILES = makefile.in
EXTRA_DIST = .latexmkrc
Binary file not shown.
@@ -9,11 +9,11 @@
\zip{8000}
\city{Zürich}
\country{Switzerland}
\phone{+41 44 123 45 67}
\phone{+41\ 44\ 123\ 45\ 67}
\email{peter.muster@example.com}
\pgpfingerprint{4C8B 41AF FEC4 ED9D 3AF9 8500 F623 15D0 4D4C 0C62}
\pgpfingerprint{4C8B\ 41AF\ FEC4\ ED9D\ 3AF9\ 8500\ F623\ 15D0\ 4D4C\ 0C62}
\pgpurl{https://pgp.mit.edu/pks/lookup?op=get\&search=0xF62315D04D4C0C62}
\begin{document}
\drawcard
\end{document}
\end{document}
Binary file not shown.
+1 -1
View File
@@ -14,7 +14,7 @@
\familynames{Muster}
\company{Example\ Company\ AG}
\type{work}
\phone{+41 44 123 45 67}
\phone{+41\ 44\ 123\ 45\ 67}
\email{alex.muster@example.com}
\homepage{example.com}
\github{example}
Binary file not shown.
+4 -4
View File
@@ -2,10 +2,10 @@
\documentclass[qrbgopacity=0.5]{businesscard-qrcode}
\type{home}
%\givennames{Lisa\ Linda}
%\familynames{Döë}
\company{Example\ Company}
\companylogo{company-logo.png}
\givennames{Lìsà\ Lündö}
\familynames{Döë}
\company[logo=company-logo.png,height=4em,hide]{Lorem\ Ipsum}
%\company{Lorem\ Ipsum}
\street{Main\ Street\ 123}
\city{New\ York}
\zip{10001}
Binary file not shown.
+1 -1
View File
@@ -8,7 +8,7 @@
\city{Winterthur}
\zip{8400}
\country{CH}
\phone{+41 52 123 45 67}
\phone{+41\ 52\ 123\ 45\ 67}
\email{max@example.ch}
\logo{photo.png}
\background{background.png}
Binary file not shown.
+1 -1
View File
@@ -10,7 +10,7 @@
\street{Waldstrasse\ 15}
\zip{9876}
\city{Nirgendwo}
\phone{+41 78 654 32 10}
\phone{+41\ 78\ 654\ 32\ 10}
\email{gretchen.huber@example.com}
\begin{document}
Binary file not shown.
+1 -1
View File
@@ -8,7 +8,7 @@
\city{Winterthur}
\zip{8400}
\country{CH}
\phone{+41 52 123 45 67}
\phone{+41\ 52\ 123\ 45\ 67}
\email{max@example.ch}
\begin{document}
Binary file not shown.