This repository contains templates for students and staff of the University. If you are not a member of the university check the templates as some layouts are copyrighted by the University of Reading (unfortunately). Alternatives are provided, though.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

59 lines
2.5 KiB

\usepackage[top=3.5cm]{geometry}
% This document has been created by Tom Thorne
\usepackage[svgnames]{xcolor}
\usepackage{graphicx}
\usepackage{tikz,pgfpages}
\usepackage[explicit,compact]{titlesec}
\usepackage{fancyhdr}
\pagestyle{fancy}
\usepackage[export]{adjustbox}
\usepackage{wrapfig}
\usetikzlibrary{shadows}
\usetikzlibrary{trees}
\usetikzlibrary{matrix}
\usetikzlibrary{arrows}
\usetikzlibrary{fit}
\usetikzlibrary{shapes}
\usetikzlibrary{decorations.pathmorphing,positioning,decorations.markings}
\usepackage[scaled]{helvet}
\renewcommand\familydefault{\sfdefault}
\usepackage[T1]{fontenc}
\titleformat{\section}{\normalfont\Huge}{\thesection}{0pt}{
\begin{tikzpicture}[remember picture,overlay]
\node[yshift=-3cm] at (current page.north west)
{\begin{tikzpicture}[remember picture, overlay]
\draw[fill=DarkCyan,draw=none] (0,0) rectangle (\paperwidth,3cm);
\node[anchor=west,xshift=.1\paperwidth,yshift=1.5cm,rectangle,inner sep=11pt,draw=none,fill=none] {\color{white}#1};
\end{tikzpicture}};
\end{tikzpicture}
}
\titlespacing*{\section}{0pt}{50pt}{-60pt}
\titleformat{\subsection}{\normalfont\Large}{\thesubsection}{0.0em}{\color{DarkCyan}\textit{#1}}
\titleformat{\subsubsection}{\normalfont\large}{\thesubsubsection}{0.0em}{#1}
\fancyhf{}
\lfoot{\begin{tabular}{@{}c@{}}\color{MidnightBlue}\url{http://www.reading.ac.uk/computer-science}\end{tabular}}
\rfoot{\includegraphics[valign=c,height=0.2in]{images/reading-logo.png}}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0.5pt}
\newcommand{\julian}{\href{https://hps.vi4io.org/}{\color{MidnightBlue}Dr. Julian Kunkel}}
\newcommand{\elly}{\href{https://ellyliang.com/}{\color{MidnightBlue}Dr. Huizhi Liang}}
\newcommand{\tom}{\href{http://www.personal.reading.ac.uk/~tj916602/}{\color{MidnightBlue}Dr. Tom Thorne}}
\newcommand{\fred}{\href{https://fredericstahl.wordpress.com/}{\color{MidnightBlue}Dr. Frederic Stahl}}
\newcommand{\richard}{\href{http://www.personal.reading.ac.uk/~shsmchlr/}{\color{MidnightBlue}Prof. Richard Mitchell}}
\newcommand{\chris}{\href{https://www.metoffice.gov.uk/research/people/christopher-maynard}{\color{MidnightBlue}Dr. Christopher Maynard}}
\newcommand{\bryan}{\href{http://www.bnlawrence.net/}{\color{MidnightBlue}Prof. Bryan Lawrence}}
\newcommand{\hong}{\href{https://www.reading.ac.uk/computer-science/dcs-bio-hong-wei.aspx}{\color{MidnightBlue}Dr. Hong Wei}}
\newcommand{\ruhacksoc}{\href{https://ruhacking.me/}{\color{MidnightBlue}R.U. Hacking society}}