includegraphics position latex code example

Example 1: overleaf subfigures

% Side-by-side subfigures

\usepackage{subcaption}

\begin{figure}[h]
    \begin{subfigure}{0.5\textwidth}
        \includegraphics[width=0.9\linewidth]{image1}
        \caption{Caption1}
        \label{fig:sub1}
    \end{subfigure}
    \begin{subfigure}{0.5\textwidth}
        \includegraphics[width=0.9\linewidth]{image2}
        \caption{Caption2}
        \label{fig:sub2}
    \end{subfigure}
    \caption{Subfigures}
    \label{fig:Figure1}
\end{figure}

Example 2: move figure to right latex

\begin{landscape}
\vspace*{1cm}
\hspace*{2cm}\includegraphics[width = 0.4 \linewidth]{figures1}\hspace*{-2cm}
\end{landscape}

Tags:

Misc Example