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 really try to display this table as landscape, but I always get only first page of it.

\documentclass[a4paper,12pt,titlepage]{article}
\usepackage[english, czech]{babel}
\usepackage[T1] {fontenc}
\usepackage[utf8]{inputenc} %znaková sada pro CJ z diakr.
\usepackage[backend=biber]{biblatex}
\usepackage{booktabs}
\usepackage{graphicx}
\usepackage[landscape]{geometry}
\geometry{verbose,tmargin=20pt,bmargin=10pt,lmargin=90pt,rmargin=90pt}
\usepackage{amsmath}
\usepackage{caption}
\usepackage{pdfpages}
\usepackage{longtable}
\usepackage{lscape}

\begin{document}
\begin{landscape}
\begin{longtable}
{rcccccccccccccccccccccccccccccccccccccccccccccccccccccccccc}
            {} & {col1} & {col10} & {col11} & {col12} & {col13} & {col14} & {col15} & {col16} & {col17} & {col18} & {col19} & {col2} & {col20} & {col21} & {col22} & {col23} & {col24} & {col25} & {col26} & {col27} & {col28} & {col29} & {col3} & {col4} & {col5} & {col6} & {col7} & {col8} & {col9} & {0} & {1} & {2} & {3} & {4} & {5} & {6} & {7} & {8} & {9} & {10} & {11} & {12} & {13} & {14} & {15} & {16} & {17} & {18} & {19} & {20} & {21} & {22} & {23} & {24} & {25} & {26} & {27} & {28}\\
            \midrule
            {Počet} & $100.00$ & $100.00$ & $100.00$ & $100.00$ & $100.00$ & $100.00$ & $100.00$ & $100.00$ & $100.00$ & $100.00$ & $100.00$ & $100.00$ & $100.00$ & $100.00$ & $100.00$ & $100.00$ & $100.00$ & $100.00$ & $100.00$ & $100.00$ & $100.00$ & $100.00$ & $100.00$ & $100.00$ & $100.00$ & $100.00$ & $100.00$ & $100.00$ & $100.00$ & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-}\\
            {Aritmetický průměr} & $0.53$ & $0.49$ & $0.51$ & $0.50$ & $0.51$ & $0.51$ & $0.53$ & $0.45$ & $0.51$ & $0.53$ & $0.57$ & $0.48$ & $0.53$ & $0.47$ & $0.44$ & $0.51$ & $0.53$ & $0.48$ & $0.51$ & $0.50$ & $0.53$ & $0.56$ & $0.46$ & $0.51$ & $0.45$ & $0.49$ & $0.53$ & $0.48$ & $0.56$ & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-}\\
            {Geometrický průměr} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & $0.40$ & $0.34$ & $0.33$ & $0.36$ & $0.31$ & $0.35$ & $0.40$ & $0.35$ & $0.43$ & $0.38$ & $0.38$ & $0.39$ & $0.38$ & $0.39$ & $0.41$ & $0.34$ & $0.37$ & $0.44$ & $0.46$ & $0.40$ & $0.34$ & $0.34$ & $0.37$ & $0.41$ & $0.33$ & $0.37$ & $0.37$ & $0.39$ & $0.42$\\
            {Median} & $0.53$ & $0.49$ & $0.51$ & $0.50$ & $0.56$ & $0.47$ & $0.54$ & $0.44$ & $0.50$ & $0.51$ & $0.62$ & $0.48$ & $0.51$ & $0.41$ & $0.43$ & $0.56$ & $0.58$ & $0.50$ & $0.53$ & $0.49$ & $0.57$ & $0.64$ & $0.44$ & $0.48$ & $0.48$ & $0.53$ & $0.53$ & $0.51$ & $0.59$ & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-}\\
            {Modus} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & $0.01$ & $0.01$ & $0.00$ & $0.00$ & $0.00$ & $0.00$ & $0.01$ & $0.02$ & $0.01$ & $0.00$ & $0.01$ & $0.01$ & $0.03$ & $0.02$ & $0.01$ & $0.00$ & $0.00$ & $0.04$ & $0.01$ & $0.00$ & $0.00$ & $0.03$ & $0.00$ & $0.01$ & $0.01$ & $0.01$ & $0.01$ & $0.00$ & $0.00$\\
            {Standardní odchylka} & $0.28$ & $0.28$ & $0.29$ & $0.28$ & $0.30$ & $0.29$ & $0.29$ & $0.26$ & $0.29$ & $0.27$ & $0.27$ & $0.29$ & $0.28$ & $0.29$ & $0.28$ & $0.29$ & $0.28$ & $0.30$ & $0.30$ & $0.29$ & $0.29$ & $0.29$ & $0.27$ & $0.29$ & $0.27$ & $0.28$ & $0.30$ & $0.28$ & $0.30$ & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-}\\
            {Minimum} & $0.01$ & $0.00$ & $0.01$ & $0.01$ & $0.03$ & $0.02$ & $0.01$ & $0.00$ & $0.00$ & $0.04$ & $0.01$ & $0.01$ & $0.00$ & $0.00$ & $0.03$ & $0.00$ & $0.01$ & $0.01$ & $0.01$ & $0.01$ & $0.00$ & $0.00$ & $0.00$ & $0.00$ & $0.00$ & $0.00$ & $0.01$ & $0.02$ & $0.01$ & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-}\\
            {Maximum} & $1.00$ & $1.00$ & $0.99$ & $0.99$ & $1.00$ & $1.00$ & $1.00$ & $0.96$ & $1.00$ & $1.00$ & $0.98$ & $0.99$ & $1.00$ & $1.00$ & $0.98$ & $0.99$ & $0.99$ & $0.99$ & $1.00$ & $0.98$ & $0.99$ & $1.00$ & $1.00$ & $1.00$ & $0.99$ & $0.95$ & $1.00$ & $0.96$ & $1.00$ & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-}\\
            {$25\%$} & $0.31$ & $0.22$ & $0.26$ & $0.29$ & $0.23$ & $0.26$ & $0.26$ & $0.21$ & $0.25$ & $0.29$ & $0.40$ & $0.25$ & $0.33$ & $0.23$ & $0.19$ & $0.27$ & $0.27$ & $0.21$ & $0.25$ & $0.27$ & $0.29$ & $0.28$ & $0.23$ & $0.30$ & $0.22$ & $0.28$ & $0.28$ & $0.20$ & $0.34$ & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-}\\
            {$50\%$} & $0.53$ & $0.49$ & $0.51$ & $0.50$ & $0.56$ & $0.47$ & $0.54$ & $0.44$ & $0.50$ & $0.51$ & $0.62$ & $0.48$ & $0.51$ & $0.41$ & $0.43$ & $0.56$ & $0.58$ & $0.50$ & $0.53$ & $0.49$ & $0.57$ & $0.64$ & $0.44$ & $0.48$ & $0.48$ & $0.53$ & $0.53$ & $0.51$ & $0.59$ & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-}\\
            {$75\%$} & $0.77$ & $0.69$ & $0.77$ & $0.73$ & $0.76$ & $0.75$ & $0.77$ & $0.65$ & $0.74$ & $0.75$ & $0.78$ & $0.74$ & $0.79$ & $0.71$ & $0.67$ & $0.75$ & $0.77$ & $0.75$ & $0.77$ & $0.75$ & $0.76$ & $0.78$ & $0.66$ & $0.76$ & $0.64$ & $0.72$ & $0.79$ & $0.72$ & $0.81$ & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-}\\
            {Variance} & $0.08$ & $0.08$ & $0.08$ & $0.08$ & $0.09$ & $0.08$ & $0.09$ & $0.07$ & $0.08$ & $0.07$ & $0.07$ & $0.09$ & $0.08$ & $0.09$ & $0.08$ & $0.08$ & $0.08$ & $0.09$ & $0.09$ & $0.08$ & $0.08$ & $0.08$ & $0.07$ & $0.08$ & $0.07$ & $0.08$ & $0.09$ & $0.08$ & $0.09$ & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-}\\
            {Šikmost} & $-0.11$ & $0.13$ & $-0.03$ & $0.01$ & $-0.07$ & $0.10$ & $-0.03$ & $0.21$ & $-0.06$ & $-0.00$ & $-0.44$ & $0.07$ & $-0.03$ & $0.29$ & $0.33$ & $-0.14$ & $-0.15$ & $-0.02$ & $0.03$ & $0.03$ & $-0.18$ & $-0.35$ & $0.23$ & $-0.05$ & $0.00$ & $-0.15$ & $-0.08$ & $-0.14$ & $-0.22$ & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-}\\
            {Špičatost} & $-1.12$ & $-1.10$ & $-1.26$ & $-1.06$ & $-1.36$ & $-1.10$ & $-1.21$ & $-1.00$ & $-1.09$ & $-1.14$ & $-0.91$ & $-1.20$ & $-1.08$ & $-1.10$ & $-1.08$ & $-1.18$ & $-1.17$ & $-1.34$ & $-1.28$ & $-1.17$ & $-1.13$ & $-1.07$ & $-0.92$ & $-1.10$ & $-1.02$ & $-1.12$ & $-1.23$ & $-1.29$ & $-1.11$ & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-}\\
            {MAD} & $0.24$ & $0.23$ & $0.25$ & $0.23$ & $0.27$ & $0.24$ & $0.25$ & $0.22$ & $0.24$ & $0.23$ & $0.23$ & $0.25$ & $0.24$ & $0.25$ & $0.24$ & $0.25$ & $0.25$ & $0.27$ & $0.27$ & $0.25$ & $0.25$ & $0.25$ & $0.23$ & $0.25$ & $0.23$ & $0.24$ & $0.26$ & $0.25$ & $0.25$ & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-} & {-}\\
