I want to insert a .jpg image(that is in my current folder, where the .tex file is) after a paragraph. How can I do it in Latex? What should I include / what commands should I use?
How to add a jpg image in Latex
latexlatex-environment
latexlatex-environment
I want to insert a .jpg image(that is in my current folder, where the .tex file is) after a paragraph. How can I do it in Latex? What should I include / what commands should I use?
Best Answer
You need to use a graphics library. Put this in your preamble:
You can then add images like this:
This is the basic template I use in my documents. The position and size should be tweaked for your needs. Refer to the guide below for more information on what parameters to use in
\figure
and\includegraphics
. You can then refer to the image in your text using the label you gave in the figure:Read this guide here for a more detailed instruction: http://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions