March 3, 2015

Visiting Cards With Latex

I created a simple Latex template for a standard 85x55mm visiting card and some add-ons. The template features the standard elements of a visiting card plus a PGP/GPG fingerprint and some space for an (optional) portrait, logo or QR Code.

Visiting Card

As I wanted to use a specific font not available in MacTeX, I used XeLaTeX. XeLaTeX gives access to fonts installed on the Mac, such as Times New Roman, Arial, Helvetica, etc. The rest of the template is pretty self-explanatory, I think.

If you want to generate a QR Code for the card, maybe a pointer to your home page or the fingerprint of your key, add the desired info into qrcode.txt. Then run vcard.sh which will generate the QRCode, do some conversation and cropping and finally run xelatex to render the entire card to PDF.

The whole package is available on my Github

You need:

  • qrencode (from brew)
  • ps2pdf + ps2pdf (from MacTeX)
  • xelatex (from MacTeX)

© holger 2015 - 2020 |