What is the best way to combine an image and a table vertically like the following layout?

|     Image    |
  a) Our Image
|     Table    |
  d) Our Table

I found this question related. However, it is discussing multiple figures and not a figure and table.

  • 2
    Technically there is no difference between an image and a tabular. Don't know why you're labelling it (a) and (d) though. – Werner Aug 25 '16 at 18:44

Although you do not mention this aspect in your question, I guess that the main problem, here, is to get the right entries in the list of figures and list of tables. Your friend, in this case, is the caption package, as the following compilable example shows.

% My standard header for TeX.SX answers:
\documentclass[a4paper]{article} % To avoid confusion, let us explicitly 
                                 % declare the paper format.

\usepackage[T1]{fontenc}         % Not always necessary, but recommended.
% End of standard header.  What follows pertains to the problem at hand.

\usepackage{caption}    % essential
\usepackage{booktabs}   % just provides better rules for tables
\usepackage{graphicx}   % for figures
\usepackage{mwe}        % dummy text, easier access to example figures
\usepackage{hyperref}   % to check that it works too

% you asked for captions following tables
\captionsetup[table] {position=bottom}



\section{Our example}


    \includegraphics[scale = .5]{image-a}
    \caption{A figure with the letter~``A'''}

Some text that refers to figure~\ref{fig:a} and to figure~\ref{fig:b}.


        Alpha & Beta & Gamma  \\
        1 & 2 & 3  \\
        4 & 5 & 6  \\
    \caption{The first table}

Some text that refers to table~\ref{tab:first} and to table~\ref{tab:second}.


\begin{figure}[tbp] % here "figure" could also be "table"
    \includegraphics[scale = .25]{image-b}
    \captionof{figure}{A figure with the letter~``B'''}
    \bigskip % for example; or "\vspace{...}"
        Delta & Epsilon & Zeta  \\
        10 & 20 & 30  \\
        40 & 50 & 60  \\
    \captionof{table}{The second table}


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.