Hello, in the last post I talked about theincludegraphics
command.
But, did you notice? it just imports images but you can not change its location or add a caption, and it is so important when you are talking about images because you can add more details to your image.
In this post, I am going to talk about that, about thefigure
environment
Thefigure
Environment
Do you remember thetable
environment? If not you can check ithere, thefigure
environment is so similar to this environment.
\begin{figure}[position]align\includegraphics[modifiers]{yourImage.ext}\caption{yourCaption}\end{figure}
position
options
h
to put the image here, it is, at the current position of your cursor in the codeb
to put the image at the bottom of the current paget
to put the image at the top of the current page!
indicatesignore the rules and put the image here
align
options
\centering
align the image to the center\raggedleft
align the image to the left\raggedright
align the image to the right
modifiers
and image options
You can change the details inthis post, in the Importing images section
caption
Here you can put the caption of the image
Thanks, this is all for today, enjoy :)
Do not forget to follow me on Twitter@latexteada
Top comments(0)
For further actions, you may consider blocking this person and/orreporting abuse