Revision | a7ca6d2955c4e21165c43638900b1d58b0a885d9 (tree) |
---|---|
Zeit | 2021-11-10 18:00:38 |
Autor | Lorenzo Isella <lorenzo.isella@gmai...> |
Commiter | Lorenzo Isella |
A small script to create a QR code.
@@ -0,0 +1,67 @@ | ||
1 | +%compile this document with | |
2 | +% pdflatex -shell-escape new_card.tex , where new_card.tex is the filename. | |
3 | + | |
4 | + | |
5 | +\documentclass[11pt,a4paper]{memoir} | |
6 | + | |
7 | +%% \setstocksize{55mm}{85mm} % UK Stock size | |
8 | +%% \setpagecc{55mm}{85mm}{*} | |
9 | +%% \settypeblocksize{45mm}{75mm}{*} | |
10 | +%% \setulmargins{5mm}{*}{*} | |
11 | +%% \setlrmargins{5mm}{*}{*} | |
12 | + | |
13 | +%% \setheadfoot{0.1pt}{0.1pt} | |
14 | +%% \setheaderspaces{1pt}{*}{*} | |
15 | +%% \checkandfixthelayout[fixed] | |
16 | + | |
17 | +\pagestyle{empty} | |
18 | + | |
19 | +\usepackage{pstricks} | |
20 | + | |
21 | +\usepackage{pst-barcode} | |
22 | + | |
23 | + | |
24 | +\usepackage{auto-pst-pdf} | |
25 | + | |
26 | +\begin{document} | |
27 | + %\pagecolor[cmyk]{.22,.36,.51,.08}% | |
28 | + %% \begin{Spacing}{0.75}% | |
29 | + %% \noindent | |
30 | + %% \textbf{Lorenzo~Isella~PhD}\\ | |
31 | + %% \rule{75mm}{1mm}\\ | |
32 | + %% \begin{minipage}[t]{30mm} | |
33 | + %% \vspace{-1mm}% | |
34 | + \begin{pspicture}(80mm,80mm) | |
35 | + % The MECARD format is used to exchange contact information. More information at: | |
36 | + % http://www.nttdocomo.co.jp/english/service/imode/make/content/barcode/function/application/addressbook/index.html | |
37 | +\psbarcode{www.etsy.com/shop/IsolaAuraHome}{eclevel=L width=1.181 height=1.181}{qrcode} | |
38 | + \end{pspicture} | |
39 | + | |
40 | +%% % \begin{pspicture}(30mm,30mm) | |
41 | +%% % \psbarcode{http://www.dante.de}{eclevel=M}{qrcode} | |
42 | +%% % \end{pspicture} | |
43 | + | |
44 | +%% %% \end{minipage} | |
45 | +%% \hspace{1mm} | |
46 | +%% \begin{minipage}[t]{42mm} | |
47 | +%% \vspace{-1mm}% | |
48 | +%% \begin{flushleft} | |
49 | +%% {\scriptsize | |
50 | +%% \begin{Spacing}{1.}% | |
51 | +%% % \textbf{Research Associate}\\ | |
52 | +%% %% \textbf{Researcher}\\ | |
53 | +%% %% ISI Foundation \\ Viale S. Severo 65, | |
54 | +%% %% Torino (TO) \\ 10133 Italy.\vspace{9mm}\\ | |
55 | +%% \end{Spacing} | |
56 | +%% } | |
57 | +%% {\tiny | |
58 | +%% %% \textbf{Email:} lorenzo.isella@isi.it, lorenzo.isella@gmail.com\\ | |
59 | +%% %% \vspace*{0.1cm} | |
60 | +%% %% \textbf{Phone:} +39 011 6603090 \\ | |
61 | +%% \vspace*{2mm} | |
62 | +%% } | |
63 | +%% \end{flushleft} | |
64 | +%% \end{minipage} | |
65 | +%% %% \rule{75mm}{1mm} | |
66 | +%% %% \end{Spacing} | |
67 | +\end{document} |