Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

latexteada
latexteada

Posted on

     

LaTeX figures: The figure Environment

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}
Enter fullscreen modeExit fullscreen mode

position options

  • h to put the image here, it is, at the current position of your cursor in the code
  • b to put the image at the bottom of the current page
  • t 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)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

Hello, this is where I am going to give some base briefs of LaTeX
  • Location
    México
  • Work
    Student
  • Joined

More fromlatexteada

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp