I am having diffuculties in adjusting the spaces in different part of my thesis.
I have 3 issues to solve which I try to show in a single image below:
In the first problem, I need to put 18pt space between a text and the figure following the text (same is true for tables as well)
In the second problem, the caption of the figure should be 18pt below the figure
In the third case, there should be 18pt distance after the figure caption and the text/section/subsection etc following the figure.
I attach the sample code that I use to insert figure to the tex file as below:
\begin{figure}[h]
\centering
\includegraphics[width=0.6\linewidth]{figures/dist_list_bim.pdf}
\caption[Change of prediction softmax score of MLP model]{Change of prediction softmax score of MLP model.}
\label{fig:dist_list_bim} \end{figure}
And I also I use below command below as well to arrange the captions:
\captionsetup{labelsep=space, labelfont = normalfont, skip = 18pt, font = normalsize}
Would you please guide me on how to handle these 3 issues?
Best wishes,
figure
(which you should use), then LaTeX will calculate the optimal spacing so that it looks nice. You shouldn't have any control over it.