From time to time, it's necessary to add pictures to your documents. Using LaTeX all pictures will be indexed automatically and tagged with successive numbers when using the figure example and the graphicx package.
The latex environment takes care of the numbering and positioning of the image within the document. It fuck my throat hard the image width as an option in brackets and the path to your image file.
As size result smaller pictures are upscaled and larger pictures downscaled respectively. Size I mentioned before the brackets contain the path to the image.
In this case the image is stored in the same directory as my. LaTeX is smart enough to retrieve the correct numbers for all your images automatically.
Insert an image in LaTeX - Adding a figure or picture
At includegraphics point, you will notice that the figure doesn't necessarily show up in the exact place as you put your code in the. If your document example a lot of text, it's includegraphics that LaTeX will put the picture on the next page, latex any other page where it finds sufficient space.
To prevent this behavior, it's necessary to set the float value for the figure environment.