Questions tagged [floatrow]
{floatrow} is a package that customizes layouts of {floats} (both the float body and its {captions}).
192
questions
0
votes
2
answers
24
views
how to subreference in floatrow package - hyperref?
I have a subfigure environment using the floatrow package and I would like to reference each figure in the panel individually in my paragraph as follows:
figure (3a) and figure (3b)
but it somehow ...
4
votes
1
answer
151
views
Unexpected table/figure reference
Code
Consider the follwing example:
\documentclass[danish]{article}
\usepackage{polyglossia}
\setdefaultlanguage{danish}
\usepackage[demo]{graphicx}
\usepackage{booktabs}
\usepackage{floatrow}
\...
0
votes
1
answer
17
views
Floatrow different margin caption justification based on even-odd page
I want caption justification to behave differently for even and odd pages in a twoside document.
Consider the following MWE where I use packages caption and floatrow to achieve figure captions in the ...
0
votes
2
answers
44
views
adjust the width of the caption to the width of a table
there are probably many questions similar to the one I have mentioned
Url 1
Url 2
but it turns out that it doesn't work in my case, I've read the floatrow documentation and the \FBwidth command caught ...
0
votes
0
answers
81
views
above- and belowcaptionskip with Floatrow package
Is it possible to force the floatrow package to take into account the values of \abovecaptionskip and \belowcaptionskip?
Even if I (re)define these two lengths after \usepackage{floatrow}, they are ...
0
votes
0
answers
44
views
Minted & Top Caption
I have tried to use the following example to get the caption for listing above the listing.
(I also saw the example for newfloat, however I already use float for figures and tables as well.)
However, ...
2
votes
1
answer
119
views
Caption above and aligned with the figure, together with a text below the figure with the same alignment
I need to generate figures with a caption above and an explanative text below. The figure below shows the desired output.
I have found some similar working examples, but up to now none worked right ...
0
votes
1
answer
43
views
\floatfoot of floatrow package causing unexpected color changes
I use floatrow to format my floats, and noticed some unexpected behaviour. In the \InsertTable command I created, if the final, optional [] argument is present, which is supposed be for optional table ...
0
votes
1
answer
445
views
`Package floatrow Error: Caption(s) lost.` using `kaobook`, related to `center` environment
Here is a MWE:
\documentclass{kaobook}
\usepackage{mwe}
\begin{document}
\mainmatter
\begin{figure}
\begin{center} % culprit
\includegraphics[width=0.5\columnwidth]{example-image}
...
1
vote
2
answers
362
views
How to put side caption in a figure that is wrapped inside a a text?
I am relatively new and struggle to combine different packages. I am trying to wrap a figure within my text and I also want the caption to be aligned on the side of the text. My current approach looks ...
0
votes
3
answers
130
views
Lower caption for beside caption with floatrow package
I'm using the floatrow package for float and caption design. I like the prospect of captions beside figures/tables; however, when I vertically position them to the top, I think it would look better if ...
2
votes
1
answer
93
views
Dynamic definitions not working in ttabbox
I made a macro called \uref with some help from around here. It creates dynamic definitions that produce unique labels. If I call it with \uref{first} it returns a, and every subsequent call with the ...
0
votes
0
answers
128
views
sidesubfloat command is 'Undefined control sequence. \input'
\sidesubfloat[]{\label{fig:001:a}
\centering
\input{Figures/Fig_001/Fig_001_a.tex}}
\par
\sidesubfloat[]{\label{fig:001:b}
\centering
\input{Figures/Fig_001/Fig_001_b.tex} }
...
1
vote
1
answer
60
views
tufte-book figure* broken with floatrow
I would like to include a full-width figure in a document prepared with the tufte-book class.
I've found that using the floatrow package, along with using the setkeys option of graphicx, breaks the ...
1
vote
1
answer
42
views
Fix cleveref ?? prefix with floatrow
I am following the solution in this answer to add captions and cross-references to code chunks in an .Rmd file.
I would like to use cleveref to refer to these code chunks. However, currently my \cref'...
2
votes
2
answers
431
views
Render captions above figures with \caption below \includegraphics while using endfloat
Background: My TeX file is generated from R Markdown and captions are automatically placed below included figures. Here is a minimal example of what my generated TeX file looks like:
\documentclass[...
3
votes
2
answers
154
views
Landscape tabular with floatrow and adjustbox
I have a somewhat large table, and I'm trying to make it landscape oriented (else it not fit). However, I'm using the floatrow package in order to make the caption wrap with the dimension of the table....
0
votes
2
answers
99
views
Center two images with different heights/widths vertically aligned by the center with captions at the bottom
I want to center two images side by side, that are vertically aligned by the center with the captions at the bottom. I managed to do everything, except to center them.
Here is the picture:
Here is my ...
1
vote
0
answers
131
views
Caption in the margin with scrbook
I use scrbook in a twoside layout.
I want to place the captions of floats in the margin next to the float (figures, tables, listings), aligned with the top of the float.
I know that there is tufte-...
0
votes
0
answers
209
views
Undefined subtype 'subfigure' when using floatrow to create subfigures with subcaptions in VScode latex-workshop
I am try to creat multi rows and columns subfigures each with subcaption. I've run my code in Overleaf, which works fine. However, when I run the same code locally on my windows laptop using VScode ...
0
votes
1
answer
72
views
Place text over figures in sidesubfloat
I'm using \sidesubfloat to put two pictures in a row.
I want to put a text over one of the pictures using \put command.
I used the following code:
\begin{figure}
\setlength{\unitlength}{\linewidth}
...
0
votes
1
answer
126
views
threeparttable caption width destroyed by floatrow package
When I use the floatrow package, threeparttable's ability to change the caption width to fit the table seems to be lost. The first image shows what I expect:
But this behaviour is lost with floatrow.
...
0
votes
1
answer
54
views
Conditional variable (counters) defined in a command called from a figure behaves as it was automatically defined before
I recently try to generalise a command working with footnotemark and footnotetext.
For that, I work with a conditional call that defined a counter, which serves as a testing of previous calls.
I ...
4
votes
1
answer
250
views
Struggling with floatrow (side by side image / caption)
Two questions:
The 50% figure at the top is slightly too wide. What would be the correct way to tell the caption to be a smaller?
The 2/3 figure should be 2/3 image and 1/3 (a bit less) caption. ...
1
vote
0
answers
103
views
Floatrow distorts algorithm caption
This is the template for a conference: https://media.icml.cc/Conferences/ICML2020/Styles/icml2020_style.zip. I'm using that template for my paper. However, when I do \usepackage{floatrow}, it distorts ...
0
votes
1
answer
180
views
Consistent space between text for figures, tables, etc. (floats)
Assuming I am using an [H] float, I'd like to create equal space above the caption, and below the table (for a table with caption above), and that same space above a figure, and below the caption (for ...
1
vote
3
answers
102
views
How can a top alignment of a multigraph image be achieved with the floatrow package?
I am trying to arrange the subimages (a) and (b) of the following MWE such as that they are aligned on top. I tried it such as explained in the solution of How to achieve top-alignment of images in ...
0
votes
0
answers
91
views
The mysterious "missing endgroup" error
First, thank you to everyone for being so helpful with my posts! Hopefully I am not getting too annoying, but I have another issue.
I am putting in nicely formatted tables. The following code ...
0
votes
1
answer
69
views
floatrow: have graphic occupy space equal to its size, and caption fill remaining space
Edit: clarified title and requirement.
How do I make the graphic below take up space equal to the size of the graphic, and then have the caption fill the remaining space?
\documentclass{article}
\...
0
votes
0
answers
327
views
How to refer to Figures inside ffigbox?
I have written the following code in which there are two figures and a table side by side. When I refer to the figure using \ref{dev} the reference shows up correctly but referring to the individual ...
0
votes
1
answer
96
views
floatrow - Empty beside caption takes up too much space
I have a row of floats using the floatrow package. I'd like each on to be labeled, but the caption to be empty. When I use capposition=beside, capbesideposition={center, left}, the label is too far ...
2
votes
1
answer
176
views
longtabu is not working in combination with \usepackage{floatrow}
Latex newbie here. I currently trying to write my thesis and wanne include a pretty long table. Had several issues already regarding this table but now I think using the usepackage {longtabu} might ...
1
vote
2
answers
363
views
How to align a caption to the left side of a table in an wrapped environment
I am trying to find a solution for the following problem:
I have a table in a wrapped environment (wraptable). I need my table caption to be left aligned with the table. Also, I don't want the ...
2
votes
1
answer
363
views
Figure and caption side-by-side with multiple includegraphics commands
I am trying to adapt this solution (top option) for placing captions beside the figure. If I have one figure it works as expected, but when I try to add a second \includegraphics command to get an ...
1
vote
1
answer
257
views
Sequentially arrange multi-page side by side figures
I have many images to display on multiple pages, with 4 rows of 2 images side by side (total 8) per page.
However, I do not want the images at the last page (sometimes <4 rows) to be centered, but ...
3
votes
2
answers
105
views
Caption of 3 figures correctly
How do i get the figure caption as i have them in the following picture?
\documentclass[a4paper,
10pt,
twocolumn,
%draft,
leqno,
%fleqn
]{scrartcl}
\usepackage{subfigure}
\usepackage{floatrow}
\begin{...
0
votes
2
answers
421
views
This LaTeX code executes now but PDF file is not generated? Please help me
\documentclass[a4paper,fleqn]{cas-sc}
\usepackage{cite}
\usepackage{multirow}
%\usepackage[utf8x]{inputenc}
\usepackage{mathrsfs}
\usepackage{amssymb,amsthm}
\usepackage{caption}
\captionsetup[figure]{...
1
vote
1
answer
261
views
single caption under multiple figures using floatrow
I am trying to place a single caption underneath four figures. I can place a caption underneath each figure, but that is not what I want.
I am using the floatrow package.
\documentclass{article}
\...
1
vote
0
answers
229
views
Issue with \usepackage{floatrow} . please help
All, I used to run my my .tex code without any problem until this week where I started getting error
! LaTeX Error: File `floatrow.sty' not found
with the package \usepackage{floatrow}
I dont see ...
0
votes
1
answer
492
views
Modify Floatfoot of Floatrow Package and move Rule
From the floatrow package, I am using the floatfoot command to reference sources and similar content.
This MWE produces an output that is quite acceptable:
\documentclass{article}
\usepackage{...
2
votes
1
answer
235
views
How to hang floats in outer margins with floatrow in twoside documents
In this document I tried to have wide figures hang in the outside margins.
\documentclass[twoside]{book}
\usepackage{graphicx}
\usepackage{lipsum}
\usepackage{floatrow}
\floatsetup[widefigure]{...
2
votes
1
answer
90
views
Figures and captions with a left shift in twoside documents using floatsetup
I'm using scrbook class and configure floats by the floatrow package. In twoside documents it produces a left shift of 2pt for floats on odd pages.
How can align floats as on even pages?
Example:
\...
4
votes
1
answer
101
views
inconsistent space between subfloats in subfloatrow
There is an inconsistent space between the second and third subfloat in subfloatrows. I don't understand where it comes from and how to remove it. (OMFSM, MWEs can take a really long time to assemble!)...
1
vote
1
answer
97
views
Bug? ibidem in floats with the `floatrow`-package
When I use the floatrow-package with biblatex and a citation style that uses ibidem-tracking, usually, when I cite a publication twice, the second time the citation gets replaced with (ibid.) (or ebd. ...
1
vote
1
answer
377
views
Rotating captions with adjustbox does not work when floatrow package is loaded
I tried to rotate a figure and its caption using the adjustbox package.
This works fine, until I load the floatrow package too, then the caption isn't rotated.
See my MWE:
\documentclass{article}
\...
4
votes
1
answer
218
views
Automatic scaling of figure with side by side images with subcaption
I'm using a quite satisfying solution for figures with side by side images with subcaption, a solution by which images are sized automatically to same height and to text width, see MWE below.
\...
9
votes
1
answer
594
views
Automatic scaling of side by side figures
I'm using a quite satisfying solution for side by side independent caption figures, a solution by which images are sized automatically to same height and to text width, see MWE below.
\documentclass{...
0
votes
0
answers
356
views
two figures side by side with a single caption using floatrow
I use the floatrow package to place figures side by side and have now difficulties in a case I want to have a single caption for two figures side by side.
The code
\begin{figure}[!ht]
\...
0
votes
0
answers
265
views
Floatrow: \floatbox for single element floats
Is the use of \floatbox (\ffbox, \ttbox, ...) required in single element float enviornments? While the documentation of floatrow uses it in all its examples, I can't tell a difference between an image,...
2
votes
3
answers
322
views
Figure made by two different size images, automatically scaled, with single caption
In order to get a figure made by two different size images automatically scaled to the same height and to full text width, with a single caption, I tried to adapt some examples from floatrow package.
...