graphics - How to use \includegraphics? - TeX - LaTeX Stack Exchange - latex include graphcs

Category

Insert an image in LaTeX - Adding a figure or picture latex include graphcs


Latex can not manage images by itself, so we need to use the graphicx package. %Path relative to the.tex file containing the \includegraphics command.

The easiest way is to put the pictures in the same directory as your (main) LaTeX document. Then \includegraphics[width=0.5\textwidth]{bird1}.

You can import external graphics using package graphicx. The most important command is \includegraphics. LaTeX itself treats the image like normal text, i.e.

Captioned images / figures in LaTeX; Image positioning / setting the In order to include a figure, you must use the \includegraphics command.

You can use filename with no dot, as in \includegraphics{turing} and then LaTeX tries a sequence of extensions such as.png and.pdf until it finds a file with that.