Code: Select all
\documentclass[11pt]{scrreprt}%JB: using a flexible class
%\usepackage{geometry}%JB: Only use it if really needed
\usepackage[square, comma, sort&compress]{natbib}
%\usepackage{amsmath}
%\usepackage{amsthm}
%\usepackage{amssymb}
%\usepackage{amsfonts}
\usepackage{mathtools}%JB
%\usepackage{delarray}
%\usepackage{fancybox}
%\usepackage{framed}
%\usepackage{multicol}
%\usepackage{listings}
\usepackage{graphicx}
%\usepackage{geometry}%be careful, do not load packages twice
%\usepackage{rotating}
%\usepackage{wrapfig}
%\usepackage{float}
\usepackage{subfig}
\captionsetup{lofdepth=2}
%JB: if you want the subsections in the lof
\usepackage{hyperref}
\hypersetup{urlcolor=blue, colorlinks=true,citecolor=blue}
\begin{document}
\title{My thesis work title}
\maketitle
\tableofcontents % Write out the Table of Contents
\listoffigures
\chapter{My First Chapter} %
%\label{Chapter1}%JB: Your labels should be some kond of mnemonic
%JB: A number might change
\label{chap:basics}%JB <- for example
\section{Indian Ocean Dipole}
\label{indianOceanDipole}
Strong anti-cyclone south of Sumatra island strengthen by the
influence of southeasterly wind at Java and easterly wind in TIO
can transfer momentum to southern TIO forcing downwelling rossby
wave which moves westward deepening the thermocline leading to
warming in the western IO so strengthening the IOD
%JB: I prefer to have short lines
\begin{figure}%[H]%JB: let the figure float to the best suited
% position to get the best result.
\centering
\subfloat[I am the list entry][EOF1 for SSH from \cite{Vinayachandran2009}\label{eof_ssh}]{
\includegraphics[width=0.45\textwidth]{example-image-a}}
\subfloat[propagating kelvin and Rossby wave
\cite{Vinayachandran2009}\label{fig:kelvinRosbyWave}]{
% \label{propagating kelvin and Rossby wave
% \cite{Vinayachandran2009}} %JB: This is not a
% proper label
\includegraphics[width=0.45\textwidth]{example-image-b}}
%JB: the width now is stated as 45 % of the textwidth
\caption{I am the caption for both images.}
\end{figure}%.%JB: I gues you put that in by mistake
Be careful with cites, they will be put in the list of figures if
you do not use the optional argument.
\end{document}