With the caption package come two predefined caption formats: The caption format is what determines how this information will be presented, and it is specified with the option format, which can be set to a format name. The caption separator that determines the separation between the text and the label.The caption text itself, which is nothing but a short description of the contents, and.The caption label, which says what kind of object are we talking about (Figure, Table, Listing, …) and what number is associated with it,.FormattingĪ floating object caption mainly consists of three parts: This declaration has an effect on the current environment only this means that if we use it in our preamble, it will affect the whole document, but if we use it inside a figure or subfigure environment, it will only affect the current environment’s caption. This package provides several customization options for our captions, and to specify them we will always use the command: To do so, we will use the caption package, written by Axel Sommerfeldt. In this tutorial, we are going to see how to customize the appearance of captions in our document: their formatting, justification, the font used, the spacing, and many more aspects. Inside a LaTeX document, every floating environment (usually figures or tables) is usually followed by a caption, that is, by a small paragraph that specifies the floating object (if it is a Figure, a Table, a Listing, etc.) followed by its corresponding number (which depends on the numbering system specified for the document) and a brief description of the element.
0 Comments
Leave a Reply. |