I have the following code:
\documentclass{article}
\usepackage{float}
\usepackage{siunitx}
\usepackage{graphicx}
\begin{document}
By plotting the attenuation in $ \si{\decibel s} $ we get the following graphs:
\begin{itemize}
\item \underline{For Butterworth:}
\vspace{-0.1cm}
\begin{figure}[H]
\centering
\includegraphics[width=0.9\textwidth]{sample_photo.png}
\caption{Tabulated LPP normalized attenuation curve for Butterworth.}
\end{figure}
There are $ n $ number of zeros, in our case $ n=3 $ zeros of each kind. As we can see, the transmission zeros are in the infinity...
\end{itemize}
\end{document}
As you can see, it seems that the caption and the image are left-aligned in comparison with the overall text. Could be a way to move both figure and caption to the right? Adding \hspace
for the image worked but not for the caption.
Thank you.
\usepackage{caption}\captionsetup{justification = raggedleft,singlelinecheck = false}
(see:Align Caption to the left)