From ada308dde2edbbea0509565c54d83e2fc6b9c7d1 Mon Sep 17 00:00:00 2001 From: bernardhanna Date: Tue, 28 Jan 2025 17:18:26 +0000 Subject: [PATCH] latex styles ecit for cert-fix --- resources/latex/excellence-2025.tex | 2 +- resources/latex/excellence_greek-2025.tex | 6 +-- resources/latex/participation.tex | 45 ++++++++-------- resources/latex/participation_greek.tex | 64 ++++++++++------------- 4 files changed, 54 insertions(+), 63 deletions(-) mode change 100755 => 100644 resources/latex/participation.tex mode change 100755 => 100644 resources/latex/participation_greek.tex diff --git a/resources/latex/excellence-2025.tex b/resources/latex/excellence-2025.tex index 36e211a46..62ef0b764 100644 --- a/resources/latex/excellence-2025.tex +++ b/resources/latex/excellence-2025.tex @@ -37,7 +37,7 @@ ~ \begin{center} -\vspace{6.3cm} +\vspace{8.3cm} {\centering\Huge\ \begin{otherlanguage*}{russian} diff --git a/resources/latex/excellence_greek-2025.tex b/resources/latex/excellence_greek-2025.tex index 5eb4833d4..34c96760f 100644 --- a/resources/latex/excellence_greek-2025.tex +++ b/resources/latex/excellence_greek-2025.tex @@ -18,7 +18,6 @@ \DeclareFontFamilySubstitution{T2A}{\rmdefault}{PTSerif-TLF} -\DeclareFontFamilySubstitution{LGR}{\rmdefault}{udidot} \newcommand\BackgroundPic{% \put(0,0){% @@ -38,10 +37,10 @@ ~ \begin{center} -\vspace{6.3cm} +\vspace{8.3cm} {\centering\Huge\ -\begin{otherlanguage*}{greek} +\begin{otherlanguage*}{russian} \textbf{} \end{otherlanguage*} \par} @@ -69,3 +68,4 @@ \end{center} \end{document} + diff --git a/resources/latex/participation.tex b/resources/latex/participation.tex old mode 100755 new mode 100644 index 48f50bf9e..cf40e6369 --- a/resources/latex/participation.tex +++ b/resources/latex/participation.tex @@ -16,58 +16,55 @@ \usepackage{paratype} \usepackage{tgpagella} - \DeclareFontFamilySubstitution{T2A}{\rmdefault}{PTSerif-TLF} - \definecolor{myorange}{RGB}{226, 83, 48} \newcommand\BackgroundPic{% -\put(0,0){% -\parbox[b][\paperheight]{\paperwidth}{% -\vfill -\centering -\includegraphics[width=\paperwidth,height=\paperheight,% -keepaspectratio]{images/participation-certificate-2025.png}% -\vfill + \put(0,0){% + \parbox[b][\paperheight]{\paperwidth}{% + \vfill + \centering + \includegraphics[width=\paperwidth,height=\paperheight,keepaspectratio]{images/participation-certificate-2025.png}% + \vfill }}} - - \begin{document} \AddToShipoutPicture{\BackgroundPic} ~ -\vspace{2.2cm} +\vspace{3.5cm} ~ \begin{center} - -\vspace{5.9cm} - +\vspace{2cm} {\centering\fontsize{36}{48}\selectfont \begin{otherlanguage*}{russian} \textcolor{myorange}{} \end{otherlanguage*} \par} - \begin{table}[h] \footnotesize - \begin{center} -\fontsize{24}{36}\selectfont +\fontsize{24}{31}\selectfont \vspace{1.6cm} \begin{otherlanguage*}{russian} -\textcolor{myorange}{} \end{otherlanguage*} \end{center} \end{table} - +\begin{table}[h] +\vspace{1.6cm} +\begin{center} +\fontsize{24}{31}\selectfont +\textcolor{myorange}{} \end{center} -\vspace{2.2cm} +\end{table} +\end{center} +\vspace{0cm} \begin{center} + \hspace{-0.5cm} \begin{otherlanguage*}{russian} +\vspace{0cm} \textcolor{black}{} \end{otherlanguage*} -%\end{tabular} - \end{center} -\end{document} \ No newline at end of file + +\end{document} diff --git a/resources/latex/participation_greek.tex b/resources/latex/participation_greek.tex old mode 100755 new mode 100644 index 683c643c6..abf733223 --- a/resources/latex/participation_greek.tex +++ b/resources/latex/participation_greek.tex @@ -2,7 +2,8 @@ \usepackage[T2A,LGR,T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[greek,russian,english]{babel} -\usepackage{paratype} +\usepackage{mathpazo} +\renewcommand{\familydefault}{\sfdefault} \usepackage[landscape,a4paper]{geometry} \geometry{verbose,tmargin=0cm,bmargin=0cm,lmargin=3cm,rmargin=3cm} \usepackage{fancybox} @@ -12,65 +13,58 @@ \usepackage{url} \usepackage{eso-pic} \usepackage{textcomp} +\usepackage{paratype} +\usepackage{tgpagella} -% Set up font families -\renewcommand{\rmdefault}{PTSerif-TLF} -\renewcommand{\sfdefault}{PTSans-TLF} -\renewcommand{\ttdefault}{PTMono-TLF} - -% Configure fonts for different languages -\makeatletter -\def\russian@font{\fontfamily{PTSerif-TLF}\selectfont} -\def\greek@font{\fontfamily{PTSerif-TLF}\selectfont} -\makeatother - +\DeclareFontFamilySubstitution{T2A}{\rmdefault}{PTSerif-TLF} \definecolor{myorange}{RGB}{226, 83, 48} \newcommand\BackgroundPic{% -\put(0,0){% -\parbox[b][\paperheight]{\paperwidth}{% -\vfill -\centering -\includegraphics[width=\paperwidth,height=\paperheight,% -keepaspectratio]{images/participation-certificate-2025.png}% -\vfill + \put(0,0){% + \parbox[b][\paperheight]{\paperwidth}{% + \vfill + \centering + \includegraphics[width=\paperwidth,height=\paperheight,keepaspectratio]{images/participation-certificate-2025.png}% + \vfill }}} \begin{document} \AddToShipoutPicture{\BackgroundPic} ~ -\vspace{2.2cm} +\vspace{3.5cm} ~ \begin{center} - -\vspace{5.9cm} - +\vspace{2cm} {\centering\fontsize{36}{48}\selectfont -\begin{otherlanguage*}{} +\begin{otherlanguage*}{russian} \textcolor{myorange}{} \end{otherlanguage*} \par} - \begin{table}[h] \footnotesize - \begin{center} -\fontsize{24}{36}\selectfont +\fontsize{24}{31}\selectfont \vspace{1.6cm} -\begin{otherlanguage*}{} -\textcolor{myorange}{} +\begin{otherlanguage*}{russian} \end{otherlanguage*} \end{center} \end{table} - +\begin{table}[h] +\vspace{1.6cm} +\begin{center} +\fontsize{24}{31}\selectfont +\textcolor{myorange}{} \end{center} -\vspace{2.2cm} +\end{table} +\end{center} +\vspace{0cm} \begin{center} + \hspace{-0.5cm} -\begin{otherlanguage*}{} +\begin{otherlanguage*}{russian} +\vspace{0cm} \textcolor{black}{} \end{otherlanguage*} -%\end{tabular} - \end{center} -\end{document} \ No newline at end of file + +\end{document}