Generalbest way - layout Q

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
kevinyeandel
Posts: 2
Joined: Thu Mar 19, 2009 1:53 am

best way - layout Q

Post by kevinyeandel »

Hi
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}
Many thanks for any tips.
Kevin

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

best way - layout Q

Post by gmedina »

Hi,

I've never designed business cards using LaTeX but the CTAN site lists some packages that could help you:

The TeX Catalogue - Business Cards, Labels and Envelopes.

Edit: I took a quick look to the bizcard package (listed in the link I posted) and I was not very pleased with the results. After a little Google search I found this:

JAMWiki - Business card example (by Jeffrey D. Hein).

The author uses PGF/TikZ to create a template for business cards. I think that you can easily adapt the example according to your needs.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Post Reply