Latex subfigure

Part 1 Part 2 Part 3 Part 4 Part 5. This five-part series of articles uses a combination of video and textual descriptions to teach the basics of writing a thesis using LaTeX, latex subfigure. These tutorials were first published on the original ShareLateX blog site during August ; consequently, today's editor interface Overleaf has changed considerably due to the development of ShareLaTeX and the latex subfigure merger of ShareLaTeX and Overleaf. However, latex subfigure, much of the content is still relevant and teaches you some basic LaTeX—skills and expertise that will apply across all platforms.

In this tutorial, we are going to see how to deal with subfigures in LaTeX. The use of subfigures is interesting when you have a set of related images since you can put all of them one next to the other and under the same caption, so that they produce a more organized and space-optimized document. The first LaTeX package written to deal with subfigures was the subfigure package. This package:. As its own documentation states.

Latex subfigure

.

It provides an easy way to create subfigures, as the following example shows:.

.

We will also provide some tips on how to make your figures look their best. In LaTeX, a subfigure is a figure that is part of a larger figure. Subfigures are typically used to break up a large figure into smaller, more manageable pieces. This can make it easier to read and understand the figure, and it can also help to save space. The width of the subfigure can be specified in inches or centimeters. The label for the subfigure is used to reference the subfigure in the main figure. This will allow the subfigures to be displayed side by side. The output of this code will be a figure with two subfigures side by side. The subfigures will be labeled 1 and 2, and they will be displayed side by side in a new column. In this tutorial, you learned how to create subfigures in LaTeX.

Latex subfigure

I was recently asked an interesting question about how to place a sub-caption on top of a sub-figure. By default, sub-captions are produced below sub-figures. When using the subfigure package , the answer is reasonably easy. The package has an option to move the sub-captions on top of the figure. However, I was curious how other packages solve the problem, specifically subfig and subcaption.

Riganato menu

The use of subfigures is interesting when you have a set of related images since you can put all of them one next to the other and under the same caption, so that they produce a more organized and space-optimized document. The subfig package was, in turn, superseded by the more recent subcaption package , which extended its functionalities. We will deal next with the relation between hyperlinks and subfigures , seeing how to reference subfigures only without referencing the parent figure , with what we call subreferences. As a final tip, I want to share with you how you can have a page break in the middle of the same set of subfigures. In the next post we'll look at adding a bibliography to our thesis. This would be enough to have a working example of how to insert subfigures. When writing a thesis you may want to include some slightly more complicated figures with multiple images. Just like with images, you may want to group tables together into a single table environment. How to create subfigures in LaTeX? Subcaption LaTeX package The subfig package was, in turn, superseded by the more recent subcaption package , which extended its functionalities. Here is an example of its usage:.

Part 1 Part 2 Part 3 Part 4 Part 5.

In this tutorial, we are going to see how to deal with subfigures in LaTeX. Referencing only subfigures, without the parent figure identifier. In the previous post we looked at configuring the page layout of our thesis using the geometry and fancyhdr packages. If you want to make some tricks regarding the hyperlinks, maybe you will also be interested in the hyperref package documentation. This means that this package also provides the functionalities of the caption package, which is a package written to provide many ways to customize the captions in floating environments. You can see our video tutorial on using images in LaTeX and video tutorial on tables. In this case, the reference consists of the identifier of the figure environment followed by the identifier of the subfigure environment. First we are going to see which packages are needed to create subfigures , and some basic examples of how to actually create subfigures and how to adjust their positioning. Here is an example of its usage:. This can be done by using subtable environments inside a table environment. Combining the options explained here, you can compose subfigures as shown in the next illustration. For this project, every image we use we will store in the images folder to keep everything tidy. These options are the same as the ones accepted by the minipage environment.

1 thoughts on “Latex subfigure

Leave a Reply

Your email address will not be published. Required fields are marked *