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.

Currently I am using

\usepackage{rotating}

\begin{sidewaystable}
\begin{tabular}...\end{tabular}
\end{sidewaystable}

to typeset landscape tables, which works great.

But I want to rotate that page in the resulting pdf (generated by pdflatex) for more convenient screen reading.

I found the landscape environment which is also mentioned in another question. I tried it like this:

\usepackage{pdflscape}

\begin{landscape}
\begin{table}
\begin{tabular}...\end{tabular}
\end{table}
\end{landscape}

This kind of works, except the original table does not fit anymore on the page, i.e. sidewaystable makes better use of the available space.

Thus my question: Is it somehow possible to just use sidewaystable and instruct pdflatex to rotate it?

Or instruct pdflatex to mark it as rotated such that the PDF viewer knows what to do?

share|improve this question
3  
The question is hard to answer without a concrete example of a table that fits with sidewaystable but not with pdflscape. –  frabjous Oct 8 '10 at 21:37
    
Hi, I'm new here and I'm spanish, so please excuse my english. I'm using landscape, but i can't quit the blank page before all \begin{landscape}, instead of that, landscape is great, have you resolved that problem? I don't know if I should ask this ina new question =S –  Daniteba Jul 18 '12 at 17:45
    
@Daniteba, no, I did not resolve the problem. Since the question is not really about blank page issues just go ahead and ask a new question - of course, you can link this question because it is related. –  maxschlepzig Jul 22 '12 at 8:29
add comment

3 Answers

To make the table fit your landscape, put this in your preamble:

\usepackage{geometry}
\usepackage{pdflscape}

And for your landscape page, do this:

\newgeometry{margin=1cm} % modify this if you need even more space
\begin{landscape}

%put your table here

\end{landscape}
\restoregeometry

If you are working in a document that makes use of fancyhdr, you might want to put \thispagestyle{empty} on your landscape page so that you can make use of the space normally occupied by the header/footer. (and it looks cleaner in my opinion)

share|improve this answer
add comment

I found it to be hard to accommodate both good landscape when viewing on the computer screen, as well as printing everything "right". My problem was with PStricks figure, which looked fine in the sidewaysfig, but was "clipped" when I rotate the page.

To "fix" the issue I have used the good old:

\vspace{-1cm}
\hspace{-1cm}

I know, this is "bad" but hey it worked for me =) I does mess with your head since in a rotated-sidewaysfig page vspace controls horizontal position and hspace - vertical one.

share|improve this answer
add comment

This might work for you:

You can just temporarily rotate the view some pdf viewers (command+R in MAC OSX's preview, or ctrl+shift+plus/minus in acrobat).

share|improve this answer
    
Welcome to TeX.SX! You can have a look on our starter guide to familiarize yourself further with our format. –  Claudio Fiandrino Jul 9 '13 at 17:48
3  
What I read from the question is that the OP want the viewer to recognize this rotation automatically, rather than a manual/temporary rotation. –  Werner Jul 9 '13 at 17:56
add comment

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.