Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have a table which is too wide to appear horizontally. I want to flip it such that it appears vertically, and put it in a page by itself (no other text appearing in that page). How would I approach it?

Thanks

share|improve this question

2 Answers 2

up vote 1 down vote accepted

this is a possibility

\documentclass{scrreprt}

\usepackage{pdflscape,booktabs}

\usepackage{lipsum}
\begin{document}
\begin{landscape}
\begin{center}
\captionof{table}{My table}
\begin{tabular}{p{0.5\textwidth}p{0.5\textwidth}}
\toprule
col 1 & Col 2\\
\midrule
\lipsum[13] & \lipsum[25]\\
\bottomrule
\end{tabular}

\end{center}
\end{landscape}
\end{document}
share|improve this answer

In addition to Martin H's answer, you can use the sidewaystable environment from the rotating package. Modifying Martin's example, you would have

\documentclass{article}

\usepackage{rotating}
\usepackage{lipsum}

\begin{document}

\begin{sidewaystable}
  \centering
  \caption{My table}
  \begin{tabular}{p{0.5\textwidth}p{0.5\textwidth}}
    \hline
    col 1 & Col 2\\
    \hline
    \lipsum[13] & \lipsum[25]\\
    \hline
  \end{tabular}
\end{sidewaystable}

\end{document}
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.