From 91391fc03fb35488d96384deb7a03a5cb73ad370 Mon Sep 17 00:00:00 2001
From: Edward Longman <el7g15@soton.ac.uk>
Date: Wed, 16 Jan 2019 16:54:14 +0000
Subject: [PATCH] Fix Listing label bug

---
 Starting.tex | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Starting.tex b/Starting.tex
index cd62d9a..3442d8d 100644
--- a/Starting.tex
+++ b/Starting.tex
@@ -4,7 +4,7 @@ This zip file should be \emph{extracted to the texmf} folder that will either ne
 For TeXLive this defaults to \verb|<userdirectory>\texlive| on Windows. It can be found by running the command \verb|kpsewhich -var-value=TEXMFHOME|. For MiKTeX see \url{https://miktex.org/kb/texmf-roots}.
 
 The structure of this folder should look like this.
-\begin[caption=Folder Structure of the texmf folder.]{lstlisting}\label{folder_struct}
+\begin{lstlisting}[caption={Folder Structure of the texmf folder},label={folder_struct}]
 +-texmf
     +-bibtex
     |  +-bib
@@ -25,7 +25,7 @@ The structure of this folder should look like this.
            +-ecsdocs
 \end{lstlisting}
 On some \LaTeX{} systems, the directory look-up tables will need to be refreshed after making additions or deletions to the system files.
-For TeXlive systems this is accomplished via executing \verb|texhash| as root. 
+For TeXlive systems this is accomplished via executing \verb|texhash| as root.
 MikTeX users can run \verb|initexmf -u| to accomplish the same thing.
 
 The \verb|templates/latex/ecsdocs| folder contains the files to get you started.
-- 
GitLab