Skip to content

Instantly share code, notes, and snippets.

@asvoboda
Created January 21, 2015 22:53
Show Gist options
  • Save asvoboda/cf0c5c75645466c25512 to your computer and use it in GitHub Desktop.
Save asvoboda/cf0c5c75645466c25512 to your computer and use it in GitHub Desktop.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% University Assignment Title Page
% LaTeX Template
% Version 1.0 (27/12/12)
%
% This template has been downloaded from:
% http://www.LaTeXTemplates.com
%
% Original author:
% WikiBooks (http://en.wikibooks.org/wiki/LaTeX/Title_Creation)
%
% License:
% CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)
%
% Instructions for using this template:
% This title page is capable of being compiled as is. This is not useful for
% including it in another document. To do this, you have two options:
%
% 1) Copy/paste everything between \begin{document} and \end{document}
% starting at \begin{titlepage} and paste this into another LaTeX file where you
% want your title page.
% OR
% 2) Remove everything outside the \begin{titlepage} and \end{titlepage} and
% move this file to the same directory as the LaTeX file you wish to add it to.
% Then add \input{./title_page_1.tex} to your LaTeX file where you want your
% title page.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%----------------------------------------------------------------------------------------
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%----------------------------------------------------------------------------------------
\begin{titlepage}
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}} % Defines a new command for the horizontal lines, change thickness here
\center % Center everything on the page
%----------------------------------------------------------------------------------------
% HEADING SECTIONS
%----------------------------------------------------------------------------------------
\textsc{\LARGE University of Waterloo}\\[1.5cm]
\textsc{\Large Faculty of Engineering}\\[0.5cm]
\textsc{\Large Department of Electrical and Computer Engineering}\\[0.5cm]
\textsc{\Large ECE 498A}\\[0.5cm] % Major heading such as course name
%----------------------------------------------------------------------------------------
% TITLE SECTION
%----------------------------------------------------------------------------------------
\HRule \\[1cm]
{ \huge \bfseries project name}\\[0.4cm]
{ \huge \bfseries \titletext}\\[0.4cm] % Title of your document
\HRule \\[1.5cm]
%----------------------------------------------------------------------------------------
% AUTHOR SECTION
%----------------------------------------------------------------------------------------
\Large \emph{Submitted By:}\\
2015.031 \\[1cm]
\newcolumntype{L}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\newcolumntype{R}[1]{>{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\begin{tabular}{R{5cm} L{5cm}}
full name & student #\\
\end{tabular}
\\[1cm]
\emph{Consultant:}\\
consultant\\[1cm]
%----------------------------------------------------------------------------------------
% DATE SECTION
%----------------------------------------------------------------------------------------
{\large \duedate}\\[3cm] % Date, change the \today to a set date if you want to be precise
\vfill % Fill the rest of the page with whitespace
\end{titlepage}
%
%
%
%
%
%
%
%%% END TITLE PAGE
%%% Usage when including in reports
%renews the duedate command to print out the due date for this report
\renewcommand{\titletext}{Detailed Design Document}
\renewcommand{\duedate}{date string}
% Now we will begin writing the document.
\begin{document}
\input{../titlepage.tex}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment