From 2f2496ce9059c4e8725ecfbacda9ed9e1531c46b Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Sun, 12 Jul 2020 16:24:51 +0100 Subject: [PATCH] Add angled cover --- front-pages/angles.tex | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 front-pages/angles.tex diff --git a/front-pages/angles.tex b/front-pages/angles.tex new file mode 100644 index 0000000..6cf0a92 --- /dev/null +++ b/front-pages/angles.tex @@ -0,0 +1,41 @@ +% Inspired by https://www.reddit.com/r/LaTeX/comments/hov6pw/tikz_cover_page_code_and_link_1st_comment/ + +\documentclass{article} +\usepackage[dvipsnames]{xcolor} +\usepackage{tikz} +\usetikzlibrary{ shapes.geometric } +\usetikzlibrary{calc} +\usepackage{anyfontsize} +\begin{document} +\pagestyle{empty} + +\begin{tikzpicture}[remember picture,overlay] + +%%%%%%%%%%%%%%%%%%%% Background %%%%%%%%%%%%%%%%%%%%%%%% + + \draw[top color=orange!60,bottom color=orange,draw=none] (current page.north west) -- (current + page.north east) -- ($(current page.east)+(0,-7)$) -- cycle; + + \draw[fill=black!70,draw=none] (current page.south east) -- ($(current page.south + west)+(0.25\paperwidth,0)$) -- ($(current page.east)+(0,-3)$) -- cycle; + + %%%%%%%%%%%%%%%%%%%%% Title of the Report %%%%%%%%%%%%%%%%%%%% + % + \node[right,black,minimum width=0.625*\paperwidth,minimum height=3cm, rounded corners] at + ($(current page.north west)+(0,-16)$) { {\fontsize{25}{30} \selectfont \bfseries TITLE OF THE + REPORT} }; + % + %%%%%%%%%%%%%%%%%%%%% Subtitle %%%%%%%%%%%%%%%%%%%% + \node[right,black,minimum width=0.625*\paperwidth,minimum height=2cm, rounded corners] at + ($(current page.north west)+(0,-18)$) { {\huge \textit{Subtitle of the Report}} }; + % + %%%%%%%%%%%%%%%%%%%%% Author Name %%%%%%%%%%%%%%%%%%%% + % + \node[right,black,minimum width=0.625*\paperwidth,minimum height=2cm, rounded corners] at + ($(current page.north west)+(0,-20)$) { + + {\Large \textsc{Author Name}} }; + +\end{tikzpicture} + +\end{document}