% bus_card.tex, Brian Moses [moses@ms.uky.edu], October '95
% further modified by Charles Danforth [danforth@pha.jhu.edu], January 2000
% More modifying by John Vernaleo [vernaleo@astro.umd.edu] August 2007
% More modifying by John Vernaleo [john@netpurgatory.com] May 2008
% I got the original copy from:
% http://casa.colorado.edu/~danforth/comp/cardtex.html

\documentclass{article}
\usepackage{graphicx}
\usepackage{url}
%%%%%%%%%%%%%%%%%%%%% DEFINE USER SPECIFIC MACROS BELOW %%%%%%%%%%%%%%%%%%%%%
\def\Who     {}
\def\What    {}
\def\Where   {}
\def\Address {}
\def\CityZip {}
\def\Email   {}
\def\TEL     {}
\def\FAX     {}
\urldef{\WEB}\url{}
\def\logo    {}
\def\logosize {2.5in}

%I put all the above info for me and beth in seperate files, but you
%can just fill in the info above.
%\include{john}
\include{beth}

%\newcommand{\border}{\makebox}  %Use this for no frame
\newcommand{\border}{\framebox} %Use this for visable border for testing
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% MARGINS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setlength{\unitlength}{1in}%
\textwidth       8.00in
\textheight     11.00in
\itemindent      0.00in
\parindent       0.00in
\def\lstart{0.0in}

%%%%%%%%%%%%%%%%%%%%Use this block to line up cards with you paper%%%%%%%%%%
%Modify this to move whole thing left or right.
\oddsidemargin   -.31in
%Modify this to move whole up and down.
\topmargin      -1.0in
%This is the size of each card.
\def\cwidth{3.6}
\def\cheight{2.1}
%These are multiples of cheight that are needed for positioning,
\def\cheighttwo{4.2}
\def\cheightthree{6.3}
\def\cheightfour{8.4}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%Unless your logo is a very different size, you should never need
%to modify anything below this line.

%%%%%%%%%%%%%%%%%%%%% BUSINESS CARD MACRO [\card] BELOW %%%%%%%%%%%%%%%%%%%%
\def\card{\begin{tabular}{c}

          \includegraphics[width=\logosize]{\logo}

          \vspace{0.10in}\\
          \hspace*{\lstart}{\Large      \Who}\vspace{0.05in}\\
          \hspace*{\lstart}{\normalsize \What}\vspace{0.05in}\\
          \rule[-2ex]{0ex}{2ex}

          \small%
          \begin{tabular}[b]{lr}
          \hspace*{\lstart}\Where & {\footnotesize Tel}: \TEL\\
          \hspace*{\lstart}\Address & {\footnotesize Fax}: \FAX\\
          \hspace*{\lstart}\CityZip & \Email\\
          \end{tabular}\\

          \hspace*{\lstart} \WEB%

          \end{tabular}}%

%%%%%%%%%%%%%%%%%%%%%%%%%%%% BEGIN DOCUMENT %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\pagestyle{empty}
\begin{document}
\typeout{card.tex, by Brian Moses, August07 version, jcv}
\begin{picture}(8.0,11)%
\multiput(0.0,\cheightfour)(\cwidth,0){2}{\border(\cwidth,\cheight){\card}}
\multiput(0.0,\cheightthree)(\cwidth,0){2}{\border(\cwidth,\cheight){\card}}
\multiput(0.0,\cheighttwo)(\cwidth,0){2}{\border(\cwidth,\cheight){\card}}
\multiput(0.0,\cheight)(\cwidth,0){2}{\border(\cwidth,\cheight){\card}}
\multiput(0.0,0.0)(\cwidth,0){2}{\border(\cwidth,\cheight){\card}}
\end{picture}
\end{document}
