Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

\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}
share|improve this answer
    
It sure does. I guess my MWE wasn't good enough. The problem arises when using biblatex and floatrow. –  Johan K. Jensen 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. –  Johan K. Jensen 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

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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