Code: Select all
\begin{center}
\begin{minipage}[h]{0.4\textwidth}
.....
....%some content
\end{minipage}
\hfill
\begin{minipage}{0.5\textwidth}
\vspace{0pt}
\includegraphics[width=\textwidth]{.....%some figure....}
\end{minipage}
\end{center}
Code: Select all
\begin{center}
\begin{minipage}[h]{0.4\textwidth}
.....
....%some content
\end{minipage}
\hfill
\begin{minipage}{0.5\textwidth}
\vspace{0pt}
\includegraphics[width=\textwidth]{.....%some figure....}
\end{minipage}
\end{center}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Code: Select all
\documentclass{article}
\usepackage{mwe}
\usepackage{graphicx}
\usepackage{subcaption}
\begin{document}
\blindtext
\begin{center}
\includegraphics[width=.45\linewidth]{example-image-a}\quad%
\includegraphics[width=.45\linewidth]{example-image-b}%
\end{center}
\blindtext
\begin{figure}
\centering
\subcaptionbox{wobblng whale}{
\includegraphics[width=.6\linewidth]{example-image-16x9}
}
\subcaptionbox{samba Snake}{
\includegraphics[width=.3\linewidth]{example-image-1x1}
}
\caption{As you can see, the whale is larger
than a snake}
\end{figure}
\end{document}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis