It is convenient to use this package when your subfigures are to be separately captioned, referenced, or are to be included in the List-of-Figures. If you want to have figure captions, use minipages. 1 Answer. 1. . A question and answers forum for LaTeX users and experts. It only takes a minute to sign up. Shorter version from original code. Instead of using the built-in float of lstlistings, wrap them in a custom float: \begin {mylisting} \begin {lstlisting} int x = 1; \end {lstlisting} \end {mylisting} Then use the same float (mylisting) for the subfloat usage: Reducing margin as small as possible in subfigure. This is a common issue. I include this option into my MWE:Adjustment. Another thing is if you really need captions in your presentations. The current state of the research field should be reviewed carefully and key publications. instead of subfloat environments from subfig package i would rather use tabular and for rules use midrule from booktabs package: documentclass{article}. To get both images to the same height you can store the height of the first image in a dimension imageheight. Learn more about TeamsI am trying to create a subfigure in LaTeX similar to this image: I want to have a figure which has two columns. The size of the figures can be controlled by the subfigure argument. 5in]{Fig1b}} – 1. MWE. (a). Now, without wanting to break compatibility with loaded packages, I managed to produce a working solution. While tabular is an array effectively this might cause the error; however, your example is a fragment only, we don't know how solution is defined. For overlef, one way is useful: Menu -> TeX Live Version . Follow. 5. 3 instead of (a) 0. ] {includegraphics[width=5in]{tiger}label{fig:vizcardback}} caption{The visibility. }] macro. png} caption {This with float name and number} end {figure} egin {figure} centering includegraphics. Each subfigure can be referenced and captioned. Share. Furthermore, there needs to be a % description of each subfigure *somewhere* and endfloat. 1. etc). I've used: egin{figure} centering subfloat[Subcaption 1]{label{fig:Pic_a} includegraphics[width = 2. What you can do with signing up. By simply adding \ vfill or \\ at the end of the second minipage environment, we instruct LaTeX to place the remaining two subfigures in the second row. I followed some resources online and the most similar is the following: Join figure and table on the same page. 1 Answer. This is used to align the sub-captions vertically. The line with enewcommand now makes ef work as I want, namely 1 (a), so there is no need to use subref* as in other solutions above. subfloat The package enables subnumbering of floats (figures and tables) similar to the subequations environment of the amsmath package. 3. } \subfigure {. Cornul11. The hspace {} command is a convenient way of controlling the spacing between the two images. あちらこちらで紹介されているオーソドクスな方法の一つです.. Positioning images and tables. – Mico. g. How to write LaTeX in IPython Notebook?You can influence the position of a float (see here: Keeping tables/figures close to where they are mentioned and How to influence the position of float environments like figure and table in LaTeX?) If you prefer images and tabulars to not float but nevertheless want to add a caption, see here: Adding a Caption to a Non-float. 2 which does not typeset a caption but will fulfill the needs of ContinuedFloat. If you want this scheme, using, for example. I only included usepackage{subcaption}. Namely, I would like to arrange two groups of figures with only 2 captions, each group has 4 figures. You should avoid subfigure that has been obsolete for more than 15 years: \usepackage [caption=false] {subfig} is the call you should do. Thanks Martin, I did not know that about label -. 1 Answer. The caption package is needed for the option to be recognized by Latex. I think the simplest way is to enter the caption not enclosed in the caption {} command. 1 Answer. If I want it aligned over the whole 2 columns, I have to use figure* instead of figure. answered Aug 23, 2021 at 1:18. 24 extwidth, and I set the spacing between the subfigures to hspace {fill}, i. Sorted by: 11. I had the exact same problem, the following worked for me: usepackage{subfigure} egin{figure}[h] caption{A figure and a table, side-by-side} centering subfloat[A figure left of a table]{ aisebox{-. 1 of the subcaption package) Is supported by the bicaption package for typesetting bilingual sub-captions. Here is the code that I used: usepackage{subfigure} egin{figure}[H] center. The syntax of the subfloat command is \subfloat[list-of-floats-caption][subcaption]{body} The subcaption part is not used for the numbering of the subcaptions (which is done automatically). When I use resizebox or scale, it looks like the scaling from one TikZ picture is applied also to next TikZ figures (see the picture below). The word "figure" is appearing below the main caption in each figure (even those not using subfloats). How do I get rid of the left margin introduced by subfloat? I am using it to stack several plots under a single figure, but the resulting added margin at the left makes the stacked figures look misaligned w. figure環境の中に minipage環境を入れて. 1 Answer. Subfigures. documentclass {article} usepackage [utf8] {inputenc} itle {testing} author {abc} date {} usepackage {lscape} usepackage {subfig} usepackage. There are a few symbols to add space between subfigures: ~, quad, qquad, hfill. It is a common mistake to believe that figure (or table) inside beamer might produce flotation to a. Figuras y subfiguras en LaTeX. In IEEE ACCESS template latex file, there is a example code of "Figure", when inserting pictures into paper. : You can use the captionsetup command in the preamble as well. caption label is bold, the caption text normal. The subfig package provides a native option for this, which is the captionskip=<glue> option. I am new to using Latex. Insert→Formatting→Horizontal Space→Horizontal Fill or Ctrl- -> right-click on space -> select "Horizontal Fill" (to insert a stretchable horizontal space)If you are not strictly bound to that template and want to use normal labelling as from the package subcaption, you will have to undefine that very command. The syntax of the subfloat command is subfloat[list-of-floats-caption][subcaption]{body} The subcaption part is not used for the numbering of the subcaptions (which is done automatically). I have a caption alignment problem for the captions of the subfloat. Sub-figures using subfloat in LaTeX. The package has an option to move the sub-captions on top of the figure. The top level table has 2 columns and 2 rows. Also, apparently you have to replace “subtable” with “subfloat”. LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Also the images should be sheduled between columns: documentclass {article} usepackage {graphicx} usepackage {subfig} usepackage. To have three independent figures with the desired layout, you can use minipages: documentclass{article} usepackage[demo]{graphicx} egin{document} egin{figure. How to refer sub-figures without using captions. Being the normal size of them equal to textwidth, writing egin {subfigure} [t] {0. 3\textwidth]{example-image-b}% \label{fig:fsp}% } \subfloat[FS -- c]{% \includegraphics[width=0. Update: I have tried rotating the original picture outside LaTex. (The subcaption package is incompatible with packages that provide similar functionality, such as subfigure and subfloat. Subfigure LaTeX package . To start writing your manuscript in Overleaf, simply click the ‘Open as Template’ button above. 5 Answers. 30 extwidth} will scale them to 0. . The subfloat package is not to be confused with the subfig package which generates sub-figures within one normal figure, and manages their placement; subfloat only affects captions and numbering. But some portion of text comes right after a subsection of images. That means one can indicate 0. A simpler solution could have been to set the height of the image, but \subcaption's subfigure environment take as argument the width of the subfloat. However, using cref (or even ef) in the text to refer to the. You can use grahicx and subcaption. Add a comment | 1 Answer Sorted by: Reset to default 3 You want to set the subsection counter after you actually start the section, because at the start of a section, the counter is reset to zero documentclass{article} egin{document. Here's the code, which I commented for the floatrow version: documentclass[conference]{IEEEtran} hispagestyle{plain} % To force page numbering. Template and documentation for preparation of papers for IEEE Access. 2 Answers. figure only occupies one column. enewcommand hesubfigure { oman {subfigure}} it would be even better to follow the subcaption package:複数の図表を並べて配置するパッケージを集めました.. cls, and I have faced different problems. sty: % letMYorigsubfloatsubfloat % enewcommand{subfloat}[2][ elax]{MYorigsubfloat[]{#2}} % However, the above trick will not work if both optional arguments of % the subfloat command are used. It works with either subcaption: . 1. Follow edited Aug 20, 2019 at 16:39. The \csubfloat macro has the same syntax as \subfloat; beware, though, that images should not fill the whole line. . justification is raggedright (i. The number is odd, and I would like to have them on a 3x2 grid, where the cell in the bottom left is empty. You can either pass it when loading the package (for it to affect globally, i. No installation, real-time collaboration, version control, hundreds of LaTeX templates, and more. 3 extwidth -wide wrapfigure environments and then proceeded to place 0. egreg. 25 extwidth. sty sub-figure と sub-table のために array/matrix-type の環境を提供します. Hi! I use \ContiendFloat or use this subfloat instead of subfigure because there are two subfigures in one of my figures, and when I add this figure, because of the lack of space at the end of the page(my article has two columns), it automatically move the whole figure to the next page, and I want the first subfigure of this figure stay in the previous page, the rest one in the next page. LyX to LaTeX conversion issue with [Figure] and [Subfigure] 0. 463. Silly mistake by me. The subfig package labels my subfigures (a), (b) etc, and I have been using the \subref command to make the same appear in the text. \begin{figure}[tb] \centering \subfloat[FS -- a]{% \includegraphics[width=0. The vertical space between the caption and the floating object is controlled by the option skip, which can be set to any valid TeX dimension. What I understand you want is something like this: which can be obtained with following code: documentclass {IEEEtran} usepackage {lipsum} usepackage {graphicx}. You can put two figures inside one figure environment. The left column contains one image and the right columns has two images. 简介. For desired align of images c and d you need to add option [b] to nested table, for example: Beside this your use of tabularx is wrong. If the paragraph after the figure is not enough to fill the whole page, Latex makes a gap between the figure and the text to fill the whole page, see the attached. I've looked at other answers where they suggest using ewpage or clearpage but that is not what I am looking for. See code below. The problem is your second subfloat with the cases environment in the caption. 28 extwidth] {figures/a. The required numbering scheme can be confusing since figures written using the figure environment might float away from the point where you wrote them in the code (see my example code below in which the numbers appear out of their natural order). TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. 参考文献. But this also displaces the captions, this can be avoided by adding a pseudo-node to the left picture where the right one has the V_rep node. I use subfigure to embedded TikZ pictures. 3. An alternative to use if hfill is more intuitive than hspace* {fill}, is to insert dummy text (like ull or mbox {}) at the (start and) end of the line. Remove the empty one and change your diagonal line to: ewcommanddiag [4] {% multicolumn {2} {p {#2}|} {hskip- abcolsep % not the 2. En éste hablaremos sobre las posibilidades de tener una única figura, pero con varias imágenes dentro y sin realizarla con gimp previamente, con las ventajas de modificación que ello. Subfigure LaTeX package. Sorted by: 2. the option [ht] should be sufficient. in your code are missing egin {document}, end {document} and package graphicx. I have a grid of pie charts which go into subfloat s. Now I have the following problem: I do not know how to scale the TikZ figures. I have four figures which are placed using subfigure, and need to place two on one frame and two on another. The second argument is the includegraphics command. I have three figures that I want to place next to each other. The parbox example demonstrates a much more general issue: when processing your LaTeX code the TeX engine being used to typeset your document (pdfTeX, XeTeX or LuaTeX) might consider that LaTeX’s requests result in typeset content that does not “fit nicely” within the confines of the box provided or. Depending on whether I use the hfill each subfloat, I can get a different arrangement, but I can't seem to be able to arrange them like this (which is what I would like to do): (a) (b) (c) (d) (e. g. Put the images inside boxes with a fixed height (use vtop to create top aligned boxes). You can use subfigure and subtable (with a similar syntax to minipage) and use standard caption. I am trying to figure out how to skip the numbering of some subfloats in a figure. With the subcaption package, the same trick can be used. which shows the undefined control sequence is includegraphics. eserved@c ->@subfloat { sub@captype }[@empty {@empty }][{@empty }] l. Since svg loads subfig, which is in turn incompatible with subcaption ,there's not left: Use subfloat inside of a figure environment. For two independent side-by-side figures, you can use two minipage s inside a figure enviroment; for two subfigures, I would recommend the subcaption package with its subfigure environment; here's an example showing both approaches: documentclass {article} usepackage [demo] {graphicx} usepackage {caption} usepackage {subcaption}. 试试将包usepackage{subfloat}改为usepackage{subfig}However, in this case, the subfigure labels overlap the left end of the image. I have little icons (48x48) and I want to display them using subfloat. 10. There seems to be no need, though, for either the subfigure or the figure machinery: Your code doesn't feature any caption directives, and the figures aren't supposed to "float" (in the LaTeX sense of the word). Here's one option using the powerful subcaption package: documentclass {article} usepackage {subcaption} usepackage {graphicx} egin. Unfortunately, neither works. Ti k Z is probably the most complex and powerful tool to create graphic elements in LaTeX. I have written a paper in overleaf and used subfloat and subfigure environment at the same time. Here I use subfloats one fifth of the line width (so the graphics are scaled to 0. vertically center subfloat figure. 3 extwidth]{example-image-a}%. makeatletter letGinclude@graphics@org@Ginclude@graphics makeatother. R. I am searching for a solution without using abular. @ahmedabobakr Using the code in your question (adding a egin {document} ), and. The following set of macros sets each subfloat in a zero width box, so adding filling space will do. I want to put two subfigures in two rows but with labels (captions) in top left corner of each subfigure. So I add usepackage of "subfigure" and "caption", except for losing figure's caption color it works well. Subfloat vertical alignment in latex. 9 “I want my sub-floats to be ordered by column rather than by row, how do I do that. There are two end {center} but only one egin {center}. The subfloat macro of subfig provides two different optional arguments: subfloat [<LoF entry>] [<caption entry>] {<stuff>} The above stems from the subfig documentation (p 4, section 2. Again, Insert→Float→Figure (this inserts a "subfigure float" into the float) Put the cursor right next to the subfloat. This is the script used: egin{figure}[t] subfloat[A]{includegraphics[width=linewidth]{a}label{a}} . Since you're looking to make the two graphs larger, you could (a) increase the widths of the two subfigure environments to, say, 0. 15). The background. 1 and would like to insert two images to appear as subfigures. In MWE, I should have deleted that part, sorry. @doxsi The only package to use in your case is subfig, in my opinion; subfigure is obsolete and you're using only its syntax. 7. . You can move label to inside of caption as: \subfloat[Case II \label{fig_second_case}]{\includegraphics[width=2. There's a missing closing square bracket square in the (first) optional argument for subfloat in the line. You can use subcaption that makes it easier to detach the width of the subfigure from the width of the enclosing subfloat. To allow the stretchable spaces to have effect, everything is enclosed in a minipage with dimensions equal to the text. The number must be a number from 0 to 4. Some comments: Note the use of % at the end of lines. Niepraschk@gmx. 2 Answers. LaTex: How to remove round brackets in the caption of subfigures using subfloat 9 Package caption Warning: Unknown document class (or package), standard defaults will be used. You can add the baseline option to both TikZ picture so that the vertical value y = 0 will be the baseline from both pictures. If it's just the occasional column that's supposed to be in math mode, you could change its column type specifier from, say, c to > {$}c< {$}. I also want to remove these (a) (b) (c). Q&A for work. you can change numbering of sub figures with. The culprit here is that you can not automaticly define the width of both images to fit the textwidth as good as possible. I would like them to have labels a) and b). Improve this answer. This will give you preference over the (non-)float placement. Since LaTeX is often used to create academic works that will cite many different sources it is important to know how to create a bibliography in LaTeX. Latex subfloat用法(替代subfigure)subfig和subfigure的关系subfig的用法 由于在用latex的时候想要调用subfigure,但是在网上找了好久都没找到一个介绍参数的,所以自己写一点记录一下,以后有新发现可以来这里补充。参考网址:link subfig和subfigure的关系 据我从网上了解到的信息来看,两者应该是有交集的. It should be noted that subfigure captions are different from figure captions. 3\textwidth] {images/F. . Each subfigure is an image and some text beneath it. You need to place the title and the (non-floating) figure into one wocolumn [ {. To achieve top-alignment of the subtables, add the [t] positioning specifier to each subtable environment. , the one which needn't or shouldn't get. Two options, but the general idea is the same: to use one subfigure environment (requires subcaption) or subfloat command (requires subfig) for each group. How to align text and picture. Changing position of image-labels with sidesubfloat. 1 Answer. The advantage of this approach is that the font size of the captions doesn't have be shrunk. The overpic package Rolf Niepraschk (Rolf. 2 (b) 0. I want to place 5 subpictures, 3 on the first row, two in the second one. This is my code which get me this images : documentclass {article} usepackage [utf8] {inputenc} usepackage {graphicx} egin. Your issue with placement here seem to resolve when using the following: Don't use a float. If you use a large enough width, in this specific case 1. Notice that the final directory created is labeled foo. If you read IEEEtran documentation will see that it recommends not using subfigure package but subfig. The respective environments just maintain different. You can solve your problem by loading the subcaption package. Note that subfloat. 3 Answers. Sorted by: 5. Stack Exchange Network Stack Exchange network consists of 183 Q&A communities including Stack Overflow , the largest, most trusted online community for developers to learn, share their knowledge, and build their careers. The first code line will produce the complete reference number, e. @User2014 Could you retry with my updated answer (keep_tex: yes) and add your tex file to the original question?We need to see whether subfig package is really loaded. \renewcommand\thesubfigure {\roman {subfigure}} it would be even better to follow the subcaption package: \subfloat, \subref, \captionsetup, table環境を使った例 (3)subfigmat. 1 of the subcaption package) Pro. The subplots of each figure should start with "a" automatically, there is no need to reset the sub-figure counter manually. documentclass {article} usepackage {subfigure,tikz. If you want a global modification, and want, say, 10pt (the default is 6), use: usepackage [skip=10pt] {subcaption} If it is only for subfigure environments: captionsetup {subfigure] {skip=10pt}3. In the first post we prepared the document for images by loading up the graphicx package and by informing LaTeX where the images are stored using the graphicspath command. [1] LaTeX2e 美文書作成入門 改訂第7版. In the example below, I use 0. You can include any content (table, text, figure,. I tried the following: egin {figure} egin {center} includegraphics [width=0. (since version 1. Any. Related. The first LaTeX package written to deal with subfigures was the subfigure package. You could note that with p columns one can also add captions for each image, if desired. 9 “I want my sub-floats to be ordered by column rather than by row, how do I do that. This package enables sub-numbering of floats (figures and tables) similar to the subequations-environment of the amsmath package. I want my text to come after all my images. , to the full width of the enclosing subfigure environments. org, subfig is also deprecated now, and the recommended package is. Vertically align subfloats at the top while having subcaptions vertically aligned below the subfloats. The syntax of the subfloat command is subfloat[list-of-floats-caption][subcaption]{body} The subcaption part is not used for the numbering of the subcaptions (which is done automatically). 11. 4linewidth} subsection{Tercera Configuraci'on} Con ayuda de un gancho conductor tipo cocodrilo, conectar los polos positivo y negativo, en una misma linea de conducci'on pero en diferentes nodos. e. I'm not sure what you need subfloats for, as you don't use. Creating your first LaTeX document; Choosing a LaTeX Compiler; Paragraphs and new lines; Bold, italics and underlining; Lists; Errors; Mathematics. How do you change the document font in LaTeX? 302. Here is the raw code: \begin{figure} \centering \subfloat[]{{\includegraphics[width=. The gap between figure and caption is controlled by the optional argument to \stackunder and is, in this example, set to 5pt (the default is 3pt). Your example ends with end {array} but starts with egin {tabular}. 5in]{Fig1b}% \label{fig_second_case}} (see braces on the end and removed image extension). Vertical LaTeX space. To place all three subfigures side by side in a row, each subfigure's width has to be less than 0. This is a skeleton file demonstrating the use of IEEE_lsens. And an example with subfig is explained in it. Put the command ContinuedFloat after the caption of the first float as a workaround. We can also create an environment by writing. Sorted by: 2. Just add hfill to spread out the figures, which adds a rubber length that is allowed to stretch and shrink horizontally as needed. This can be corrected by adding centering after egin {subfigure} [b] {0. 8. This is the script used: egin{figure}[t]. Everything inside \begin{figure}. 75 extwidth and (b) set the widths of the graphs to 1linewidth, i. 45. all subfloats) or use captionsetup[subfloat]{captionskip=40pt} % You can use any value you like here. I have 2 figures with same meaning, So I put them in subfigure package, to make it easy to show their similarity. The feature I am specifically looking for is to have subfigure numbering (such as (a), (b),. I would like to create a figure with a left-aligned subfloat caption as the following: documentclass{llncs} usepackage{todonotes} usepackage{floatflt} usepackage{graphicx} usepackage{subfig} . And I've got to arrange 4 figures in the form of 2*2. Introduction. 2 (c) 0. LaTeX: multiples imágenes juntas. This is good with automatic table title in the second page. – Mico. . I have this 6x3 subfloats and I want to add vertical titles to each row of them and horizontal titles to each column. 5in] {pre_coherent_c. Just for people with the same problem: Download the newest biber version from sourceforge (2. For that reason the caption package offers a command called phantomcaption (without any arguments) since version 3. 45 extwidth] {Results/Untouched_Frame_351. TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. 1. The better one is to change to the subfig package and modify the code. If multiple subfigures do not fit in one line, latex does an auto linebreak. From the LaTeX FAQ: Insert→Float→Figure. 9cm]{Picture1. 2. Separate the figures into batches that fit on one page and in the figure environments after the first put. I tried all these methods mentioned in this forum but none worked. Please help me to solve the problem. 11 did the trick for me) and install it. Figure 2c, 2d instead of 2a, 2b). Share Improve this answer 4 Answers. But some portion of text comes right after a subsection of images. 1 Answer. 3. Register as a new user and use Qiita more conveniently. This will make the tabular hang lower than the graphic. Sorted by: 10. In addition, however, each subfigure has a caption on its own and the crucial thing with these is that I have to have two lines for each of them generated by a linebreak. This is from CTAN. I would like all of them to be part of same figure 1 and have subsections as (a) , (b) and (c). The reason for doing so could be that you would like to reference to some subfigure ( ef {fig:a}) as has been asked here. The solution is not to use \subfloat and use floatrow's \ffigbox instead. I want sub-caption to be above the figures and main caption to stay below the figures. usepackage[FIGTOPCAP] {subfigure} However, I was curious how other packages solve the problem, specifically subfig and subcaption. (Update from @Werner: a few more symbols to control horizontal space explained here . TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting. Here's a working version setting the font to ptm for both captions. . I have four charts which were originally in eps file format. I noticed that if I pass no arguments to subfloat, no label/numbering is printed, but the image is still counted for the numbering. A minimal working example (MWE) is a little but complete, compilable document, which reproduces your problem, without it it is impossible to answer. With the optional argument, number, you can convert the opagebreak command from a demand to a request. So to get just (a) and (b) you should use:I am new here, and also new to LaTeX, so apologies if I have included too much or too little! I have been using the subfig package, and just today added in cleveref. I managed that using ewline, but now the subcaption always starts on the. Overfull and underfull boxes. TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. 1' in place of this command in the pdf. Development. 3 instead of 0. Follow. If you are really using the subcaption package (and not the subfig one) please use \subcaptionbox instead of \subfloat and put the \label inside the caption text, not inside the sub-figure body. 2. just after the documentclass line, so removing the wrong checks jmlr. Mathematical expressions; Subscripts and superscripts; Brackets and Parentheses; Matrices; Fractions and Binomials; Aligning equations; Operators; Spacing in math. Here is an MWE:Postby sommerfee » Wed May 01, 2013 8:26 am. eps}% \label {pre:c}} \hfil \subfloat. eps}} subfloat. Analogously, [t] should align the t ops. Some notes: label always comes after caption. How to solve. documentclass {article} usepackage {subfig} usepackage {graphicx} egin {document}. Add a comment. On linux, you just have to unpack the zip-file and move the biber executable to the appropriate place:2 Answers. The parameter farskip governs the spacing above and between rows of subfloats; with captionskip we set the distance from the subfigure and the caption. place figures below each other. documentclass{article. Instead, use the float package 's [H] float specifier to set the float inside a minipage. Creating your first LaTeX document; Choosing a LaTeX Compiler; Paragraphs and new lines; Bold, italics and underlining; Lists; Errors; Mathematics. Edit: added the two captionsetup lines to tweak the appearence of the captions. \ref { label } \subref { label } By default, the package will place the figures/tables side-by-side. . However, now I have the problem that the numbering (actually lettering) of subfloats continues, even if I close the figure environment and make. 17. subfloat – Sub-numbering for figures and tables. I'm using IEEEtran class for my conference publication in latex. In this moment I have something like that. . The ones on the first should be numbered (a) and (b), and the ones on the second should be (c) and (d). 2. \begin {figure} [!t] \centering \subfloat [] {\includegraphics [width=1. I would therefore suggest you change the allocated widths from 0. 45linewidth} egin {figure} [H. You can’t use the greek symbols outside of math mode and your command is missing a b, thus. e. cnf, etc. I want my text to come after all my images. We use \subcaption from the subcaption package to show sub-captions inside a mini page. boxed - a box is drawn that surrounds the float, and the caption is printed below. The interface provided by the subfigure package, specifies the first (optional) argument to indicate the vertical alignment.