|
|
\documentclass[10pt]{article}
|
|
|
\usepackage[dvips]{graphicx}
|
|
|
\usepackage[utf8]{inputenc}
|
|
|
\usepackage[T1]{fontenc}
|
|
|
\usepackage{xcolor}
|
|
|
\usepackage{tikz}
|
|
|
|
|
|
\usepackage{geometry}
|
|
|
% Default
|
|
|
%\geometry{total={210mm,297mm},hmargin=10mm,vmargin=2mm}
|
|
|
% Letter Size
|
|
|
\geometry{total={21.59cm,27.94cm},hmargin=10mm,vmargin=2mm}
|
|
|
% A4
|
|
|
%\geometry{total={,22.86cm30.48cm},hmargin=10mm,vmargin=2mm}
|
|
|
% %\usepackage[paperwidth=22.86cm, paperheight=30.48cm,dvips=false,pdftex=false,vtex=false]{geometry}
|
|
|
|
|
|
\pagestyle{empty}
|
|
|
|
|
|
\renewcommand\familydefault{\sfdefault}
|
|
|
|
|
|
%%% BUSINESS CARD SIZE
|
|
|
\newlength{\cardw}
|
|
|
\newlength{\cardh}
|
|
|
%% ISO 7810 size: 85.60mm × 53.98mm
|
|
|
%\setlength{\cardw}{85.60mm}
|
|
|
%\setlength{\cardh}{53.98mm}
|
|
|
%% European size: 85mm × 55mm
|
|
|
%\setlength{\cardw}{85mm}
|
|
|
%\setlength{\cardh}{55mm}
|
|
|
%% US size: 3.5 in × 2 in
|
|
|
\setlength{\cardw}{3.5in}
|
|
|
\setlength{\cardh}{2in}
|
|
|
|
|
|
\begin{document}
|
|
|
|
|
|
\begin{tikzpicture}
|
|
|
% card content
|
|
|
\foreach \i in {0,1} \foreach \j in {0,1,2,3,4} {
|
|
|
\node at (\i*\cardw+0.5\cardw,\j*\cardh+0.5\cardh) {\includegraphics[width=1.00\cardw]{bizcard-jeff}};
|
|
|
};
|
|
|
% grid
|
|
|
\foreach \i in {0,1,2,3,4,5} \draw[very thin, gray,dashed] (0,\i*\cardh) -- (2*\cardw,\i*\cardh);
|
|
|
\foreach \j in {0,1,2} \draw[very thin, gray,dashed] (\j*\cardw,0) -- (\j*\cardw,5*\cardh);
|
|
|
\end{tikzpicture}
|
|
|
|
|
|
\end{document}
|