I encountered another problem during my work with Latex.
My figures don't use default margins.
My margin setting looks that:
Code: Select all
\usepackage[lmargin=3cm,rmargin=2cm,tmargin=2.5cm,bmargin=2.5cm]{geometry}
Code: Select all
\begin{figure} [h]
\counterwithin{figure}{section}
\footnotesize
\begin{verbatim}
some code
\end{verbatim}
\normalsize
\caption{some caption}
\end{figure}
I will be grateful for any help,
Best regards