Add angled cover

master
Jonathan Hodgson 4 years ago
parent fe7f15a5ef
commit 2f2496ce90
  1. 41
      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}
Loading…
Cancel
Save