82 lines
2.1 KiB
TeX
82 lines
2.1 KiB
TeX
\documentclass{article}
|
|
\pagestyle{empty}
|
|
\usepackage{geometry,fontspec,tikz}
|
|
\geometry{a6paper,landscape,hmargin={1cm,1cm},vmargin={1cm,1cm}}
|
|
\usepackage[utf8]{inputenc}
|
|
\usepackage[T1]{fontenc}
|
|
\usepackage{ebgaramond}
|
|
|
|
\usepackage{pstricks}
|
|
\usepackage{pst-barcode}
|
|
\usepackage{graphicx}
|
|
|
|
|
|
\usetikzlibrary{fadings}
|
|
% \tikzfading[name=fade right, left color=transparent!0, right color=transparent!100]
|
|
% \tikzfading[name=fade in, inner color=transparent!200, outer color=transparent!0]
|
|
|
|
\pgfdeclarehorizontalshading{FOne}{100bp} {
|
|
color(0bp)=(pgftransparent!0);
|
|
color(25bp)=(pgftransparent!0);
|
|
color(50bp)=(pgftransparent!80);
|
|
color(100bp)=(pgftransparent!100)}
|
|
|
|
\pgfdeclarefading{myfading}{\pgfuseshading{FOne}}
|
|
|
|
\setlength\parindent{0pt}
|
|
|
|
\begin{document}
|
|
\begin{tikzpicture}[overlay,remember picture]
|
|
\node[anchor=east,inner sep=0pt] (pic) at (current page.east)
|
|
{\includegraphics[height=\pdfpageheight]{GAO_9361_01}};
|
|
% \fill[white,path fading=fade right] (pic.north west) rectangle (pic.south east);
|
|
\fill[white,path fading=myfading] (pic.north west) rectangle (pic.south east);
|
|
\coordinate (pin) at (12,-2.5);
|
|
% \filldraw[ultra thick,draw=red,fill=red!50] (pin) -- ++(70:.5) arc (-20:200:.18) -- cycle;
|
|
% \path (pin) -- ++(0,.5) node[draw,fill,red,circle,inner sep=1pt] {};
|
|
\end{tikzpicture}%
|
|
|
|
\obeylines%
|
|
{\addfontfeatures{Scale=2.8,LetterSpace=9} INVITATION}
|
|
|
|
\bigbreak
|
|
\textit{%
|
|
Dear friend,
|
|
|
|
We'd love to invite you to our wedding reception.
|
|
|
|
Sincerly,
|
|
|
|
Nam and Huong
|
|
}
|
|
|
|
% \vfill
|
|
{\addfontfeatures{Scale=1.4,LetterSpace=5}\scshape when?}
|
|
\textit{%
|
|
March 1\/\rlap{,}\textsuperscript{st} 2020
|
|
4\kern.5pt:\kern.5pt00 pm
|
|
}
|
|
\medbreak
|
|
{\addfontfeatures{Scale=1.4,LetterSpace=5}\scshape where?}
|
|
\textit{%
|
|
Auco Convention Center,
|
|
|
|
1A Nguyen Huu Cau Str, Ngoc Chau Ward
|
|
|
|
Hai Duong City, Hai Duong
|
|
}
|
|
|
|
\begin{pspicture}(2in,2in)
|
|
\psbarcode{BEGIN:VCALENDAR^^J%
|
|
VERSION:2.0^^J%
|
|
BEGIN:VEVENT^^J%
|
|
SUMMARY:Wedding Nam-Huong^^J%
|
|
LOCATION:Auco Convention Center, Haiduong, Haiduong^^J%
|
|
DTSTART;TZID=Asia/Saigon:20200301T160000^^J%
|
|
END:VEVENT^^J%
|
|
END:VCALENDAR}
|
|
{qrcode}
|
|
\end{pspicture}
|
|
|
|
\end{document}
|