I'm using the block of computer-generated tex to produce a business card.
What I need to do is be able to generate an A4 page full of that business cards e.g. 2 across x 5 down so there are 10 on a page for guillotining.
This means effectively reproducing the code below 10 times.
I'm looking for the best way to do this. Is there a way to reference this block of tex (like a macro) and include in a tabular or should I use minipage or some other means? I think the problem is I don't know how to reuse a block of tex multiple times.
Code: Select all
\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}
\usepackage[pdftex]{graphicx}
\definecolor{ifcblue}{RGB}{0,0,249}
\begin{document}
\begin{figure}[t]
\vspace{-8pt}
\hspace{120pt}
\includegraphics [width=120pt] {ifc2.png}
\end{figure}
\color{ifcblue}
\begin{center}
\LARGE\emph{Franchisee Name}\\
\normalsize
\textbf{Regional Manager}\\
(Geo Area)\\
\end{center}
\begin{tabular}{ r l }
\textbf{Mobile} & 078 000000000 \\
\textbf{Email} & first.last@example.com\\
\textbf{Website} & www.example.com\
\end{tabular}
\end{document}
Kevin