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}
\...
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://...
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 ...
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]{...
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}
\...
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 ...
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 ...
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 ...
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 ...
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{...
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 ...
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}
\...
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{
...
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
\...
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 ...
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 ...
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,...
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}
\...
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, ...
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 ...
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}
\...
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 ...
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]
...
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 ...
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 ...
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 ...
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=\...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
floatrow × 196captions × 79
floats × 64
subfloats × 32
tables × 18
subcaption × 18
positioning × 16
spacing × 9
horizontal-alignment × 9
graphics × 7
longtable × 6
hyperref × 5
vertical-alignment × 5
wrapfigure × 5
numbering × 4
listings × 4
footnotes × 4
sidecap × 4
tikz-pgf × 3
errors × 3
cross-referencing × 3
margins × 3
two-column × 3
minted × 3
scrbook × 3