8 votes
Accepted

Minted and floatrow incompatible

The packages float and floatrow are incompatible with each other. However, minted has \RequirePackage{float} at the beginning, so that's the source of the message. Loading the two packages in the ...
egreg's user avatar
  • 1.1m
7 votes
Accepted

How to define an environment which produces floating tables with a given style?

I've always found floatrow too invasive so I removed it. You have to use \table, \tabularx, \endtabularx and \endtable (see the documentation of tabularx). \documentclass[a4paper, 12pt, oneside]{...
egreg's user avatar
  • 1.1m
6 votes
Accepted

Automatic scaling of figure with side by side images with subcaption

width of ffigbox you can determine with option width: \ffigbox[<width>][<height<][<vert pos<]{<caption>}{<object>} in your case try: \documentclass{article} \...
Zarko's user avatar
  • 293k
6 votes
Accepted

Unexpected table/figure reference

First, \autoref does not use \@currentlabelname but rather uses \@currentHref to get the counter name. However, every caption in a figure uses the same \@currentHref, which is set at the top of the ...
John Kormylo's user avatar
  • 77.9k
5 votes

Adjusting vertical spacing in subfloatrow captions (subcaption+floatrow)

Controlling vertical spacing between rows is well hidden in the documentation: you have to declare a key via\DeclareFloatVCode, and ask to apply it with\floatsetup{rowpostcode= …}. Font size can be ...
Bernard's user avatar
  • 270k
5 votes
Accepted

Floatrow package conflicting with centering longtable

For some strange reason floatrow sets \LTleft and \LTright to 0pt breaking longtable's default positioning, you could set them back, or simpler just use \begin{longtable}[c]{rr} to force longtable ...
David Carlisle's user avatar
5 votes
Accepted

Struggling with floatrow (side by side image / caption)

You need floatwidth=sidefil not [\FBwidth]: \documentclass{article} \usepackage{graphicx,floatrow} \usepackage[showframe]{geometry} \begin{document} \parindent 0pt Image plus caption should be full ...
Ulrike Fischer's user avatar
4 votes
Accepted

Automatic scaling of side by side figures

The floatrow package has two macros, \FRleftmargin and \FRrightmargin which are, by default, \hfill. You can redefine each of them to be \hspace{0.1\textwidth} so the space left for the figures will ...
Phelype Oleinik's user avatar
4 votes

Landscape tabular with floatrow and adjustbox

I would write your table as follows: \documentclass[12pt]{article} \usepackage{rotating} \usepackage{booktabs} \usepackage[skip=1ex]{caption} \usepackage{siunitx} \usepackage[version=4]{mhchem} \...
Zarko's user avatar
  • 293k
4 votes
Accepted

Caption above and aligned with the figure, together with a text below the figure with the same alignment

