diff options
Diffstat (limited to 'cover.tex')
-rw-r--r-- | cover.tex | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/cover.tex b/cover.tex new file mode 100644 index 0000000..bf8c3bf --- /dev/null +++ b/cover.tex @@ -0,0 +1,39 @@ +% This part depends on your actual environment, Here I am using KOMA script +\makeatletter +\renewcommand{\maketitle}{% + \begin{tikzpicture}[remember picture, overlay] + % Gray boundary + \node (left) at (current page.west) + [rectangle, fill=gray, inner sep=0pt, anchor = west, + minimum width=4cm, minimum height=1\paperheight]{}; + % Red boundary + \node (bottom) at (current page.south) + [rectangle, fill=BrickRed, inner sep=0 pt, anchor=south, + minimum width=1\paperwidth, minimum height=0.5cm]{}; + + % Some additional stuff: + \node [yshift=\paperheight/3] (middle) at (current page.south) + [rectangle, fill=Green, inner sep=0pt, anchor=north west, + minimum height=3cm, minimum width=0.25\paperwidth]{}; + \node [yshift=\paperheight/3] (middle) at (current page.south) + [rectangle, fill=BrickRed, inner sep=0pt, anchor=north east, + minimum height=3cm, minimum width=0.25\paperwidth]{}; + \node [yshift=\paperheight/3] (middle) at (current page.south) + [rectangle, fill=Goldenrod, inner sep=0pt, anchor=south west, + minimum height=3cm, minimum width=0.25\paperwidth]{}; + \node [yshift=\paperheight/3] (middle) at (current page.south) + [rectangle, fill=RoyalBlue, inner sep=0pt, anchor=south east, + minimum height=3cm, minimum width=0.25\paperwidth]{}; + \end{tikzpicture} + \thispagestyle{empty} + \parindent0pt + + \begin{addmargin}{4em} + \vspace{4cm} + {\huge\usekomafont{title} \@title} + + \vspace{2cm} + {\usekomafont{disposition}\Large \@author} + \end{addmargin} +} +\makeatother
\ No newline at end of file |