includegraphics width code example

Example 1: latex image scale

\begin{figure}[h!]
\centering
\includegraphics[width=50mm]{method.eps}
\caption{Overall process}
\label{fig:method}
\end{figure}

Example 2: latex width figure

\documentclass{report}
\usepackage[english]{babel}
\usepackage{graphicx}

\begin{document}
\includegraphics[height=3cm]{example-image-b}
\includegraphics[width=5cm]{example-image-b}

\includegraphics[height=3cm, width=3cm]{example-image-b}
\includegraphics[height=3cm, width=6cm]{example-image-b}
\includegraphics[keepaspectratio,height=3cm, width=6cm]{example-image-b}
\end{document}

Example 3: includegraphics size

\includegraphics[width=50mm,scale=0.5]{method.eps}

Tags:

C Example