I have following problem:
\begin{figure}[htbp]
\centerline{\includegraphics[width=\columnwidth]{relations.png}}
\caption{Example of a figure caption.}
\label{fig}
\end{figure}
the image is a little bit too big if I do this above.
Instead, I'd like the width to be about 10px smaller.
I tried the following:
\begin{figure}[htbp]
\centerline{\includegraphics[width=\columnwidth - 10px]{relations.png}}
\caption{Example of a figure caption.}
\label{fig}
\end{figure}
But it doesn't work.
How can I adjust the width of the image by a few pixels?
width=\dimexpr \columnwidth -10pt. – Ulrike Fischer Jan 04 '23 at 16:54\centering\includegraphics[...]{...}instead of\centerline– samcarter_is_at_topanswers.xyz Jan 04 '23 at 19:02