I propose this solution with the copyrightbox package: \documentclass{article} \usepackage{graphicx} \usepackage{caption} \usepackage{copyrightbox} \usepackage{lipsum} \captionsetup{ ...
Bernard's user avatar
  • 270k
4 votes
Accepted

floatrow argument of \end has an extra '}'

You are missing the first mandatory argument of \ffigbox. Also you can not have them .5\textwidth and specify a \quad separation \documentclass{article} \usepackage{graphicx} \usepackage{floatrow} \...
David Carlisle's user avatar
3 votes
Accepted

floatrow: change caption position in odd and even pages (continued)

Your \floatsetup was only for widefigure. You need to add table capability to it. I redefined the \floatsetup0/1 macros: \expandafter\def\csname floatsetup0\endcsname{% \floatsetup[widefigure] ...
Steven B. Segletes's user avatar
3 votes
Accepted

threeparttablex in combination with floatrow: Table not centered anymore

Here's a minimal example which demonstrates that the problem is caused by the combination of floatrow and longtable. \documentclass{article} \usepackage{longtable,showframe} \usepackage{floatrow} \...
cfr's user avatar
  • 193k
3 votes
Accepted

Left Align longtable Caption Beginning at Starting Point of Table

Since you're using floatrow, you can use a facility this package provides. From the docs: 7.2 The longtable Package 7.2.1 Additions in The floatrow Package (...) If you'll write ...
Arash Esbati's user avatar
  • 7,270
3 votes
Accepted

caption vertical spacing broken

The solution for your issues: Redefine the definition of the above rule \DeclareFloatVCode{thickrule}{\par\rule{\hsize}{.8pt}\strut\par\unskip} Load caption before floatrow The complete code \...
Marco Daniel's user avatar
  • 95.2k
3 votes
Accepted

Figure made by two different size images, automatically scaled, with single caption

You can use the adjustbox package for this. Just use gstore height to store the original height of the first image, scale the second image height to it and then scale the whole thing to the wanted ...
Martin Scharrer's user avatar
3 votes
Accepted

inconsistent space between subfloats in subfloatrow

I'm inclined to think of a bug in floatrow. If I remove the first subfloat, the wrong space is again between the remaining second and third ones. The behavior repeats when commenting out the new first ...
egreg's user avatar
  • 1.1m
3 votes
Accepted

This LaTeX code executes now but PDF file is not generated? Please help me

To bring this to an end please see the following minimalized code: \listfiles \documentclass[a4paper,fleqn]{cas-sc} \begin{document} test \end{document} I only added command \listfiles to get an ...
Mensch's user avatar
  • 65.2k
3 votes

tufte-book figure* broken with floatrow

It works for me both with pdf latex and lualatex \documentclass{tufte-book} \usepackage{floatrow} \usepackage{graphicx} \setkeys{Gin}{width=\textwidth+\marginparsep+\marginparwidth,totalheight=\...
Simon Dispa's user avatar
  • 38.5k
3 votes

Why does \floatsetup[table]{capposition=top} not work here?

It works if you use the right command, which is \ttabbox: \documentclass[journal]{IEEEtran} \usepackage{floatrow} \floatsetup[table]{capposition=top} % Table float box with bottom ...
Bernard's user avatar
  • 270k
3 votes

Why does \floatsetup[table]{capposition=top} not work here?

No need to use floatrow and those complicated settings. \documentclass[journal]{IEEEtran} \usepackage{blindtext} \usepackage{booktabs,capt-of} \begin{document} \blindtext \begin{figure} \begin{...
egreg's user avatar
  • 1.1m
2 votes

Table and figure side by side. Using float, not floatrow, seperate captions

From your question I guess, that you like to have independent numbering figures in tables even if they are partly in the same float: Is this, what you like to achieve? The code for above image is: \...
Zarko's user avatar
  • 293k
2 votes

Why does \ttabbox from floatrow make the caption slightly to long

You have unprotected end-of-lines, which I inserted and marked. I also made some changes to the table, using S columns and moving the units to the header (feel free to undo these changes) and used ...
egreg's user avatar
  • 1.1m
2 votes
Accepted

Asymptote and floatrow compatibility

TL;DR Use the subcaption package instead of floatrow. Verbatim-like environments such as asy do not work when you put them inside commands. Works: \begin{figure} \begin{asy} ...asymptote code... \...
Charles Staats's user avatar
2 votes
Accepted

subcaption - caption beside figure

Rather than figure out how to make floatrow work, it was easier just to fake it. It should be noted that the [t] option of subfigure refers to the first baseline, not the absolute top, so what it ...
John Kormylo's user avatar
  • 77.9k
2 votes

Bottom-right align, multi-line, fixed width caption, using float-row

You just have to set the caption margins, slc=off isn't useful here: \documentclass[11pt, a4paper, oneside]{memoir} \setulmarginsandblock{3.5cm}{3.5cm}{*} \setlrmarginsandblock{4cm}{3.5cm}{*} \...
Bernard's user avatar
  • 270k
2 votes
Accepted

Using side captions with multiple subfloats (floatrow and memoir)

Do you looking something like this? For above figure I use package subfig and from memoir sidecaption: documentclass[11pt,a4paper,twoside]{memoir} \usepackage{blindtext} \usepackage{graphicx} \...
Zarko's user avatar
  • 293k
2 votes
Accepted

floatrow: can I use an alternative figure object?

The floatrow package documentation says not to use it with the float package, which you do here in your MWE. Here are the first words of the abstract: "This package was created as extension of the ...
Steven B. Segletes's user avatar
2 votes
Accepted

Floatrow: multiline caption overlaps subsequent float

heightadjust=all needs to be changed to heightadjust=object inside the initial float setup. \documentclass{muthesis} \usepackage{caption} \usepackage{floatrow} \usepackage[demo]{graphicx} \...
Tarass's user avatar
  • 16.9k

Only top scored, non community-wiki answers of a minimum length are eligible