0

I want to put one sidewaystable and one sidewaysfigure in one page to save page space. However, according to this link, these sideways floats always placed on a page of its own. I am wondering if there is any technique that achieves the same effect, while not necessarily adopting the "sideways" approach?

Bernard
  • 271,350
Trams
  • 365

1 Answers1

2

if figure and table are in the same float, they will be placed on the same page

\documentclass{article}           
\usepackage{graphicx}
\usepackage{caption}
\usepackage{rotating}
\usepackage{pdflscape}


\begin{document}

\begin{sidewaystable}
\centering
\begin{tabular}{cc}
a & b \\
a & b \\
\end{tabular}
\caption{Caption}

\vspace{1cm}
\includegraphics[width=2cm]{example-image}
\captionof{figure}{image caption}
\end{sidewaystable}


\end{document}
nuojuk
  • 235