Concordia thesis Latex template.

I have researched many templates online, but no one works for overleaf with images.
This version was finetuned by Lili Liu, which can be used on OVerleaf and include images in your thesis.





MUILTI IMAGES:

\begin{figure}[h]

\begin{subfigure}{0.5\textwidth}
\includegraphics[width=0.9\linewidth, height=5cm]{chapters/chapter4/Img/Figure_1.png}
\caption{Caption1}
\label{fig:subim1}
\end{subfigure}

\begin{subfigure}{0.5\textwidth}
\includegraphics[width=0.9\linewidth, height=5cm]{chapters/chapter4/Img/Figure_2.png}
\caption{Caption 2}
\label{fig:subim2}
\end{subfigure}

\begin{subfigure}{\textwidth}
\includegraphics[width=0.9\linewidth, height=5cm]{chapters/chapter4/Img/Figure_3.png}
\caption{Caption 2}
\label{fig:subim2}
\end{subfigure}


\begin{subfigure}{\textwidth}
\includegraphics[width=0.9\linewidth, height=5cm]{chapters/chapter4/Img/Figure_4.png}
\caption{Caption 2}
\label{fig:subim2}
\end{subfigure}

\caption{Line and  Curve ratio result of one sample.}
\label{fig:image2}
\end{figure}




MISSING NUMBER TREATED AS ZERO PROBLEM: 


Using the subfigure package:

The subfigure package is long outdated, and will generate a 'Missing number' error when there is no error present. An example of this is shown below:

% In your preamble
\usepackage{subfigure}

% In the body of your document
\begin{figure}
    \centering
    \begin{subfigure}[b]{0.3\textwidth}
        \includegraphics[scale=0.2]{image}
        \caption{A gull}
        \label{fig:gull}
    \end{subfigure}%
\end{figure}
This will generate an error, as the subfigure package does not recognise \textwidth as a number, 
when it is in fact a number (equivalent to the constant width of the total text block on a page).
The way to resolve this is to use the more updated subcaption package, which has replaced subfigure. 
Writing the same code as above with \usepackage{subcaption} in the preamble instead of \usepackage{subfigure} 
will give the desired result without any error.