This commit is contained in:
2020-02-07 10:57:12 -06:00
parent d22f588bdd
commit 51eed15c4a
3 changed files with 60 additions and 32 deletions

2
wedding-invitation/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
*.png
*.xmp

View File

@@ -10,9 +10,9 @@
\newtoggle{Vietnamese}
\ifdefined\ViFlag
\toggletrue{Vietnamese}
\toggletrue{Vietnamese}
\else
\togglefalse{Vietnamese}
\togglefalse{Vietnamese}
\fi
\usetikzlibrary{fadings}
@@ -26,6 +26,13 @@
\pgfdeclarefading{myfading}{\pgfuseshading{FOne}}
\pgfdeclarehorizontalshading{FTwo}{100bp} {
color(0bp)=(pgftransparent!100);
color(25bp)=(pgftransparent!100);
color(50bp)=(pgftransparent!100);
color(100bp)=(pgftransparent!100)}
\pgfdeclarefading{nofading}{\pgfuseshading{FTwo}}
\setlength\parindent{0pt}
\begin{document}
@@ -66,36 +73,54 @@
}
\vfill
\iftoggle{Vietnamese}{
{\addfontfeatures{Scale=1.4,LetterSpace=5,Color=red}\scshape Bao giờ?}
\textit{%
Chủ Nhật, ngày 1, tháng 3, năm 2020
4\kern.5pt:\kern.5pt00 chiều
}
\medbreak
{\addfontfeatures{Scale=1.4,LetterSpace=5,Color=red}\scshape Ở đâu?}
\textit{%
Trung tâm Tiệc cưới - Hội nghị Âu Cơ,
1A Nguyễn Hữu Cầu, Phường Ngọc Châu,
Thành phố Hải Dương, Hải Dương
}
}{
{\addfontfeatures{Scale=1.4,LetterSpace=5,Color=red}\scshape when?}
\textit{%
March 1\/\rlap{,}\textsuperscript{st} 2020
4\kern.5pt:\kern.5pt00 pm
}
\medbreak
{\addfontfeatures{Scale=1.4,LetterSpace=5,Color=red}\scshape where?}
\textit{%
Auco Convention Center,
1A Nguyen Huu Cau Str, Ngoc Chau Ward
Hai Duong City, Hai Duong
}
\iftoggle{Vietnamese}{
{\addfontfeatures{Scale=1.4,LetterSpace=5,Color=red}\scshape Bao giờ?}
\textit{%
Chủ Nhật, ngày 1, tháng 3, năm 2020
4\kern.5pt:\kern.5pt00 chiều
}
\medbreak
{\addfontfeatures{Scale=1.4,LetterSpace=5,Color=red}\scshape Ở đâu?}
\textit{%
Trung tâm Tiệc cưới - Hội nghị Âu Cơ,
1A Nguyễn Hữu Cầu, Phường Ngọc Châu,
Thành phố Hải Dương, Hải Dương
}
}{
{\addfontfeatures{Scale=1.4,LetterSpace=5,Color=red}\scshape when?}
\textit{%
March 1\/\rlap{,}\textsuperscript{st} 2020
4\kern.5pt:\kern.5pt00 pm
}
\medbreak
{\addfontfeatures{Scale=1.4,LetterSpace=5,Color=red}\scshape where?}
\textit{%
Auco Convention Center,
1A Nguyen Huu Cau Str, Ngoc Chau Ward
Hai Duong City, Hai Duong
}
}
% \newpage
% {\addfontfeatures{Scale=1.4,LetterSpace=5,Color=red}\scshape
% \iftoggle{Vietnamese}{Chỉ dẫn}{Direction}
% }
% \medbreak
% \begin{tikzpicture}[scale=1, transform shape]
% \node[anchor=center,inner sep=0pt] (map) at (current page.east) {\includegraphics[width=\linewidth]{map}};
% \fill[white,path fading=nofading] (map.north west) rectangle (map.south east);
% \iftoggle{Vietnamese}{
% \node[anchor=south west, inner sep=0pt] (qrEvent_vi) at (map.south west) {\includegraphics[height=3.5cm]{qrEvent_vi}};
% }{
% \node[anchor=south west, inner sep=0pt] (qrEvent_en) at (map.south west) {\includegraphics[height=3.5cm]{qrEvent_en}};
% }
% \end{tikzpicture}
\end{document}