修訂. | 358aacf0add0cafa5ef118720b8a04434047cc96 |
---|---|
大小 | 1,888 bytes |
時間 | 2010-07-16 19:54:03 |
作者 | lorenzo |
Log Message | I added a code to generate business cards with an interesting bar code.
|
%compile this document with
% pdflatex -shell-escape new_card.tex , where new_card.tex is the filename.
\documentclass[11pt,a4paper]{memoir}
\setstocksize{55mm}{85mm} % UK Stock size
\setpagecc{55mm}{85mm}{*}
\settypeblocksize{45mm}{75mm}{*}
\setulmargins{5mm}{*}{*}
\setlrmargins{5mm}{*}{*}
\setheadfoot{0.1pt}{0.1pt}
\setheaderspaces{1pt}{*}{*}
\checkandfixthelayout[fixed]
\pagestyle{empty}
\usepackage{pstricks}
\usepackage{pst-barcode}
\usepackage{auto-pst-pdf}
\begin{document}
%\pagecolor[cmyk]{.22,.36,.51,.08}%
\begin{Spacing}{0.75}%
\noindent
\textbf{Lorenzo~Isella~PhD}\\
\rule{75mm}{1mm}\\
\begin{minipage}[t]{30mm}
\vspace{-1mm}%
\begin{pspicture}(30mm,30mm)
% The MECARD format is used to exchange contact information. More information at:
% http://www.nttdocomo.co.jp/english/service/imode/make/content/barcode/function/application/addressbook/index.html
\psbarcode{Lorenzo Isella, email: lorenzo.isella@gmail.com, phone: +39 011 6603090}{eclevel=L width=1.181 height=1.181}{qrcode}
\end{pspicture}
% \begin{pspicture}(30mm,30mm)
% \psbarcode{http://www.dante.de}{eclevel=M}{qrcode}
% \end{pspicture}
\end{minipage}
\hspace{1mm}
\begin{minipage}[t]{42mm}
\vspace{-1mm}%
\begin{flushleft}
{\scriptsize
\begin{Spacing}{1.}%
% \textbf{Research Associate}\\
\textbf{Researcher}\\
ISI Foundation \\ Viale S. Severo 65,
Torino (TO) \\ 10133 Italy.\vspace{9mm}\\
\end{Spacing}
}
{\tiny
\textbf{Email:} lorenzo.isella@isi.it, lorenzo.isella@gmail.com\\
\vspace*{0.1cm}
\textbf{Phone:} +39 011 6603090 \\
\vspace*{2mm}
}
\end{flushleft}
\end{minipage}
\rule{75mm}{1mm}
\end{Spacing}
\end{document}