\documentclass{article} % version = 3.14 of businesscard.tex 2006 Aug 01 % 2006 Aug 01, 3.14: adjust topmargin to fit A4 paper % 2006 May 14, 3.13: clean up % 2006 May 14, 3.12: test limits of page - 5 per page works! % 2006 May 14, 3.11: proper order of pstricks call % 2006 May 13, 3.10: drop pstcol package, it's old! % 2006 May 13, 3.09: switch from the color to the pstcol package % 2006 May 13, 3.08: new command verticalcards determines number of cards % 2006 May 12, 3.07: more documentation % 2006 May 12, 3.06: cleanup % 2006 May 12, 3.05: rename from workcard.tex to businesscard.tex % 2006 May 12, 3.04: brush up % 2005 Dec 31, 3.03: functional % This is a LaTeX file for creating a business card. % % You just supply a 'guts.tex' and it makes a set of 8 copies per page % that you can cut out. I print it on plain paper and although the % cards are not stiff, people accept them anyway! The advantage is % that one can always print more, one can change them quickly and they % don't cost much. % % With the initial values, businesscard.tex works for both letter and % a4 paper, giving 5 cards vertically and 2 horizontally. % % This file reads a file called 'guts.tex'. % Use \\ between lines of the guts. % You can use graphics too. % % Example name with date: % Tom Schneider \ldots \ldots \ldots \ldots 2005 Sep 7 \\ % (Note: \dotfill might work nicely, I haven't tried it yet.) % % Example to input a file: % \input workurl.tex % % Example vertical space, move down: % \vspace{3pt} \\ % % Example vertical space, move up: % \vspace{-3pt} \\ % % Example graphic: % \rotatebox{0}{\scalebox{0.60}{\includegraphics*{something.eps}}} % % source: % % http://www.ccrnp.ncifcrf.gov/~toms/latex.html#businesscard % % Dr. Thomas D. Schneider % National Institutes of Health % National Cancer Institute % Center for Cancer Research Nanobiology Program % Molecular Information Theory Group % Frederick, Maryland 21702-1201 % toms@ncifcrf.gov % permanent email: toms@alum.mit.edu (use only if first address fails) % http://www.ccrnp.ncifcrf.gov/~toms/ % NOTES % Note: I have inserted '\usepackage{pst-node}' which allows you to % use the powerful PSTricks. If you don't have this package on your % computer you will have to install it or remove the usepackage % command. % % Thanks to Bill Purvis (bil@beeb.net, http://bil.members.beeb.net) % for help with setting up A4 paper. % Out of date since it works for both letter and A4 now: % % If you use A4 paper, you can change the command \verticalcards, % below, to have a value of 5 and you will get 10 copies per page. % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Determine the number of cards vertically % You can set this to 5 for A4 paper to get 10 cards. %\newcommand{\verticalcards}{4} % % This is now 5 per page: \newcommand{\verticalcards}{5} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % LaTeX manual page 163 \textwidth 22.00cm % 21.59cm \textheight 27.94cm % Adjust topmargin to fit both 8-1/2x11 and A4 paper: % \topmargin -0.9in % was -1.0 \topmargin -1.25in % was -1.0 \headheight 0in \headsep 0in % \oddsidemargin -0.35in % ok \oddsidemargin -0.5in % ok fits A4 paper % http://www.ctan.org/tex-archive/graphics/pstricks/doc/pstnews1-14.pdf % or section 3.4 in % http://www.ctan.org/tex-archive/graphics/pstricks/README \usepackage{pstricks} % allows using PSTricks!! Remove if you don't have it. \usepackage{pst-node} % nodes in pst \usepackage{graphics} % \usepackage{color} % see above - it's loaded by pstricks. \pagestyle{empty} % removes page numbers \begin{document} \noindent \setlength{\unitlength}{1in} % \psgrid(0,0)(-20,-20)(20,30) % provide a grid from PSTricks % previous method for 4 vertical per page: % \begin{picture}(8.5,11)(-0.03125,-0.32) % originaly % (-1.9 cm down * 1in/2.54cm = 0.748 in) -0.32 = 1.06 % (-0.5 cm left * 1in/2.54cm = 1.27 in) -0.03 = 1.3 \begin{picture}(8.5,11)(0.0,0.3937) % revised for 5 vertical per page \thicklines % 2 is the number of cards horizontally % \multiput(0,0)(3.7,0.0){2}{ % horizontal (x) motion % revise for minimalist gap between cards 3.5" + gap: \multiput(0,0)(3.54,0.0){2}{ % horizontal (x) motion % numbers for 4 per page: % \multiput(0,0)(0.0,2.15625){\verticalcards}{ % vertical (y) motion % numbers for 5 per page: % \multiput(0,0)(0.0,2.1){\verticalcards}{ % vertical (y) motion % % revise for minimalist gap between cards, 2.0"+gap: \multiput(0,0)(0.0,2.04){\verticalcards}{ % vertical (y) motion \framebox(3.5,2){ % x,y size of box, inches \shortstack[l]{ \input{guts.tex} } % end shortstack } % end makebox } % end multiput } % end multiput \end{picture} \end{document}