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 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143
|
# businesscard-qrcode class
# Matthew Bertucci 2/12/2022 for v1.2
#include:kvoptions
#include:class-extarticle
#include:marvosym
#include:fontawesome
#include:qrcode
#include:etoolbox
#include:DejaVuSans
#include:fontenc
# loads T1 option of fontenc
#include:wrapfig
#include:geometry
#include:varwidth
#include:calc
#include:crop
#keyvals:\documentclass/businesscard-qrcode#c
paperwidth=##L
paperheight=##L
contentwidth=##L
contentheight=##L
fontsize=##L
padding=##L
cutdist=%<number%>
cutlen=%<number%>
textwidth=%<factor%>
qrwidth=%<factor%>
lang=%<lang prefix%>
address#true,false
noaddress
hint#true,false
nohint
icon#true,false
noicon
rightalign#true,false
leftalign
iconleft#true,false
iconright
fill#true,false
nofill
qrfirst#true,false
textfirst
https#true,false
www
#endkeyvals
\content
\papersize
\padding
\border
\cutlen
\textpercents
\imagepercents
\lang
\protdisplay
\protprefix
\printaddress
\registerData{data type}#*
\type{type}
\givennames{given names}
\familynames{family names}
\honoricprefix{prefix}
\honoricsuffix{suffix}
\additionalnames{names}
\pobox{PO box}
\extaddr{address extension}
\street{street}
\city{city}
\region{region}
\zip{ZIP code}
\country{country}
\phone{phone number}
\email{email%URL}#U
\jabber{jabber address%URL}#U
\matrixorg{matrix address%URL}#U
\cloud{nextcloud ID%URL}#U
\homepage{URL}#U
\wordpress{URL}#U
\drupal{URL}#U
\joomla{URL}#U
\wikipedia{page name%URL}#U
\link{URL}#U
\world{URL}#U
\git{URL}#U
\gitea{URL}#U
\github{account name%URL}#U
\facebook{account name%URL}#U
\twitter{account name%URL}#U
\youtube{account name%URL}#U
\google{account name%URL}#U
\pgpurl{URL}#U
\pgpfingerprint{fingerprint%URL}#U
\enforceright#*
\exec{csname}#*
\insa{csname1}{csname2}#*
\insa[text%plain]{csname1}{csname2}#*
\ifexists{csname}{code}#*
\ifboth{csname1}{csname2}{code}#*
\ifany{csname1}{csname2}{code}#*
\cond{csname}#*
\heightscale#*
\name#*
\vcard#*
\address#*
\inserttext#*
\insertqrcode#*
\insertname#*
\drawcard
\tl#*
\tr#*
\bl#*
\br#*
# from T1 option of fontenc
\DH#n
\NG#n
\dj#n
\ng#n
\k{arg}#n
\guillemotleft#*n
\guillemotright#*n
\guilsinglleft#n
\guilsinglright#n
\quotedblbase#n
\quotesinglbase#n
\textquotedbl#n
\DJ#n
\th#n
\TH#n
\dh#n
\Hwithstroke#*n
\hwithstroke#*n
\textogonekcentered{arg}#*n
\guillemetleft#n
\guillemetright#n
|