You need to remember that as soon as you leave an empty line, TeX will create a new paragraph and any following material will be typeset below. i have removed these and the tables typeset properly in landscape.
\documentclass{article}
\usepackage{pdflscape}
\begin{document}
\begin{landscape}
\begin{tabular}{lcccc}
Context & Italian & Bormino & Both & N/A \\\hline
\\
Mother & 24.3\% & 59.5\% & 16.2\% & 0\% \\
Parents to age 10 & 27.0\% & 59.5\% & 13.5\% & 0\% \\
Father & 29.7\% & 56.8\% & 10.8\% & 2.7\% \\
Grandfather & 24.3\% & 55.9\% & 10.8\% & 13.5\% \\
Grandmother & 24.3\% & 54.1\% & 13.5\% & 8.1\% \\
Brothers & 21.6\% & 46.0\% & 10.8\% & 21.6\% \\
Swearing & 27.0\% & 40.5\% & 16.2\% & 16.2\% \\
Sisters & 8.1\% & 35.1\% & 8.1\% & 48.7\% \\
Relatives & 24.3\% & 32.4\% & 43.2\% & 0\% \\
Neighbors & 24.3\% & 27.0\% & 46.0\% & 2.7\% \\
Partner & 32.4\% & 24.3\% & 27.0\% & 16.2\% \\
Son & 16.2\% & 21.6\% & 16.2\% & 46.0\% \\
Localities & 29.7\% & 21.6\% & 48.7\% & 0\% \\
At Work & 32.4\% & 21.6\% & 43.2\% & 2.7\% \\
Colleagues & 29.7\% & 18.9\% & 48.7\% & 2.7\% \\
Schoolmates & 43.2\% & 16.2\% & 32.4\% & 8.1\% \\
Thinking & 43.2\% & 16.2\% & 35.1\% & 5.4\% \\
Daughter & 13.5\% & 13.5\% & 8.1\% & 64.9\% \\
Officials & 67.6\% & 13.5\% & 18.9\% & 0\% \\
Praying & 40.5\% & 10.8\% & 16.2\% & 32.4\% \\
Counting/Mental math & 62.2\% & 8.1\% & 29.7\% & 0\% \\
Teachers & 73.0\% & 8.1\% & 5.4\% & 13.5\% \\
\end{tabular}
\begin{tabular}{lcccc}
Context & Italian & Bormino & Both & N/A \\\hline
\\
Teachers & 73.0\% & 8.1\% & 5.4\% & 13.5\% \\
Officials & 67.6\% & 13.5\% & 18.9\% & 0\% \\
Counting/Mental math & 62.2\% & 8.1\% & 29.7\% & 0\% \\
Thinking & 43.2\% & 16.2\% & 35.1\% & 5.4\% \\
Schoolmates & 43.2\% & 16.2\% & 32.4\% & 8.1\% \\
Praying & 40.5\% & 10.8\% & 16.2\% & 32.4\% \\
Partner & 32.4\% & 24.3\% & 27.0\% & 16.2\% \\
At Work & 32.4\% & 21.6\% & 43.2\% & 2.7\% \\
Colleagues & 29.7\% & 18.9\% & 48.7\% & 2.7\% \\
Localities & 29.7\% & 21.6\% & 48.7\% & 0\% \\
Father & 29.7\% & 56.8\% & 10.8\% & 2.7\% \\
Swearing & 27.0\% & 40.5\% & 16.2\% & 16.2\% \\
Parents to age 10 & 27.0\% & 59.5\% & 13.5\% & 0\% \\
Neighbors & 24.3\% & 27.0\% & 46.0\% & 2.7\% \\
Relatives & 24.3\% & 32.4\% & 43.2\% & 0\% \\
Mother & 24.3\% & 59.5\% & 16.2\% & 0\% \\
Grandmother & 24.3\% & 54.1\% & 13.5\% & 8.1\% \\
Grandfather & 24.3\% & 55.9\% & 10.8\% & 13.5\% \\
Brothers & 21.6\% & 46.0\% & 10.8\% & 21.6\% \\
Son & 16.2\% & 21.6\% & 16.2\% & 46.0\% \\
Daughter & 13.5\% & 13.5\% & 8.1\% & 64.9\% \\
Sisters & 8.1\% & 35.1\% & 8.1\% & 48.7\% \\
\end{tabular}
\end{landscape}
\end{document}
To space them a bit apart, you can use hspace{<dimen>}
. For example to leave a 1em space use,
\end{tabular}\hspace{1em}
\begin{tabular}{lcccc}
Answering the various points "why does lscape
package recommend a different package" well it doesn't really. The ctan catalog package descriptions are not (in general) by the package authors but a third party review of the package.
There are three places that "rotation" can occur when considering a page in a pdf file. lscape
only considers one of them [* see note at end about [pdftex]
option] and pdflscape
considers two.
To make a page landscape you need to:
first switch round \textheight
and \textwidth
(and a few other associated lengths). That much you can do in pure TeX.
Then you need to rotate the text box on to the page (since lscape doesn't move the page numbers) This is done by using \rotatebox
from the graphics package and so needs driver dependent code specified by a package option or defaulted from graphics.cfg
.
For printing, that's all you need, but for viewing you might want to rotate the "entire page" the other way so that on-screen the main text is vertical and the effect is that the page outline is rotated to landscape. pdflscape
inserts additional code to rotate the view in the viewer.
But ... some pdf viewers use heuristics to determine the orientation of the "main" text on a page and rotate the page view even when not explicitly specified.
As far as I know you can't reliably rotate the page view in ways that work for all configurations of all viewers. If as in the original lscape
you ignore the issue the page will look fine if using a viewer that auto-rotates and the page has sufficient text that it can tell which way is up (It's harder to tell which is up for images). If you force the view to rotate as in pdflscape
then (I think) if the viewer auto-rotates the it gets rotated twice so ends up the wrong way up. It would be nice to be able to say "this way up" but I don't think that's possible (and it isn't what either package does) you can only say "rotate the view" from a default that might change depending on the viewer.
At least I think that's the situation, I never actually used pdflscape
but I had a quick look at its code while writing this:-)
Ah. As noted above I checked the code for the "other" package but didn't check the code of "my" package. ...
So apparently back in 1999 I accepted a 3rd party diff so that lscape
also affects the pdf page view attributes if used with [pdftex]
. Sorry the version in my head was the original:
% \changes{v3.01}{1999/06/22}{Added better pdfTeX support
% by Scott Pakin, from graphics/3063}
%
%
% \begin{macrocode}
%<*package>
% \end{macrocode}
% Here is what Scott Pakin wrote about the pdftex option:
% \begin{quote}
% I've made a minor improvement to lscape.dtx that I'd like to share
% with the world. My addition makes lscape rotate the PDF "paper" --
% not just the text on the page -- when given the "pdftex" option.
% (Naturally, this works only with pdfLaTeX.) The result is that the
% text is viewable online without the reader having to rotate his/her
% head 90 degrees. The document still prints normally.
% \end{quote}
\ifGin@pdftex
\pdfpageattr{/Rotate 90}
\fi
So I think that there effectively isn't any difference for pdftex but pdflscape
adds equivalent code for many other driver back ends such as dvips or dvipdfm. Sorry about the confusion.
This also explains why you need to use [pdftex]
explicitly lscape
handles that itself to add the code shown above. It would probably be better if instead it just let graphics
handle the options and then make an internal check to see which driver backend graphics ended up using. That way it would also work if the graphics driver were defaulted from graphics.cfg
(as is usually the case with graphics package options).
Best Answer
If you use
rotating
then the default, for two-sided documents, is to rotate the page according to the page number. I think this is exactly what you want.Unfortunately
rotating
doesn't do the same thing aspdflscape
, in that the pages are not rotated in the PDF viewer. I found this related newsgroup message, but I don't believe there was ever a resolution.But you say you're most concerned with the final printed output anyway, so I think
rotating
should be fine for your purposes?