The Widmann Blog: May: 2009

Calendar

May 2009
S M T W T F S
« Apr   Jun »
 12
3456789
10111213141516
17181920212223
24252627282930
31  

Other Blogs

What’s the equivalent of an MP?

The excuse many MPs have given for abusing the expenses system is that their salary (£65k a year) is far too low compared to equivalent jobs.It seems that they think they're doing the equivalent of a medical doctor or a lawyer, which means that they think they should be earning more than £100k a year.But is that reasonable? There are...

How to make business cards in LaTeX



My business card
Originally uploaded by viralbus

When we set up our company, we needed some business cards.

VistaPrint will make business cards from a PDF file made according to the following specifications: “Full Bleed Size: 90mm x 52mm; Document Trim Size: 87mm x 49mm”.

I prefer doing typography in LaTeX, so I just needed to set this up properly.

I had a few problems with the margins, but with some help from DK-TUG‘s mailing list, I came up with the following:

\documentclass[11pt,a4paper]{memoir}
\setstocksize{52mm}{90mm}
\setpagecc{49mm}{87mm}{*}
\settypeblocksize{43mm}{81mm}{*}
\setulmargins{3mm}{*}{*}
\setlrmargins{3mm}{*}{*}
\setheadfoot{0.1pt}{0.1pt}
\setheaderspaces{1pt}{*}{*}
\checkandfixthelayout[fixed]
\pagestyle{empty}
\usepackage{color}
\begin{document}
\pagecolor[cmyk]{...}
...
\end{document}

The “[fixed]” option is very important here, but it is only available in the newest versions of memoir, so you might need to upgrade this package if you have problems getting it to work.

After designing the actual business card, I ran it through pdflatex and uploaded the resulting file to VistaPrint, and it worked beautifully, as can be seen on the photo.

Wordpress theme designed by Complexli Limited.