Eid Greeting Card

Making Eid Greeting Cards with LaTeX
Q Unconsciously, for Muslims we have entered the final week of the fasting month of Ramadan 1442 H. When it comes to the end of Ramadhan, usually fellow Muslims will send each other Eid greeting cards via social media such as Instagram, Facebook, Twitter and also via messaging applications such as WhatsApp, Telegram, Line, and so on. Currently, there are lots of various kinds of Eid greeting cards circulating, we can choose and download them for free on the internet, of course by including the credit title on the Eid greeting card.
Making Eid Greeting Cards in LaTeX
We can design our own Eid greeting cards according to what we want. In LaTeX, we can use the pgfornament package to frame Eid greetings so that they appear more elegant. Readers certainly still remember how decorate documents with ornaments which I previously wrote about on this blog. We just have to change the ornaments and word choices according to what we want. OK, let’s just discuss how to make Eid greeting cards in LaTeX. The first step is to determine the class of documents and packages needed. In this case I use the document class scartcl.
\documentclass[paper=a4,landscape]{scrartcl}
\areaset{0.9\paperwidth}{0.9\paperheight}
\pagestyle{empty}Next, to make the writing more beautiful, we will use the Calligra font, by first activating the T1 Fontenc package in the preamble.
\usepackage[T1]{fontenc}
\usepackage{calligra}Then we use the pgfornament package, and the TikZ library {calc} to determine the coordinates, via the following command.
\usepackage{pgfornament}
\usetikzlibrary{calc}Manufacturing Steps
Now in the body of the document we write the commands.
\begin{document}
\centering
\begin{tikzpicture}[
every node/.style = {inner sep = 0pt},
pgfornamentstyle/.style = {color = green!50!black,
fill = green!80!black}]
\node [text width = 11cm, outer sep = 1.7cm,
text centered, color = red!90!black] (Greeting)Then, for each corner of the Eid greeting card, an ornament with the code {63} will be installed using the following command.
\foreach \corner/\sym in {north west/none, north east/v,
south west/h, south east/c} {
\node [anchor = \corner] (\corner)
at (Greeting.\corner)
{\pgfornament[width = 2.75cm, symmetry = \sym]{63}};}Next, for the middle right and left of the card, we will give ornaments with the code {9} using the following command.
\path (north west) -- (south west)
node [midway, anchor = east]
{\pgfornament[height = 2cm]{9}}
(north east) -- (south east)
node [midway, anchor = west]
{\pgfornament[height = 2cm,
symmetry = v]{9}};Next, for the top part, an ornament will be given with the code {87} via the following command.
\pgfornamenthline{north west}{north east}{north}{87}And the bottom part is also given the same ornament as the top part, namely an ornament with the code {87} via the following command.
\pgfornamenthline{south west}{south east}{south}{87}And of course in the end we will write greetings for Eid al-Fitr 1442 H, using the following command.
{ \Large \textcolor{blue}{\calligra {Aan Triono dan keluarga mengucapkan :}\\
{Selamat Hari Raya Idul Fitri 1442 H}\\
Taqabbalallahu minna wa minkum,
shiyamanaa wa shiyamakum, kullu 'aamin wa antum bi
khoir, minal 'aidin wal faizin}\\[1ex]Of course, you can change and adapt to your needs any ornaments applied, coloring or greetings given. And finally we will add an ornament below the greeting given via the following command.
\pgfornament[color = red!90!black,
width = 3.5cm]{83}};And don’t forget to close the script by writing the command:
\end{tikzpicture}
\end{document}The final result
The final result of the manuscript that has been written using the steps above looks like in the following image.
That’s a guide on how to make Eid greeting cards in LaTeX. If there are errors, please correct them, and if you have input, please write them here. I hope this is helpful.




