diff --git a/r15a_xray/.gitignore b/r15a_xray/.gitignore index 7898cc8..ea156db 100644 --- a/r15a_xray/.gitignore +++ b/r15a_xray/.gitignore @@ -1,2 +1,3 @@ *.bak *.sav +*.png diff --git a/wedding-invitation/.gitignore b/wedding-invitation/.gitignore new file mode 100644 index 0000000..f172a7d --- /dev/null +++ b/wedding-invitation/.gitignore @@ -0,0 +1,2 @@ +*.png +*.xmp diff --git a/wedding-invitation/thiep1.tex b/wedding-invitation/thiep1.tex index c634a5e..3c08ac5 100644 --- a/wedding-invitation/thiep1.tex +++ b/wedding-invitation/thiep1.tex @@ -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}