Graphics, Figures & Tablessideways \newgeometry

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
vicen
Posts: 4
Joined: Thu Nov 18, 2010 8:52 pm

sideways \newgeometry

Post by vicen »

Dear all,
I am using "sideways" for the headings of the columns in some tables so that being vertical I do not need to expand the columns (more than the size of the numbers in them). This works perfectly when I do normal compilation in the a4 paper (TEX to DVI, DVI to PS, PS to PDF), but not when I introduce a new geometry with different \pdfpagewidth and \pdfpageheigth (and with PDF textify, which is what I need to print in large pages such long tables). The table appears, but with the headings in horizontal (and hence overfulling the column), e.g.:

Code: Select all

\usepackage{rotating}

\pdfpagewidth=25in \pdfpageheight=16in \newgeometry{a0paper, left=25mm,right=15mm, top=35mm, bottom=-85mm,landscape}

\begin{tabular}{|r|r|}\hline
\begin{sideways}Paper\end{sideways} &\begin{sideways}Static\end{sideways} \\
\hline
HAR1994j & Journal \\
SWRT1996c & Conference \\
\hline
\end{tabular}


Any idea why? Thank you.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply