%
%  PLF terrorist business card template
%  based on Debian GNU/Linux developer business card template
%  $I$
%
%  This template is vaguely based on several similar ones I have
%  found elsewhere on the web; it uses a LaTeX ``picture'' environment
%  to position the text all around an individual card, and wraps that
%  in a bigger ``picture'' which renders 10 cards on the page in a
%  layout suitable for printing on Avery pre-punched business card
%  stock.
%
\documentclass[11pt]{article}
\usepackage[dvips]{graphicx}
%
%  I personally like the look of the CM fonts, especially compared to
%  plain old times/helvetica.  Of course, you can select a different
%  set of fonts here if you like -- Adobe Myriad looks good on a card,
%  and for mixed serif/sans the Stone family hangs together nicely,
%  but unfortunately those aren't part of TeX.
%
%\usepackage{times}
%
\pagestyle{empty}
%
%  Before printing a final copy, you will probably have to tweak these
%  values to get the cards to properly line up with the cut marks.
%  Avery provides a sizing overlay with their cards; if you're having
%  these professionally printed, get the appropriate dimensions from
%  your printer [and you might need to adjust the multiput commands
%  below!].
 %
\setlength{\textwidth}{7in}
\setlength{\hoffset}{-0.05in}
\setlength{\voffset}{.3125in}
\setlength{\oddsidemargin}{-.8in}
\setlength{\evensidemargin}{-.8in}
\setlength{\textheight}{10in}
\setlength{\topmargin}{-0.87in}
%
%  The Debian logo.  I bet this would look good stamped in red
%  foil. :-) To make this one, I took the original .eps logo with
%  text, converted it to xfig format, removed the text, and converted
%  it back to .eps again.  You can put any other graphic you like
%  here, but of course it should be roughly the same proportion as the
%  area available on the card.
%
\newcommand{\logo}{\resizebox{1in}{!}{\includegraphics{./plf.eps}}}
%
%  Text variables for the card.  If you want to change how these are
%  rendered, see below.
%
\newcommand{\xproject}{Penguin Liberation Front}
\newcommand{\xurl}{http://plf.zarb.org}
\newcommand{\xname}{Guillaume Rousse}
\newcommand{\xtitle}{Evil genius}
\newcommand{\xemail}{guillomovitch@zarb.org}
\newcommand{\xnick}{guillomovitch}
%
%  The PGP keys are printed in a tiny little font along the bottom
%  edge of the card.  If you come up with a better way to fit them in,
%  let me know.
%
\newcommand{\xgnupgkeyid}{26636590}
\newcommand{\xgnupgbits}{1024D}
\newcommand{\xgnupgfingerprint}{0274 5F95 1FB1 6BF8 DBFB  8B8E 6927 CA8B 2663 6590}
\newcommand{\xgnupgkey}{\texttt{\xgnupgbits/\xgnupgkeyid: \xgnupgfingerprint}}
%
\begin{document}
\setlength{\unitlength}{1mm}
\begin{picture}(178,253)(-7,-1)
  \multiput(0,0)(0,51.0){5}{%
    \multiput(0,0)(89,0){2}{%
      \begin{picture}(89,51)(0,0)
	%
	%  Uncomment these four lines, and the ones below, to print
	%  cut marks between the cards.
	%
        \put(0,52){\line(0,1){3}}
        \put(-1,51){\line(-1,0){3}}
        \put(89,52){\line(0,1){3}}
        \put(90,51){\line(1,0){3}}
	%
	%  Line across the top of the card.
	%
        \put(3,48){\line(1,0){83}}
	%
	%  Project stuff
	%
	\put(3,20){\logo}
        \put(30,42){\textbf{\large\xproject}}
        \put(45,38){\texttt{\scriptsize\xurl}}
	%
	%  Personal stuff
	%
        \put(30,30){\textsf{\large\xname}}
        \put(30,24){\textsc{\normalsize\xtitle}}
	\put(30,18){\textsf{\scriptsize E-Mail:}}
        \put(50,18){\texttt{\scriptsize\xemail}}
	\put(30,15){\textsf{\scriptsize IRC nick:}}
        \put(63.5,15){\texttt{\scriptsize \xnick}}
        \put(5,5){\textsf{\tiny \xgnupgkey}}
	%
	%  Line across the bottom of the card.
	%
        \put(3,3){\line(1,0){83}}
	%
	%  Uncomment to print cut marks.
	%
        \put(0,-1){\line(0,-1){3}}
        \put(-1,0){\line(-1,0){3}}
        \put(89,-1){\line(0,-1){3}}
        \put(90,0){\line(1,0){3}}
      \end{picture}}}
\end{picture}
\end{document}
