13 votes
Accepted

Captions at right/left side in beamer

Here is a solution using a columns environment: \documentclass{beamer} \setbeamertemplate{caption}{\insertcaption} \begin{document} \begin{frame} \begin{figure} \begin{columns} \...
user avatar
  • 68.1k
9 votes
Accepted

Problem with "floatrow" package in yathesis

This is essentially a bug in the package, \newinsert\flrow@foot should have been \newbox\flrow@foot I've tried to contact the author with no success so far. See the thread starting http://...
user avatar
7 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 ...
user avatar
  • 994k
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]{...
user avatar
  • 994k
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} \...
user avatar
  • 255k
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 ...
user avatar
  • 70.2k
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 ...
user avatar
  • 261k
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 ...
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 ...
user avatar
4 votes
Accepted

Horizontal spacing between subfloats using floatrow and subfig (with fr-subfig support)

Update The subfloatrowsep, floatrowsep keys give you control on the horizontal separation between subfloats (floats) when using floatrow; however, simply using something like \thisfloatsetup{...
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 ...
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} \...
user avatar
  • 255k
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{ ...
user avatar
  • 261k
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 \...
user avatar
  • 92.9k
3 votes
Accepted

Floatrow package is affected in figure environment

You're already using the floatrow package, which permits you to have boxed figures simply declaring \floatsetup[figure]{style=BOXED,captionskip=25pt} I've added a captionskip since you want some ...
user avatar
3 votes
Accepted

Background color around paperwidth figure

The caption moving is being done by floatrow and you can modify its left placement to place it after the image but backspaced, rather than before the image. I don't know the package so I may have ...
user avatar
3 votes

Side-by-side images in LaTeX

May be is not what you wanted (since you have accepted a answer with two subcaptions) but is what your asked ("the second must not be given a caption"): \documentclass{article} \usepackage{graphicx,...
user avatar
  • 73.4k
3 votes
Accepted

Side-by-side images in LaTeX

You can use the subcaption package. Try something like this. \documentclass{article} \usepackage[english]{babel} \usepackage{graphicx} \usepackage{subcaption} \begin{document} \begin{figure} \...
user avatar
  • 1,003
3 votes

How to have image span two columns without a page break

Using multicols may be more useful, than basic LaTeX \twocolumn. The picture was changed, of course, and reduced to show all on one page (hence also \clearpage commented). The rest is unchanged, ...
user avatar
3 votes

Figure and subfigure long caption wrap

It should be a lot easier to do the same thing using the subfig package. However, you can adjust the width of your caption manually with \captionsetup{width=0.3\textwidth} inside the figure ...
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} \...
user avatar
  • 184k
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 ...
user avatar
  • 6,815
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] ...
user avatar
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 ...
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 ...
user avatar
  • 994k
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 ...
user avatar
  • 63.4k
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=\...
user avatar

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