Whether you are just getting started with LaTeX and wondering what the fuss is about, here to share the clever trick you've discovered, or need urgent help with your bibliography, welcome to the LaTeX subreddit! Here is a thread with useful links. I'm writing an assignment using the document class article.
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 environment and the graphicx package. The figure environment takes care of the numbering and positioning of the image within the document.
The previous chapter introduced importing graphics. However, just having a picture stuck in between paragraphs does not look professional. To start with, we want a way of adding captions, and to be able to cross-reference.
Sometimes you may want to change the way these are numbered. The solution is very similar to changing list numbering styles using different keywords. Like enumeration lists, we can use the following numbering styles:. Simple but powerful!
Thank you for visiting nature. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser or turn off compatibility mode in Internet Explorer.
In the standard document classes report and bookfigure and table counters are reset after every chapter. On the other hand, article does not reset these counters when a new section is started. Through these commands, the behavior of the figure and table counters can be changed.
Being able to automatically reference a figure within a LaTeX document is a very cool thing. The same technique works for referencing other objects within a LaTeX document, including tables and equations. Please read the comments for more details.
T he captions for figures, tables, subfigures and subtables in LaTeX can be customized in various ways using the caption and subcaption packages. You can change the fonts, numbering style, alignment and format of the captions and the caption labels. A basic article class document has figure and subfigure captions that look like this:.