Quantcast
Channel: Using a table inside a figure tag, otherwise changing table caption to figure - TeX - LaTeX Stack Exchange
Viewing all articles
Browse latest Browse all 4

Using a table inside a figure tag, otherwise changing table caption to figure

$
0
0

I've used a table of figures in order to format their presentation and order.But essentially the whole thing is a figure, so I want it now to get "Figure 5" as a caption. To do that I guess I have to put the entire table inside a figure.

This is what I'm doing, but all that happens is that the caption shows up, but the table isn't there, and there is an error:

! LaTeX Error: Not in outer par mode.

The code is as follows:

\begin{figure*}\centering\caption{Confusion matrices: Single 29-class model}\label{Figure 5}\begin{table}\begin{tabularx}{\textwidth}{c X c }\textbf{GentleBoost} & & \textbf{Baseline} \\ \noalign{\smallskip}\\ \includegraphics[width=7.25cm]{singlematrix_g1} & & \includegraphics[width=7.25cm]{singlematrix_b1} \\ \noalign{\smallskip}\\ \includegraphics[width=7.25cm]{singlematrix_g2} & & \includegraphics[width=7.25cm]{singlematrix_b2} \\ \noalign{\smallskip}\\ \includegraphics[width=7.25cm]{singlematrix_g3} & & \includegraphics[width=7.25cm]{singlematrix_b3} \\ \noalign{\smallskip}\\ \end{tabularx}\end{table}\end{figure*}

However, my only issue is to have it show up as a figure and not table. If it's possible to change the caption from Table to Figure easily - then I'd prefer that!


Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images