# How to change a card template?

I have a slight problem with a little project I'm working on. I downloaded a template online (from where I'm not exactly sure, since it's been a few months) to make my own business cards. This template is simple: it creates new commands for name, email, phone, etc. and then puts them on the paper, but 8 times over. Thus, it produces 8 cards per sheet. However, I bought some cardstock from the store a few days ago, and didn't notice that the cardstock is cut to produce 10 cards per sheet. So, could anyone possibly look at my template and try to change the code so that it prints 10 cards to a sheet instead of 8? I honestly have no idea how it positions the elements... all I know is how to change the text. Thank you in advance!

My code

Note: my cardstock is designed for 3.5"x2" cards, and it has a 3/4" border on the left/right sides and a 1/2" border on the top and bottom sides. There is no space between cards like in my template (that is, the paper is perforated so that cards are side by side).

-
Welcome to TeX.SE. I am guessing here, but the lines \multiput(0,0)(0,56){4}{ and \multiput(0,0)(95,0){2}{ seem to be something of a 4x2 grid. So you could try changing the first 4 to a 5 to hopefully get a 5x2. – Peter Grill Oct 6 '12 at 6:53
Don't forget to Vote early and often! for answers/questions you find helpful, and also do see How do you accept an answer? – Peter Grill Oct 6 '12 at 7:11
Please always include all relevant code directly here in your question, not with an external hoster! – doncherry Oct 6 '12 at 7:27

Changing the beginning of the picture environment to something such as

\begin{picture}(200,240)(-7,28)% changed last digit to 28
\multiput(0,0)(0,56){5}{% increased from 4 to 5
\multiput(0,0)(95,0){2}{% no change here


looks good on the PDF, but might need tweaking based on your exact card stock.

On the mac I had to use 24 instead of 28 for some reason, to get this image shown below.

## Notes:

• You will most likely need to play with some of these parameters to get it to print precisely for the card stock that you have. The only way to do that is try print this out, and see how close it is with you actual card stock, and reiterate.

## Code:

\documentclass[11pt]{article}

\usepackage{graphicx}
\usepackage{latexsym}
\usepackage{epstopdf}
\usepackage{color}
\usepackage{fontspec}

%\setmainfont[Mapping=tex-text, BoldFont={BentonSansMedium.otf}]{BentonSansBook.otf}

\pagestyle{empty}

\definecolor{purple}{cmyk}{0.82,1.00,0.00,0.12}

\setlength{\textwidth}{8in}
\setlength{\oddsidemargin}{-1in}
\setlength{\evensidemargin}{-1in}
\setlength{\textheight}{10in}
\setlength{\topmargin}{-1in}

%\newcommand{\clogo}{\includegraphics[scale=0.625]{./Logo.jpg}}
\newcommand{\cname}{\textbf{\textcolor{purple}{My Name}}}
\newcommand{\ctitle}{My Position}
\newcommand{\cemail}{myemail@email.com}
\newcommand{\ccontact}{t. 123.456.7890\hspace{4.44 pt}www.website.com}

\begin{document}
\setlength{\unitlength}{1mm}
\begin{picture}(200,240)(-7,28)% changed last digit to 28
\multiput(0,0)(0,56){5}{% increased from 4 to 5
\multiput(0,0)(95,0){2}{% no change here
\begin{picture}(89,51)(0,0)
\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}}
%\put(3,48){\line(1,0){83}}
\put(14.5,27.75){\scriptsize \cname}
\put(14.5,24.5){\scriptsize \ctitle}
\put(14.5,21.25){\scriptsize \cemail}