\documentclass[12pt]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[english]{babel}
\usepackage[autostyle]{csquotes}
\usepackage{graphicx}
%\usepackage{mathptmx}
%\usepackage{lmodern}
\usepackage{newtxtext,newtxmath}
\linespread{1.3} % 1.5 spacing equivalent to word
%\linespread{1.6} % 2 spacing equivalent to word
\usepackage[backend=biber, style=authoryear, maxnames=999, maxcitenames=3, firstinits=true, urldate=long]{biblatex}
\DeclareNameAlias{sortname}{last-first}
\DeclareFieldFormat{edition}{%
\ifinteger{#1}
{\ifnumequal{#1}{1}%
{}%
{\mkbibordedition{#1}~\bibstring{edition}}%
}
{#1\isdot}}
\DeclareFieldFormat[article,inbook,incollection]{title}{#1\isdot}
\DeclareFieldFormat[article,inbook,incollection]{citetitle}{#1\isdot}
\newrobustcmd{\MakeTitleCase}[1]{%
\ifboolexpr{test {\ifentrytype{article}} or test {\ifentrytype{inbook}} or test {\ifentrytype{incollection}}}
{#1}
{\MakeSentenceCase{#1}}}
\DeclareFieldFormat{urldate}{\bibsentence\mkbibbrackets{\bibstring{urlseen}\space#1}}
\DeclareFieldFormat{url}{\bibstring{urlfrom}\addcolon\space\url{#1}}
\renewbibmacro*{journal}{%
\iffieldundef{journaltitle}
{}
{\printtext[journaltitle]{%
\printfield[titlecase]{journaltitle}%
\setunit{\subtitlepunct}%
\printfield[titlecase]{journalsubtitle}}
\ifboolexpr{
not test {\iffieldundef{url}}
or
not test {\iffieldundef{urldate}}
or
not test {\iffieldundef{doi}}
or
not test {\iffieldundef{eprint}}
}
{\nopunct\bibstring[\mkbibbrackets]{online}}%
{}}}
\renewbibmacro*{journal+issuetitle}{%
\usebibmacro{journal}%
\setunit*{\addspace}%
\iffieldundef{series}
{}
{\newunit
\printfield{series}%
\setunit{\addspace}}%
\newunit
\usebibmacro{volume+number+eid}%
\setunit{\addspace}%
\usebibmacro{issue+date}%
\setunit{\addcolon\space}%
\usebibmacro{issue}%
\newunit}
\NewBibliographyString{online}
\DefineBibliographyStrings{english}{%
urlseen = {accessed},
online = {online},
}
%\addbibresource{example.bib}
\renewcommand*{\nameyeardelim}{\addcomma\addspace}
\renewbibmacro{in:}{%
\ifentrytype{article}{}{\printtext{\bibstring{in}\intitlepunct}}} % removes "In" preceding journal title
\bibliography{example.bib}
%\section*{Bibliography}
%\bibliography{biblio.bib}
%\end{document}
\title{How to Reference, UWE style \\ Short reports}
\author{D Toher}
\begin{document}
\maketitle
\thispagestyle{empty}
\tableofcontents % comment out, using a "%" if you don't want a table of contents.
%\newpage
%\setcounter{page}{1}
\section{Referencing and formatting}
While I approve of you using \LaTeX\ to format your documents, I would recommend that you look at using additional features to ensure that your documents meet (or approximate) UWE formatting regulations. This will become more of an issue when you are submitting your final year project. Note that my preamble is available on request (which covers the majority of formatting issues for font type, size, spacing and the majority of types of references). $y = mx+c$
$$(y-y_{1})=m(x-x_1)$$
\begin{equation}
a^2+b^2=c^2
\end{equation}
\begin{equation}\label{eq:SS}
\sum_{i=1}^{n}e_{i}=0
\end{equation}
(\ref{eq:SS}) notes that errors sum to zero.
\section{General comments}
The change to author year system is very easy to implement. \textcite{ben2002} and \autocite{buede1997} are examples of journal articles whilst \textcite{coiera2003} is an example of a book. If I wish, I can state that many different approaches can be taken \parencite{ben2002}.
This is an example of how to cite a paper with more than three authors \autocite{liu2014}. An alternative way of citing the same paper is \textcite{liu2014}.
\subsection{Images}
Of course, you can add an image into a \LaTeX document, the results are shown in Figure \ref{fig:frog}!
\begin{figure}[h]
\centering
\includegraphics[width=.75\linewidth]{frog.jpg}
\caption{My first frog, scaled to be 75\% of the width of the text!}
\label{fig:frog}
\end{figure}
\clearpage % this will force everything (including floats - tables and figures) to appear before the references.
The code required to include this image:
\begin{verbatim}
\begin{figure}[h]
\centering
\includegraphics[width=.75\linewidth]{frog.jpg}
\caption{My first frog, scaled to be 75\% of the width of the text!}
\label{fig:frog}
\end{figure}
\end{verbatim}
\printbibliography
\end{document}