I am trying to make tables and figure work side by side with seperate captions, with float
not floatrow
.
I use float
and subfigure
in a number of places already.
I made a small example with my full preamble.
\documentclass[runningheads,a4paper]{llncs}
\usepackage{import}
\usepackage{amssymb}
\usepackage{amsmath}
\setcounter{tocdepth}{3}
\usepackage{graphicx}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{framed}
\usepackage{url}
\usepackage[colorinlistoftodos]{todonotes}
\newcommand{\itodo}[1]{\todo[inline, color=green!40]{#1}}
\usepackage{pgfplots}
\pgfplotsset{compat=1.10}
\usepackage{tikz}
\usetikzlibrary{plotmarks}
\usetikzlibrary{patterns}
\usetikzlibrary{chains}
\usepackage{tkz-euclide}
\tikzstyle{important line}=[very thick]
\tikzstyle{information text}=[rounded corners,fill=white,inner sep=1ex]
\usepackage{float}
\usepackage{subfigure}
\usepackage{adjustbox}
\usepackage{array}
\usepackage{rotating}
\usepackage{booktabs, multicol, multirow}
\usepackage{adjustbox}
\usepackage{array}
\usepackage{tikz}
\usepackage{lmodern}
\usepackage{floatrow}
\begin{document}
\begin{figure}
\centering
\subfigure[a]{\includegraphics[width=0.24\textwidth]{...}}
\hspace{.02\textwidth}
\subfigure[a]{\includegraphics[width=0.24\textwidth]{...}}
\label{fig:aa}
\end{figure}
\begin{figure}
\begin{floatrow}
\ffigbox
{\begin{tikzpicture}
\end{tikzpicture}
}
{\caption{One}}\label{fig:1}}
\killfloatstyle
\ttabbox
{\scriptsize
\begin{tabular}{ll}
\hline
column1a & column2a \\
column1b & column2b \\
column1c & column2c \\
\hline
\end{tabular}
}
{\caption{2}\label{tab:ss}}
\end{floatrow}
\end{figure}
\end{document}
\usepackage{floatrow}
and a\begin{floatrow}
in your example. Are you going to use it, or not to use?\tikzstyle
is deprecated and should be replaced by\tikzset
(unless you are using a quite old version of PGF/TikZ which is not recommended). Don't load packages more than once. It is a recipe for mysterious, hard-to-diagnose problems whose underlying causes turn out to be annoyingly simple. When posting examples, only use a non-standard class if it is essential to the question. In that case, please provide a link so that people can obtain the class. Otherwise, use a standard class.