File tex con i miei dati
Hier klicken, um die Datei herunterzuladen
Dateiinhalt
%
% Originally in http://www.debian.org/~jgg/card.tex
% Debian GNU/Linux developer business card template
%
% This template is vaguely based on several similar ones I have
% found elsewhere on the web; it uses a LaTeX ``picture'' environment
% to position the text all around an individual card, and wraps that
% in a bigger ``picture'' which renders 10 cards on the page in a
% layout suitable for printing on Avery pre-punched business card
% stock.
%
% The modified cut marks are aligned outside the actual card. When cutting
% this makes sure that there is no slight black line on the top or the
% bottom of the cards. The best way to cut them is using a cutting wheel
% [looks like a pizza cutter but is extrmely sharp] and a plastic pad. Use
% a rular to guide the cutter. Cut the three vertical divisions first, but
% do not go past the top or bottom of the page. After that cut each card
% horizontally. If you have a sharp cutter you can cut more than one sheet
% at once like this. The prefered type of paper is a heavy paper run through
% a laser in the `straight through' path [usually in the manual feed and
% out the face up tray on the back]
\documentclass[11pt]{article}
\usepackage[dvips]{graphicx}
%
% I personally like the look of the CM fonts, especially compared to
% plain old times/helvetica. Of course, you can select a different
% set of fonts here if you like -- Adobe Myriad looks good on a card,
% and for mixed serif/sans the Stone family hangs together nicely,
% but unfortunately those aren't part of TeX.
%
\usepackage{cmbright}
%
\pagestyle{empty}
%
% Before printing a final copy, you will probably have to tweak these
% values to get the cards to properly line up with the cut marks.
% Avery provides a sizing overlay with their cards; if you're having
% these professionally printed, get the appropriate dimensions from
% your printer [and you might need to adjust the multiput commands
% below!].
%
\setlength{\textwidth}{7in}
\setlength{\hoffset}{0in}
\setlength{\voffset}{0in}
\setlength{\oddsidemargin}{-.8in}
\setlength{\evensidemargin}{-.8in}
\setlength{\textheight}{10in}
\setlength{\topmargin}{-0.87in}
%
% The Debian logo. I bet this would look good stamped in red
% foil. :-) To make this one, I took the original .eps logo with
% text, converted it to xfig format, removed the text, and converted
% it back to .eps again. You can put any other graphic you like
% here, but of course it should be roughly the same proportion as the
% area available on the card.
%
%\newcommand{\logo}{\includegraphics{./swirl.eps}}
% The Bottle version of the logo was created the same as the above, xfig
% removed the debian words. Here is the conversion command:
% fig2dev -L ps -m 0.5 officiallogo.fig bottle.eps
\newcommand{\logo}{\includegraphics{./logo_LUGBZ.eps}}
%
% Text variables for the card. If you want to change how these are
% rendered, see below.
%
\newcommand{\xname}{Daniele Gobbetti}
\newcommand{\xtitle}{Socio Effettivo}
\newcommand{\xaddress}{via Claudia Augusta, 117}
\newcommand{\xaddressb}{I - 39100 Bolzano}
\newcommand{\xphone}{+393475718620}
\newcommand{\xemail}{daniele.gobbetti@lugbz.org}
\newcommand{\xurl}{}
%
% The PGP keys are printed in a tiny little font along the bottom
% edge of the card. If you come up with a better way to fit them in,
% let me know.
%
% You can get the fingerprint by doing : 'pgp -kvc <userid>'
\newcommand{\xpgpkeyidA}{4E4B8422}
\newcommand{\xpgpbitsA}{1024D}
\newcommand{\xpgpfingerprintA}{F1C0 4568 672A 9EB8 9ABF 4A71 34D6 DF9A 4E4B 8422}
\newcommand{\xpgpkeyA}{\xpgpbitsA/\xpgpkeyidA: \xpgpfingerprintA}
% There is room for 3 keys, uncomment the bit below and duplicate the above
\newcommand{\pgpfont}{\tt \fontsize{.08in}{.096in}\selectfont}
%
\begin{document}
\setlength{\unitlength}{1mm}
\begin{picture}(178,253)(-7,-1)
% Vert ticks along the bottom
\put(0,-1){\line(0,-1){3}}
\put(89,-1){\line(0,-1){3}}
\put(179,-1){\line(0,-1){3}}
% Vert ticks along the top
\put(0,255){\line(0,1){3}}
\put(89,255){\line(0,1){3}}
\put(179,255){\line(0,1){3}}
\put(-1,-1){\line(-1,0){3}}
\put(180,-1){\line(1,0){3}}
\multiput(0,0)(0,51.0){5}{%
% Ticks on the side of each card
\put(-1,51){\line(-1,0){3}}
\put(180,51){\line(1,0){3}}
\multiput(0,0)(89,0){2}{%
\begin{picture}(89,51)(0,0)
%
% Line across the top of the card.
%
\put(3,48){\line(1,0){83}}
%
\put(35,42){\large\xname}
\put(35,39){\textsc{\scriptsize\xtitle}}
\put(35,32){\textsf{\scriptsize \xemail}}
\put(35,29){\textsf{\scriptsize \xurl}}
\put(35,22){\scriptsize \xaddress}
\put(35,19){\scriptsize \xaddressb}
\put(35,16){\scriptsize \xphone}
% For Swirl
%\put(5,12){\logo}
% For Bottle
\put(5,12){\logo}
% For one key [1.2x]
\put(5,6){\textsf{\pgpfont \xpgpkeyA}}
% For two keys
%\put(5,8){\textsf{\pgpfont \xpgpkeyA}}
%\put(5,6){\textsf{\pgpfont \xpgpkeyB}}
%\put(5,4){\textsf{\pgpfont \xpgpkeyC}} % For three keys
% Line across the bottom of the card.
%
\put(3,3){\line(1,0){83}}
\end{picture}}}
\end{picture}
\end{document}