Page Layouthyperref | Additional blank Pages appear

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
PieterTK
Posts: 2
Joined: Mon Jun 18, 2012 2:18 pm

hyperref | Additional blank Pages appear

Post by PieterTK »

Hi Guys,

I hope you could help me out with the following problem. I added some huge tables in the appendix of my thesis and used the rotation package to make them fit the pages. After creating these tables I found out that in the appendix blank pages were generated. When I was making a small working example (see below) for my problem I found out that by excluding the hyperref package the problem was solved. Excluding this package is not an option for me. Hopefully you guys could help me out. Just one minor thing: the syntax of the tables also need to stay the same because I need this for including colors into my matrices.

Thanks in advance,
Pieter

Code: Select all

\documentclass[10pt,fleqn,a4paper]{article}
\usepackage{amsmath,a4wide}
\usepackage{hyperref}
\usepackage{rotating}
\usepackage{colortbl}

\definecolor{lllgray}{gray}{0.5}
\definecolor{llgray}{gray}{0.9}

\begin{document}
\appendix

\section{TEST}

\begin{sideways}
\begin{minipage}{\textheight}
\begin{align*}
\begin{pmatrix}
\begin{tabular}{cc}
\multicolumn{1}{>{\columncolor{lllgray}}c}{ \tiny -6,87}  & 0\\
 4 & 1  
\end{tabular}
\end{pmatrix} 
\end{align*}
\end{minipage}
\end{sideways}

\section{TEST2}

\begin{sideways}
\begin{minipage}{\textheight}
\begin{align*}
\begin{pmatrix}
\begin{tabular}{cc}
\multicolumn{1}{>{\columncolor{lllgray}}c}{ \tiny -6,87}  & 0\\
 4 & 1  
\end{tabular}
\end{pmatrix} 
\end{align*}
\end{minipage}
\end{sideways}

\end{document}

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

CrazyHorse
Posts: 351
Joined: Sat Aug 02, 2008 8:47 am

hyperref | Additional blank Pages appear

Post by CrazyHorse »

you cannot use \begin{minipage}{\textheight}
 because you need some space for the section title. So both moved to the next page. Use \begin{minipage}{0.95\textheight}
 and it should be on the first page.
PieterTK
Posts: 2
Joined: Mon Jun 18, 2012 2:18 pm

hyperref | Additional blank Pages appear

Post by PieterTK »

Thanks a lot, that worked!

Additional I had to scale my tables (they where still to big). So this could be a a suggestion for people who read this thread. Use the scalefnt package for reducing the size of your tables.
Post Reply