# Tag Info

31

This is caused by the floatrow package. If you don't use that package, the caption would be placed above. With floatrow, I would use a table environment instead of figure and specify the table style: \floatsetup[table]{capposition=top}

21

You can use \caption* command instead of \caption provided by caption package. \documentclass{article} \usepackage{floatrow} \usepackage{caption} \begin{document} \begin{figure}[h] \ffigbox[\FBwidth] {Your picture is here.} {\caption*{To my family}} \end{figure} \end{document}

16

Here's one possibility. Since your images must go in specific places, I think that it's better not to use floating environments. I propose a different approach, using boxes (in this case, minipages) to place the information: \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[norsk]{babel} \usepackage[landscape, ...

10

The following duplicates your layout, to some extent, and is flexible: \documentclass{article} %\usepackage{showframe}% http://ctan.org/pkg/showframe \usepackage{caption}% http://ctan.org/pkg/caption \usepackage[labelformat=simple]{subcaption}% http://ctan.org/pkg/subcaption %\usepackage{graphicx}% http://ctan.org/pkg/graphicx ...

8

Here's one possibility (the geometry package with its showframe option was only used to display a frame as a visual guide): \documentclass[12 pt]{article} \usepackage[showframe]{geometry} \usepackage[demo]{graphicx} \usepackage[singlelinecheck=off]{caption} \usepackage{floatrow} \usepackage{lipsum} \newlength\Myfigwd \begin{document} \begin{figure} ...

7

Here's one possibility; you might need to adjust some lengths according to your actual needs: \documentclass{article} \usepackage[demo]{graphicx} \usepackage{floatrow} \usepackage{subfig} \begin{document} \begin{figure} \ffigbox[][7.8cm]{% \begin{subfloatrow} \ffigbox[\FBwidth][] {\caption{subfigure-a}} ...

7

You could work out how much space is taken up by your float style and adjust accordingly, or you could just let latex do it for you. If you use \includegraphics[height=\dimexpr\textheight\relax]{dummy} LaTeX reports LaTeX Warning: Float too large for page by 22.2pt on input line 9. so if you use ...

7

To make the word "Figure" appear in uppercase, you can use the option figurename=FIGURE in the \captionsetup. To change the subfigure letters to uppercase, you can use \renewcommand{\thesubfigure}{\Alph{subfigure}} somewhere in your preamble. If you also want the caption text to be made uppercase, you can define a new style using ...

7

\documentclass{article} \usepackage[demo]{graphicx} \usepackage{caption} \usepackage[labelformat=simple]{subcaption} \renewcommand\thesubfigure{(\alph{subfigure})} % see subcaption doc \begin{document} \begin{figure} \captionsetup{singlelinecheck=off} \captionsetup[subfigure]{singlelinecheck=on} % \captionbox{Foo\label{fig:1}}[0.42\textwidth][l]{% ...

7

You can use the option heightadjust=object for \floatsetup, as I did in the following example: \documentclass[10pt]{article} \usepackage{floatrow} \usepackage[demo]{graphicx} \floatsetup{heightadjust=object} \begin{document} \begin{figure} \begin{floatrow} \floatbox{figure}[.4\textwidth][\FBheight][t] {\caption{first image positioned at the top} ...

6

A \colorbox adds additional margins, i.e. \fboxsep, so one need to subtract it two times from the \textwidth. The easiest way to fix this is to use the pre-defined colorbox of the caption package which code already respects \fboxsep: \documentclass{article} \usepackage{caption} \usepackage{floatrow} \floatsetup[figure]{framestyle=fbox, ...

6

Since you are using the caption package, you could also set the option \usepackage[labelformat=empty]{caption} or to change the options at a specific point use \captionsetup{labelformat=empty}. Taken from Caption manual

6

If you want them vertically centered, you can use \CenterFloatBoxes, as in the following example: \documentclass{article} \usepackage{floatrow} \usepackage[demo]{graphicx} \begin{document} \begin{figure} \CenterFloatBoxes \begin{floatrow} \ffigbox {\includegraphics{image}} {\caption{A caption for a figure in a figure and a table side by ...

6

You can use \RawCaption outside the \floatbox command: \documentclass{article} \usepackage{floatrow} \usepackage[demo]{graphicx} \usepackage{siunitx} \usepackage{caption} \begin{document} \begin{figure} \RawCaption{\caption{Selected Interatomic Distances of Protons in $\beta$-Pinene Normal actone}\label{fig:noeDistances}}\vskip\captionskip ...

6

It seems the starred environment version subfloatrow* produces the correct numbering. The floatrow manual isn't too verbose, though, about why is so -- quoting from section 6.2: subfloatrow* The starred form loads settings for creation captions of float parts, but in this environment the \caption command restores its meaning. Thus, you need the ...

5

You can use the \renewcommand\subfloatrowsep{\hskip 6\columnsep} to increase the figure separation. \documentclass{article} \usepackage{caption,subcaption,floatrow} \usepackage[demo]{graphicx} \usepackage[english]{babel} \usepackage{blindtext} \begin{document} \thisfloatsetup{floatwidth=.35\hsize,% capposition=beside,% capbesideposition=left,% ...

5

You have fixed the with of \includegraphics exactly as big as \ffigbox. Probably the problem is only that the content can not be as big as the container. Narrowing a pinch the images, for example to .45\Xhsize and .95\Xhsize, seem to solve the problem and it is even more elegant (IMHO, of course). With .499\Xhsize and .999 \Xhsize the horizontal difference ...

5

You missed one % \begin{subfloatrow}[3]%<<<<<<<<<<<<<<<<<

5

Placing \caption{...} before the tabular environment works (unless perhaps you're using some non-common document class): \documentclass{article} \begin{document} \begin{table} \centering \caption{This is a table description that should be on top of the table.} \begin{tabular}{|c|c|c|} \hline 1 & 2 \\ \hline 3 & 4 \\ \hline ...

5

I found out that one needs to restore the normal LaTeX behaviour, which is introduced by adding \RawFloats at the beginning of the figure environment.

5

The quickest solution is to use the \RawFloats command (or the rawfloats package option); for other possible solution, see the quote below: \documentclass{article} \usepackage{booktabs} \usepackage{floatrow} \begin{document} \begin{table} \RawFloats \centering \makebox[0pt][c]{\parbox{1\textwidth}{% \begin{minipage}[b]{0.5\hsize}\centering ...

5

Here's a very basic, feasible implementation that inserts the caption at the desired location: \documentclass{article} \usepackage{graphicx}% http://ctan.org/pkg/graphicx \newsavebox{\graphicsbox} \begin{document} \begin{figure}[ht] \centering \savebox{\graphicsbox}{\includegraphics[width=.7\linewidth]{myfigure}}% Store image ...

5

Here is a solution using a columns environment: \documentclass{beamer} \setbeamertemplate{caption}{\insertcaption} \begin{document} \begin{frame} \begin{figure} \begin{columns} \column{.6\linewidth} \includegraphics[width=\textwidth]{example-image} \column{.3\linewidth} \caption{Example image} ...

4

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://tug.org/pipermail/tex-live/2015-June/037042.html Meanwhile it is normally OK if you load floatrow first before the classic registers run out, however here ...

4

I made a two-line change to boxhandler's macro \ReciteFigure, and set of few of the package parameters. \documentclass{article} \usepackage{floatrow} \usepackage{caption} \usepackage{boxhandler} \makeatletter \renewcommand\ReciteFigure[6][ht]{% \begin{figure}[#1]% \begin{\LRFigurePlacement}% \let\@makecaption\new@makecaption% ...

4

I don’t know the floatrow package but it seems like you want to use \RawCaption: This command allows to “release” caption contents from special box register created by floatrow package for the creation of necessary layout. Code \documentclass{article} \usepackage{tikz} \usepackage{floatrow} \begin{document} \begin{figure} \begin{tikzpicture} ...

4

You can use a \parbox of the desired width. For example, to get a width equal to 0.6 times the width of the text area you can say: \documentclass{article} \usepackage[demo]{graphicx} \usepackage{floatrow} \usepackage{siunitx} \begin{document} \begin{figure} \parbox{.6\textwidth}{\RawCaption{\caption{Selected Interatomic Distances of Protons in ...

4

The basic idea is to use TikZ to place the images inside nodes with names; this will give you control over the positioning and will also allow the placement of arrows. The requirement about cross-referencing can be fulfilled simply by using the \label, \ref mechanism. Some explanations I decided not to use overpic at all. The grid and placement of ...

4

\let\newfloat\relax before loading floatrow seems to do the trick. EDIT: The "No room for a new \count" error that seems to be caused by the combination biblatex/floatrow can be resolved by adding \usepackage{etex} \reserveinserts{20} at the start of the preamble. \documentclass{memoir} \usepackage{etex} \reserveinserts{20} \usepackage[utf8]{inputenc} ...

4

Since your example document is fine when using caption v3.2f this is either a bug in the actual version v3.3 or an incompatibility between caption and floatrow caused by the re-implementation of the counter handling in caption v3.3 (which became necessary due some issues of the old counter handling). However, since floatrow is not supported by its author ...

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