diff --git a/cover.tex b/cover.tex
@@ -1,73 +1,60 @@
% Taken from https://latexdraw.com/tikz-cover-pages-gallery/
-\definecolor{brickred}{rgb}{0.65, 0.16, 0.16}
+\definecolor{mosgreen}{RGB}{29, 135, 17}
% Configure the PDF title and author
-\ifdefined\thesubtitle
-\hypersetup{
- pdftitle={\thetitle -- \thesubtitle},
- pdfauthor={{\theauthor}}
-}
-\else
\hypersetup{
pdftitle={\thetitle},
pdfauthor={\theauthor}
}
-\fi
% The cover itself
\thispagestyle{empty}
\begin{tikzpicture}[remember picture,overlay]
%%%%%%%%%%%%%%%%%%%% Background %%%%%%%%%%%%%%%%%%%%%%%%
- \fill[brickred] (current page.south west) rectangle (current page.north east);
+ \fill[mosgreen] (current page.south west) rectangle (current page.north east);
\foreach \i in {2.5,...,22}
{
- \node[rounded corners,brickred!60,draw,regular polygon,regular polygon sides=6, minimum size=\i cm,ultra thick] at ($(current page.west)+(2.5,-5)$) {} ;
+ \node[rounded corners,mosgreen!60,draw,regular polygon,regular polygon sides=6, minimum size=\i cm,ultra thick] at ($(current page.west)+(2.5,-5)$) {} ;
}
%%%%%%%%%%%%%%%%%%%% Background Polygon %%%%%%%%%%%%%%%%%%%%
\foreach \i in {0.5,...,22}
{
- \node[rounded corners,brickred!60,draw,regular polygon,regular polygon sides=6, minimum size=\i cm,ultra thick] at ($(current page.north west)+(2.5,0)$) {} ;
+ \node[rounded corners,mosgreen!60,draw,regular polygon,regular polygon sides=6, minimum size=\i cm,ultra thick] at ($(current page.north west)+(2.5,0)$) {} ;
}
\foreach \i in {0.5,...,22}
{
- \node[rounded corners,brickred!90,draw,regular polygon,regular polygon sides=6, minimum size=\i cm,ultra thick] at ($(current page.north east)+(0,-9.5)$) {} ;
+ \node[rounded corners,mosgreen!90,draw,regular polygon,regular polygon sides=6, minimum size=\i cm,ultra thick] at ($(current page.north east)+(0,-9.5)$) {} ;
}
\foreach \i in {21,...,6}
{
- \node[brickred!85,rounded corners,draw,regular polygon,regular polygon sides=6, minimum size=\i cm,ultra thick] at ($(current page.south east)+(-0.2,-0.45)$) {} ;
+ \node[mosgreen!85,rounded corners,draw,regular polygon,regular polygon sides=6, minimum size=\i cm,ultra thick] at ($(current page.south east)+(-0.2,-0.45)$) {} ;
}
%%%%%%%%%%%%%%%%%%%% Title of the Report %%%%%%%%%%%%%%%%%%%%
- \node[left,brickred!5,minimum width=0.625*\paperwidth,minimum height=3cm, rounded corners] at ($(current page.north east)+(0,-9.5)$)
+ \node[left,mosgreen!5,minimum width=0.625*\paperwidth,minimum height=3cm, rounded corners, text width=0.5*\paperwidth, align=right] at ($(current page.north east)+(0,-9.5)$)
{
- \fontsize{22}{27} \selectfont \bfseries
+ \baselineskip=30pt
+ \fontsize{22}{27} \selectfont \bfseries \raggedleft
\expandafter\MakeUppercase\expandafter{\thetitle}
+ \par
};
- %%%%%%%%%%%%%%%%%%%% Subtitle %%%%%%%%%%%%%%%%%%%%
- \ifdefined\thesubtitle
- \node[left,brickred!10,minimum width=0.625*\paperwidth,minimum height=2cm, rounded corners] at ($(current page.north east)+(0,-11)$)
- {
- {\huge \textsl{\thesubtitle}}
- };
- \fi
-
%%%%%%%%%%%%%%%%%%%% Author Name %%%%%%%%%%%%%%%%%%%%
- \node[left,brickred!5,minimum width=0.625*\paperwidth,minimum height=2cm, rounded corners] at ($(current page.north east)+(0,-13)$)
+ \node[left,mosgreen!5,minimum width=0.625*\paperwidth,minimum height=2cm, rounded corners] at ($(current page.north east)+(0,-11)$)
{
{\Large \textsc{\theauthor}}
};
%%%%%%%%%%%%%%%%%%%% Year %%%%%%%%%%%%%%%%%%%%
- \node[rounded corners,fill=brickred!70,text=brickred!5,regular polygon,regular polygon sides=6, minimum size=2.5 cm,inner sep=0,ultra thick]
+ \node[rounded corners,fill=mosgreen!70,text=mosgreen!5,regular polygon,regular polygon sides=6, minimum size=2.5 cm,inner sep=0,ultra thick]
at ($(current page.west)+(2.5,-5)$) {\LARGE \bfseries \number \year};
\end{tikzpicture}