When using the floatrow
package to layout figures with the caption to the side, I get a overfull \hbox
errors.
Overfull \hbox (3.33331pt too wide) in paragraph at lines 23--23
If I set \FBwidth-1
on each \ffigbox
the error goes away. Hackish?
I have many figures that will be done this way, what is the proper way to do the \subfloatrow
so this doesn't happen?
\documentclass[draft]{article}
\usepackage{graphicx}
\usepackage{floatrow}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{lipsum}
\usepackage{calc}
\begin{document}
\lipsum[1]
\begin{figure}
\thisfloatsetup{valign=t,heightadjust=all}
\fcapside[0.7\textwidth]{\fboxsep-1pt%
\begin{subfloatrow}[3]
\ffigbox[\FBwidth]{\caption[]{}\label{fig:test15a}}{\includegraphics[width=\hsize]{sample1}}%
\ffigbox[\FBwidth]{\caption[]{}\label{fig:test15b}}{\includegraphics[width=\hsize]{sample2}}%
\ffigbox[\FBwidth]{\caption[]{}\label{fig:test15b}}{\includegraphics[width=\hsize]{sample3}}%
\end{subfloatrow}
}{
\caption{Horizontal sub-figures, top aligned}%
\label{fig:test15}%
}
\end{figure}
\end{document}