\end{longtable}
\end{landscape}
\end{document}

I tried pdflscale, lscale, use [landscape] in geometry package, and so on, but still only first page.

share|improve this question
    
Welcome. Good to see your code but that is not a Minimum Working Example! Try commenting packages out - if you get the same problem, comment out some more. If not, test to see if you've found the culprit. If you take out everything you can and you still have the error, You have your MWE to post here. If not, you've actually got a lead on where the problem is and can either go from there or post that information here. –  cfr Feb 14 at 23:08
    
Do you want the entire document landscape (as the option to geometry does) or do you just want part(s) of it in landscape (as using the environment does)? The basic problem, though, is that there is no second page. Your table is just too wide. If your table were too high, longtable would help by breaking it over pages. But it cannot break a table which is too wide across pages. That's not how it works. You need to either use a larger paper size or make the table narrower (perhaps by splitting it into two or more tables). –  cfr Feb 14 at 23:11
    
You need a1paper to fit it into the page width as it is. Even with a2paper and \footnotesize it is too wide. Incidentally, \begin{longtable}{r*{58}{c}} is a lot less typing. –  cfr Feb 15 at 1:45
    
@cfr: you're right, sorry for that. But my question is pretty simple - is there a way to do landscape longtable, which can be through several pages? –  kotrva Feb 16 at 11:41
    
I very much doubt it because of the way TeX processes stuff which is essentially token-by-token, paragraph-by-paragraph and page-by-page. This would require TeX to typeset several pages simultaneously. At the very least, that's alien to the way TeX was designed. I hesitate to say it can't be done but I have no idea how it could be done. (Perhaps somebody else will, though.) –  cfr Feb 16 at 13:56
show 2 more comments

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.