It includes a set of images in a row. Float styles can also be customized as the second example below illustrates. I'd like some automatic way to resize these sets. \label{fig:myFig} \begin{figure} The \textwidth simply tells the compiler to make the width of the subfigure .3 times the width of the allowed width of the text (the page width minus the margins). the file. If your document has many figures it can become tedious to always add the path or it can make your document look messy. Alternatively, you might use the picins package instead of the wrapfig package which produces a correct version without the excess white space out of the box without any hand-tuning. This is where floats come into play. The tabular environment that was used to construct the tables is not a float by default. Anyway, we will look at the package wrapfig. Note that we have specified a size for both the wrapfigure environment and the image we have included. Using \vspace tends to move the caption relative to the float while the [lineheight] argument does not. Those "starred" versions work like the standard ones, but they will be as wide as the page, so you will get no overlapping. Requires the, Note that if you define your own float placement (default is, If you want to label a figure so that you can reference it later, you have to add the label, If a float is encountered, LaTeX attempts to place it immediately according to its rules (detailed later). We have already seen in the last section that it is often useful to enclose a tabular environment in a table environment. To change the name used in the caption from Figure to Example, It will also cover sub-figures and captions. To edit bounding boxes in eps files is often a If the label picks up the section or list number instead of the figure number, put the label inside the caption to ensure correct numbering. The argument where specifies the allowed locations for the table. There are other ways to center a figure, but this is the correct way to do it inside a float environment. Package caption[4] provides the command \captionof{}{} that lets you typeset a caption without a floating environment. Creative Commons Attribution-ShareAlike License. rectangle outline provides the visual feedback; or b) use LaTeX will reproduce everything you give it, including new lines, spaces, etc. The placement specifier parameter exists as a compromise, and its purpose is to give the author a greater degree of control over where certain floats are placed. However, inside the \includegraphics command, we set width=\textwidth.