I'm hoping I can get a quick answer to this question, and I don't have time to make a MWE right now. If I have made a sideways table and used it to layout some images nicely, but I would like the overall table to actually be a figure so that it:
- is titled "Figure xx",
- shows up in the LOF,
- counts towards the figure counter, and
- no longer counts towards table sum or LOT.
Can this be easily done?
Here's a rough code snippet to show what I mean. I'd like to do something equivalent to taking the following:
\begin{sidewaystable}[htpb]
\begin{tabular}
... table contents ...
\end{tabular}
\end{sidewaystable}
and turning it into:
\begin{figure}
\begin{sidewaystable}
\begin{tabular}
... table contents ...
\end{tabular}
\end{sidewaystable}
\end{figure}
However, just wrapping the table in a figure environment like that gives me errors right away at \begin{sidewaystable}
saying it's "not in outer par mode." I also think that even if this did compile, it would simultaneously increment table AND figure counters.
table
environment insidesidewaystable
?sidewaystable
creates a floating object similar totable
but rotated. Nestingtable
insidesidewaystable
will produce errors.tabular
nested inside atable
, so I had the impression that in that setup, to rotate it sideways, you replacedtable
withsidewaystable
but kept the nestedtabular
. The approach I've shown works fine for me with no errors.tabular
insidesidewaystable
, all right, but please notice that in the code you posted you are nestingtable
insidesidewaystable
, and this will produce errors. Perhaps it was just a typo in your code snippet, but you could fix it.