Init the repo

This commit is contained in:
Bashy 2026-03-18 12:46:56 +02:00
commit 0d0a8cd0ab
12 changed files with 297 additions and 0 deletions

0
.gitignore vendored Normal file
View file

BIN
OpenAltRomaniaBlack.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 KiB

BIN
OpenAltRomaniaWhite.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

BIN
background.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

14
data.tex Normal file
View file

@ -0,0 +1,14 @@
\newcommand{\oaLocation}{The Location}
\newcommand{\oaAddress}{Street name 123}
\newcommand{\oaDate}{31st February 2026 at 6PM}
\newcommand{\oaLogoBlack}{OpenAltRomaniaBlack.png}
\newcommand{\oaLogoWhite}{OpenAltRomaniaWhite.png}
\newcommand{\oaBG}{bg.jpg}
\newcommand{\oaAgendaATitle}{\textbf {First Talk}}
\newcommand{\oaAgendaAAuthor}{by Surname Name}
\newcommand{\oaAgendaBTitle}{\textbf {Second Talk}}
\newcommand{\oaAgendaBAuthor}{by Surname Name}
\newcommand{\oaAgendaCTitle}{\textbf {Third Talk}}
\newcommand{\oaAgendaCAuthor}{by Surname Name}

30
openalt.sh Normal file
View file

@ -0,0 +1,30 @@
#!/bin/bash
cat <<EOF
##################################################################
###############[ Script by: @bashynx ]################
##################################################################
#[ DESCRIPTION : Generate graphics for OpenAlt Romania. ]#
#[ Make sure you set up data.tex file before use ]#
##################################################################
EOF
rm *.pdf
echo "Generating social_promo"
xelatex social_promo.tex >> openalt.log
sleep 1
pdftoppm -png -r 600 social_promo.pdf 01_social_promo
echo "Generating social_agenda"
xelatex social_agenda.tex >> openalt.log
sleep 1
pdftoppm -png -r 600 social_agenda.pdf 01_social_agenda
echo "Generating poster"
xelatex poster.tex >> openalt.log
sleep 1
pdftoppm -png -r 600 poster.pdf 01_poster
rm *.aux *.log

BIN
poster.pdf Normal file

Binary file not shown.

62
poster.tex Normal file
View file

@ -0,0 +1,62 @@
\include{data.tex}
\documentclass{article}
\usepackage[a5paper, margin=0cm]{geometry}
\usepackage{graphicx}
\usepackage{xcolor}
\usepackage{fontawesome5}
\usepackage{fontspec}
\pagestyle{empty}
\setmainfont{Open Sans}[
UprightFont = * Light,
BoldFont = * Bold
]
\definecolor{oablue}{HTML}{002B7F}
\definecolor{oared}{HTML}{CE1126}
\definecolor{oayellow}{HTML}{FCD116}
\definecolor{oabgdark}{HTML}{0D1117}
\definecolor{oagray}{HTML}{797979}
\begin{document}
\vspace*{20pt}
\begin{center}
\includegraphics[width=0.7\paperwidth]{\oaLogoBlack}
\end{center}
\vfill
\begin{center}
{\fontsize{34pt}{38pt}\selectfont {\color{oablue}\oaDate}}
\end{center}
\vfill
\begin{center}
{\fontsize{24pt}{28pt}\selectfont \faMapMarker* \textbf {\oaLocation}}
\end{center}
\vspace{-15pt}
\begin{center}
{\fontsize{12pt}{13pt}\selectfont \oaAddress}
\end{center}
\vfill
\begin{center}
{\fontsize{15pt}{18pt}\selectfont Meetup for enthusiasts of {\color{oared} Free and
Open Source technologies} in Cluj-Napoca}
\end{center}
\vfill
\begin{center}
{\color{oagray} {\fontsize{12pt}{20pt}\faGlobe} {\fontsize{14pt}{20pt}\selectfont openalt.ro}}
\end{center}
\end{document}

BIN
social_agenda.pdf Normal file

Binary file not shown.

128
social_agenda.tex Normal file
View file

