2

I have used the following to force captions above (tables) and below (figures) as per the answer to this question.

\documentclass{memoir}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[danish]{babel}
\usepackage{biblatex}
\let\newfloat\relax
\usepackage{floatrow}
\floatsetup[table]{capposition=top}
\floatsetup[figure]{capposition=bottom}

\begin{document}

\begin{figure}[h]
\rule{1cm}{1cm}
\caption{A figure}
\end{figure}

\begin{table}[h]
(tabular material)
\caption{A table}
\end{table}

\end{document}

Unfortunately this doesn't work with the biblatex.

Is it possible to force all captions to be above/below with biblatex?

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}
\usepackage[T1]{fontenc}
\usepackage[danish]{babel}
\usepackage{biblatex}
\addbibresource{biblatex-examples.bib}
\let\newfloat\relax
\usepackage{floatrow}
\floatsetup[table]{capposition=top}
\floatsetup[figure]{capposition=bottom}

\begin{document}

\begin{figure}[h]
\rule{1cm}{1cm}
\caption{A figure}
\end{figure}

\begin{table}[h]
(tabular material)
\caption{A table}
\end{table}

\end{document}
  • It sure does. I guess my MWE wasn't good enough. The problem arises when using biblatex and floatrow. – johankj Dec 12 '12 at 15:07
  • 1
    @Josso Then you have to provide a real (short, compilable, shows the problem) MWE. – lockstep Dec 12 '12 at 15:09
  • I've updated with a MWE. I get two different errors based on whether or not I include your redefinition of newfloat. – johankj Dec 12 '12 at 19:43
  • how old is your memoir? Current memoir autoload the etex package if found – daleif Dec 13 '12 at 11:53
  • 1
    @daleif Maybe loading the etex package is superfluous -- using \reserveinserts{20} seems to make a difference, though. – lockstep Dec 13 '12 at 11:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.