%%%%
%
% LaTeX template for business cards v1.0
%
% Latest version and online documentation:
%   http://www.selftex.de
%
% Author:
%   Peter Koeller <pkoeller@metaprojekt.de>
%
% License:
%   The bundle is placed under the LaTeX Project Public License 
%   (macros/latex/base/lppl.txt on CTAN).
%
%%%%
\documentclass[a4paper,10pt]{letter}
\usepackage[T1]{fontenc}
\RequirePackage[utf8]{inputenc}

% use the option crossmark for test printouts
\usepackage[zw32011,cutmark]{ticket}
%\usepackage[zw32011,boxed]{ticket}

\newcounter{cardsperpage}

% edit if a page holds more than the 10 cards
\setcounter{cardsperpage}{10}

\newif\ifpdf
\ifx\pdfoutput\undefined
        \pdffalse
\else
        \pdfoutput=1
        \pdftrue
\fi
\ifpdf
        \usepackage[pdftex]{graphicx}
        \DeclareGraphicsExtensions{.png,.jpg,.pdf}
\else
        \usepackage{graphicx}
        \DeclareGraphicsExtensions{.eps}
\fi
\usepackage{color}

% define something
\definecolor{uni}{rgb}{0.54,0.615,0.695}
\definecolor{white}{rgb}{1.0,1.0,1.0}
\definecolor{forth}{rgb}{.44,.7,.92}
% make your default ticket. \ticketdefault is somewhat like a background
% here it is empty.
\renewcommand{\ticketdefault}{
}

% the business card itself
\newcommand{\businesscard}[1]{\ticket{
    %\fontfamily{verdana}\selectfont
    %\put( 2, 37){\includegraphics[width=30.2mm,height=12.8mm,origin=tl]{zetex}}

    \put(-1,42){\color{forth}{\rule{87mm}{13mm}}}
    \put(1, 43){\includegraphics[height=10mm,origin=tl]{forth-ev}}
    \put(12, 46){\huge\textbf{Forth-Gesellschaf\kern -2pt t\large{} e.\kern -2pt V\kern-3pt .}}

    \put(42.5, 22){\hbox to 0pt{\hss\Huge\textbf{#1}\hss}}

    \put(-1,-1){\color{forth}{\rule{87mm}{7mm}}}
    \put(35, 2){\hbox to 0pt{\hss\tt www.forth-ev.de~}\textbf{Wir programmieren Forth}}
 }}

% a counter, which makes life easier...
\newcounter{numcards}

\begin{document}
\sffamily

% insert the cards
\businesscard{Bernd Paysan}
\businesscard{Carsten Strotmann}
\businesscard{Ewald Rieger}
\businesscard{Ulrich Hoffmann}
\businesscard{Erich Wälde}
\businesscard{}
\businesscard{}
\businesscard{}
\businesscard{}
\businesscard{}

\end{document}


