Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
6047CEM_LaTeX_Template/6047cem_report_template.tex
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
204 lines (168 sloc)
6.6 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{report} | |
% Sets paper size to A4 and the margin sizes. | |
\usepackage[a4paper, | |
left=1.5in, | |
right=1in, | |
top=1in, | |
right=1in]{geometry} | |
% Changes the font of the document | |
\renewcommand{\familydefault}{\sfdefault} | |
% Allows the student to use images in their report | |
\usepackage{graphicx} | |
% Allows the student to use headers and footers in their report | |
\usepackage{fancyhdr} | |
% Allows the student to use tables in their report | |
\usepackage{tabularx} | |
% Allows colours to be used in table cells | |
\usepackage[table]{xcolor} | |
% Used for filler text in this template document, can be removed prior to submission | |
\usepackage{lipsum} | |
% Allows references to be used in the report | |
\usepackage{natbib} | |
% Increases the gap between the caption and table, and bolds the label | |
\usepackage{caption} | |
\captionsetup[table]{skip=10pt} | |
\captionsetup[lstlisting]{skip=10pt} | |
\captionsetup{labelfont=bf} | |
% Allows code to be listed inside the report | |
\usepackage{listings} | |
% Allows the student to use glossaries to define words | |
\usepackage[acronym,toc]{glossaries} | |
% Provides appendices with a table of contents | |
\usepackage[toc]{appendix} | |
% IMPORTANT: Fill out your details here | |
%% Insert your Dissertation Project Title | |
\newcommand{\dissertationtitle}{Dissertation Project Title} | |
%% Insert your first name and leave a white space after it | |
\newcommand{\firstname}{A } | |
%% Insert your last name | |
\newcommand{\lastname}{Student} | |
%% Insert your student id | |
\newcommand{\studentid}{000111222} | |
%% Insert the name of your supervisor | |
\newcommand{\firstsupervisor}{First Supervisors Name} | |
%% Insert the submission date of the report | |
\newcommand{\submissiondate}{14th April 2023} | |
%% Insert the ethics number of your application | |
\newcommand{\ethicsnumber}{P-999888777} | |
% Sets up the header of the document | |
\lhead{\dissertationtitle} | |
\rhead{\firstname \lastname} | |
\renewcommand{\headrulewidth}{0pt} | |
\pagestyle{fancy} | |
% Imports the glossaries from the file glossary.tex | |
\makeglossaries | |
\loadglsentries[\acronymtype]{glossary.tex} | |
\begin{document} | |
\nonstopmode | |
\begin{titlepage} | |
\begin{center} | |
\vspace*{2cm} | |
{\LARGE\textbf{\dissertationtitle}} | |
\vspace{2cm} | |
\\ \textbf{\firstname \lastname} \\ | |
\studentid | |
\vspace{0.5cm} | |
\\ \textbf{Supervised by} \\ | |
\firstsupervisor | |
\\ \vspace{2cm} | |
School of Computing, Mathematics and Data Science | |
\\ \vspace{2cm} | |
\submissiondate | |
\vfill | |
\includegraphics[width=0.4\textwidth]{images/cov_uni_logo} | |
\end{center} | |
\end{titlepage} | |
\clearpage | |
% Declaration of Originality | |
\thispagestyle{empty} | |
\noindent \textbf{6047CEM Declaration of Originality} \\ | |
I declare that this project is all my own work and has not been copied in part or in whole from any other source | |
except where duly acknowledged. | |
As such, all use of previously published work (from books, journals, magazines, | |
internet etc) has been acknowledged by citation within the main report to an item in the References or | |
Bibliography lists. | |
I also agree that an electronic copy of this project may be stored and used for purposes of | |
plagiarism prevention and detection. | |
\vspace{0.5cm} | |
\noindent \textbf{Statement of Copyright} \\ | |
I acknowledge that the copyright of this project report, and any product developed as part of the project, belong | |
to Coventry University. | |
Support, including funding, is available to commercialise products and services developed by staff and students. | |
Any revenue that is generated is split with the inventor(s) of the product or service. | |
For further information, please see www.coventry.ac.uk/ipr or contact ipr@coventry.ac.uk. | |
\vspace{0.5cm} | |
\noindent \textbf{Statement of Ethical Engagement} \\ | |
I declare that a proposal for this project has been submitted to the Coventry University ethics monitoring | |
website (https://ethics.coventry.ac.uk) and that the application number is listed below. \\ \\ | |
\textbf{Note:} Projects without an ethics application number will be rejected for marking. | |
\vspace{1cm} | |
\begin{table}[ht] | |
\newlength\q | |
\setlength\q{\dimexpr .5\textwidth -2\tabcolsep} | |
\begin{tabular}{p{\q}p{\q}} | |
\textbf{Signed:} & \textbf{Date:} \submissiondate | |
\end{tabular} | |
\label{tab:signed_declaration} | |
\end{table} | |
\begin{table}[ht] | |
\newlength\q | |
\setlength\q{\dimexpr .5\textwidth -2\tabcolsep} | |
\renewcommand{\arraystretch}{1.5} | |
\begin{tabular}{|p{\q}|p{\q}|} | |
\hline | |
\cellcolor{black} \textcolor{white}{\textbf{First Name}} & \firstname \\ \hline | |
\cellcolor{black} \textcolor{white}{\textbf{Last Name}} & \lastname \\ \hline | |
\cellcolor{black} \textcolor{white}{\textbf{Student ID}} & \studentid \\ \hline | |
\cellcolor{black} \textcolor{white}{\textbf{Ethics Application Number}} & \ethicsnumber \\ \hline | |
\cellcolor{black} \textcolor{white}{\textbf{First Supervisors Name}} & \firstsupervisor \\ \hline | |
\end{tabular} | |
\label{tab:ethics_details} | |
\end{table} | |
\clearpage | |
% Abstract of your project | |
\thispagestyle{empty} | |
\begin{abstract} | |
\input{chapters/0_Abstract} | |
\end{abstract} | |
\clearpage | |
% Table of Contents | |
\tableofcontents | |
\clearpage | |
% List of Tables | |
\listoftables | |
\clearpage | |
% List of Figures | |
\listoffigures | |
\clearpage | |
% Glossary | |
\thispagestyle{empty} | |
\printglossary[type=\acronymtype,style=long] | |
\clearpage | |
% Beginning of the Report | |
% Introduction Chapter | |
\input{chapters/1_Introduction.tex} | |
% Literature Review | |
\input{chapters/2_LiteratureReview.tex} | |
%% Methodology | |
\input{chapters/3_Methodology.tex} | |
% Results and Analysis | |
\input{chapters/4_Results_Analysis.tex} | |
% Discussion | |
\input{chapters/5_Discussion.tex} | |
% Project Management | |
\input{chapters/6_ProjectManagement.tex} | |
% Conclusion | |
\input{chapters/7_Conclusion.tex} | |
%% References | |
\addcontentsline{toc}{chapter}{Bibliography} | |
\bibliography{6047cem_report_template} | |
\bibliographystyle{apalike} | |
%% Appendices | |
\begin{appendices} | |
\chapter{Code Example: SomeFile.h}\label{ch:code-example:-somefile.h} | |
\lstinputlisting[language=C++,label={lst:lstinputlisting}]{source_code/SomeFile.h} | |
\chapter{Code Example 2: SomeFile.cpp}\label{ch:code-example-2:-somefile.cpp} | |
\lstinputlisting[language=C++,label={lst:lstinputlisting2}]{source_code/SomeFile.cpp} | |
\end{appendices} | |
\end{document} |