Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Inserting images in LaTeX

Tags:

latex

pdflatex

I have a question on inserting images into a LaTeX document. I try to insert images using the keyboard short cut: Ctrl-Alt-G and I'm able to insert images. But the compiled pdf document shows all the images at the end, whereas I want to interleave images with text. Something like the following:

Text1
Image1
Text2
Image2
Text3
Image3

I try to insert images at right positions i.e. in between text, but on compilation, they all appear at the end. I have tried different options provided on the image insertion UI but same result.

Any idea where I'm going wrong.

Related SO question.

like image 917
Arnkrishn Avatar asked Nov 29 '22 12:11

Arnkrishn


1 Answers

You'll have to use graphicx package:

\usepackage{graphicx}

and then you just use \includegraphics

\includegraphics{myfig.pdf}
\includegraphics[width=60mm]{myfig.png}
\includegraphics[height=60mm]{myfig.jpg}
\includegraphics[scale=0.75]{myfig.pdf}
\includegraphics[angle=45,width=52mm]{myfig.jpg}
like image 153
vartec Avatar answered Dec 06 '22 20:12

vartec