Multi-column subfloats with subfig

I have to use subfig instead of subcaption because the style I have to use redefines the look of captions and I can't change that. Given this constraint, how do I use multicol to make multiple-columns subfloats?

The problem is that this doesn't work:

\documentclass{article}  \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[caption=false]{subfig} \usepackage{multicol}  \begin{document}  \begin{figure} \subfloat[inner caption]{   \begin{multicols}{2}   \end{multicols} } \caption{outer caption} \end{figure} \end{document} 

since it results in

 ! LaTeX Error: Something's wrong--perhaps a missing \item. 

(BTW, "something's wrong" is the stupidest error message I've ever seen...)

My ultimate goal is to put two bussproof proof trees side-by-side, and then more, wider proof trees in single column below it; all in the same single subfloat.


What about using minipage inside the subfigure?




\subfloat[inner caption]{

\subfloat[inner caption2]{
\caption{outer caption}

Multi-column subfloats with subfig

Category: subfloats Time: 2016-07-30 Views: 0

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development


Front-end development


development tools

Open Platform

Javascript development

.NET development

cloud computing


Copyright (C), All Rights Reserved.

processed in 0.151 (s). 12 q(s)