@ -0,0 +1,128 @@
\include{data.tex}
\documentclass{article}
% 10pt = 0.023 for 150mm %
\usepackage[paperwidth=150mm, paperheight=150mm, margin=0cm]{geometry}
\usepackage{graphicx}
\usepackage{xcolor}
\usepackage{fontawesome5}
\usepackage{fontspec}
\usepackage{tikz}
\pagestyle{empty}
\usepackage{verbatim}
\setmainfont{Open Sans}[
UprightFont = * Light,
BoldFont = * Bold
]
\definecolor{oablue}{HTML}{002B7F}
\definecolor{oared}{HTML}{CE1126}
\definecolor{oayellow}{HTML}{FCD116}
\definecolor{oabgdark}{HTML}{0D1117}
\definecolor{oabglight}{HTML}{E7EBF0}
\definecolor{oagray}{HTML}{565656}
\pagecolor{oabgdark}
\color{white}
\begin{document}
\begin{tikzpicture}[remember picture, overlay]
\fill[oabgdark] (current page.north west) rectangle ([yshift=-0.75\paperheight]current page.north east);
\fill[oabglight] ([yshift=-0.75\paperheight]current page.north west) rectangle (current page.south east);
\node[opacity=0.05] at (current page.center) {
\includegraphics[width=\paperwidth,height=\paperheight]{background.png}
};
\draw[oayellow, line width=0.02\paperheight]
([yshift=-0.75\paperheight]current page.north west) --
([yshift=-0.75\paperheight]current page.north east);
% Top text %
\node at ([yshift=-0.1\paperheight]current page.north) {
{\fontsize{35pt}{38pt}\selectfont \textbf{A G E N D A}}
};
% AGENDA START - 0.2 %
\begin{comment}
% 3 elements
\node at ([yshift=-0.24\paperheight]current page.north) {
{\fontsize{20pt}{22pt}\selectfont \oaAgendaATitle \oaAgendaAAuthor}
};
\node at ([yshift=-0.315\paperheight]current page.north) {
{\fontsize{15pt}{22pt}\selectfont b r e a k}
};
\node at ([yshift=-0.40\paperheight]current page.north) {
{\fontsize{20pt}{22pt}\selectfont \oaAgendaBTitle \oaAgendaBAuthor}
};
\node at ([yshift=-0.475\paperheight]current page.north) {
{\fontsize{15pt}{22pt}\selectfont b r e a k}
};
\node at ([yshift=-0.56\paperheight]current page.north) {
{\fontsize{20pt}{22pt}\selectfont \oaAgendaCTitle \oaAgendaCAuthor}
};
\end{comment}
% 2 elements
\node at ([yshift=-0.25\paperheight]current page.north) {
{\fontsize{25pt}{28pt}\selectfont \oaAgendaATitle}
};
\node at ([yshift=-0.31\paperheight]current page.north) {
{\fontsize{22pt}{28pt}\selectfont \oaAgendaAAuthor}
};
\node at ([yshift=-0.395\paperheight]current page.north) {
{\fontsize{18pt}{22pt}\selectfont b r e a k}
};
\node at ([yshift=-0.48\paperheight]current page.north) {
{\fontsize{25pt}{28pt}\selectfont \oaAgendaBTitle}
};
\node at ([yshift=-0.54\paperheight]current page.north) {
{\fontsize{22pt}{28pt}\selectfont \oaAgendaBAuthor}
};
% AGENDA END - 0.66 %
\node at ([yshift=-0.66\paperheight]current page.north) {
{\fontsize{10pt}{12pt}\selectfont Meetup for enthusiasts of Free and Open Source technologies in Cluj-Napoca}
};
\node at ([yshift=-0.7\paperheight]current page.north) {
\color{oagray} {\fontsize{12pt}{20pt}\faGlobe} {\fontsize{14pt}{20pt}\selectfont openalt.ro}
};
% Bottom text %
\node[xshift=0.12\paperwidth]
at ([yshift=-0.875\paperheight]current page.north west) {
\includegraphics[height=0.2\paperheight]{\oaLogoBlack}
};
\node[anchor=north, xshift=0.61\paperwidth]
at ([yshift=-0.79\paperheight]current page.north west) {
{\color{black}\Huge \oaDate\par}
};
\node[anchor=north, xshift=0.61\paperwidth]
at ([yshift=-0.87\paperheight]current page.north west) {
{\color{black}\LARGE Location: \textbf\oaLocation\par}
};
\node[anchor=north, xshift=0.61\paperwidth]
at ([yshift=-0.92\paperheight]current page.north west) {
{\color{black}\large \oaAddress\par}
};
\end{tikzpicture}
\end{document}

BIN
social_promo.pdf Normal file

Binary file not shown.

63
social_promo.tex Normal file
View file

@ -0,0 +1,63 @@
\include{data.tex}
\documentclass{article}
\usepackage[paperwidth=150mm, paperheight=150mm, margin=0cm]{geometry}
\usepackage{graphicx}
\usepackage{xcolor}
\usepackage{fontawesome5}
\usepackage{fontspec}
\pagestyle{empty}
\setmainfont{Open Sans}[
UprightFont = * Light,
BoldFont = * Bold
]
\definecolor{oablue}{HTML}{002B7F}
\definecolor{oared}{HTML}{CE1126}
\definecolor{oayellow}{HTML}{FCD116}
\definecolor{oabgdark}{HTML}{0D1117}
\definecolor{oagray}{HTML}{565656}
\pagecolor{oabgdark}
\color{white}
\begin{document}
\vspace*{0pt}
\begin{center}
\includegraphics[width=0.6\paperwidth]{\oaLogoWhite}
\end{center}
\vfill
\begin{center}
{\fontsize{34pt}{38pt}\selectfont \oaDate}
\end{center}
\vfill
\begin{center}
{\fontsize{24pt}{28pt}\selectfont {\color{oayellow}\faMapMarker* \textbf{\oaLocation}}}
\end{center}
\vspace{-10pt}
\begin{center}
{\fontsize{12pt}{15pt}\selectfont \oaAddress}
\end{center}
\vfill
\begin{center}
{\fontsize{8pt}{10pt}\selectfont Meetup for enthusiasts of Free and Open Source technologies in Cluj-Napoca}
\end{center}
\vfill
\begin{center}
{\color{oagray} {\fontsize{12pt}{20pt}\faGlobe} {\fontsize{14pt}{20pt}\selectfont openalt.ro}}
\end{center}
\end{document}