# [OS X TeX] Lanscape tables and references

Maarten Sneep maarten.sneep at xs4all.nl
Tue Aug 21 16:35:53 EDT 2007

```On Aug 21, 2007, at 02:30, Nathan Paxton wrote:

> 	I have a table that needs to be done in landscape, as it's very
> wide. So I decided to use the landscape package (\usepackage
> {lscape}), which you use to enclose the table environment with a
> landscape environment.
>
> 	it works beautifully, with one exception.  When I try to generate
> internal cross-references in the document (using the hyperref
> package and the labels and ref commands), the text generates teh
> correct label ("Table 3.1.1"), but the hyperlinked references go
> instead to the heading for *section* 3.1.1. I've tried a bunch of
> different ways of ordering the various commands to see if that
> makes a difference, but it doesn't.
>
> 	When I remove the landscape commands, the document compiles
> perfectly (except that the table runs off the edge of the page).
> Are there ways to get the landscape package (or something similar
> [I've tried the rotating package, but that doesn't really work
> either]) and hyperref to work together?

This is a question that has a good chance of getting an answer on
comp.text.tex on usenet. I assume that you already searched on the
www.tex.ac.uk FAQ for this question. When posting I would suggest to
use a modified title: Landscape titles and hyperlinks in references.

Best,

Maarten