I have a longer document and try to set a single page in landscape.
This page does not contain text but is entirely filled by a graphic.
If you know a way to achieve this, I'd like to hear about it.
Thank you, Uli
By now, I tried the package lscape; it allows to set pages in landscape.
Unfortunately, lscape does not set the page in landscape if one of the
following two conditions are met
- If a page does not contain text
- If the graphic is "too large"
By now, I couldn't exacly determine how large is "too large". The
example below shows that going beyond the edge of the page is not a
problem. It was created by the way
latex -> dvips -t a4 -> ps2pdf
You can download the files here:
http://thispla.net/landscape.pdf
http://thispla.net/landscape.tex
http://thispla.net/too_much_instant_coffee.ps
This is TeX, Version 3.14159 (Web2C 7.4.5)
(./landscape.tex
LaTeX2e <2001/06/01>
*File List*
article.cls 2001/04/21 v1.4e Standard LaTeX document class
size10.clo 2001/04/21 v1.4e Standard LaTeX file (size option)
babel.sty 2001/03/01 v3.7h The Babel package
germanb.ldf 2001/01/26 v2.6k German support from the babel system
english.ldf 2001/04/15 v3.3l English support from the babel system
lscape.sty 2000/10/22 v3.01 Landscape Pages (DPC)
graphics.sty 2001/07/07 v1.0n Standard LaTeX Graphics (DPC,SPQR)
trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg 2001/08/31 v1.1 graphics configuration of teTeX/TeXLive
dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
too_much_instant_coffee.ps Graphic file (type eps)
too_much_instant_coffee.ps Graphic file (type eps)
too_much_instant_coffee.ps Graphic file (type eps)
too_much_instant_coffee.ps Graphic file (type eps)
***********
\documentclass[a4paper]{article}
\usepackage[german,english]{babel}
\usepackage{lscape}
\usepackage[dvips]{graphicx}
\begin{document}
Page in portrait.
\begin{landscape}
Page in landscape.
\end{landscape}
\begin{landscape}
\includegraphics[width=5cm]{too_much_instant_coffee}
Page in landscape.
\end{landscape}
\begin{landscape}
\includegraphics[width=5cm]{too_much_instant_coffee}
\phantom{Why is this page in portrait?}
\end{landscape}
\begin{landscape}
\includegraphics[width=190mm]{too_much_instant_coffee}
Why is this page in landscape?
\end{landscape}
\begin{landscape}
\includegraphics[width=210mm]{too_much_instant_coffee}
Why is the preceding page in portrait?
\end{landscape}
\end{document}
--
Ulrich Scholz
d @ h s l . e
4 t i p a n t --- http://thispla.net
You could convert the last file into PDF and try pdflatex.
If the graphic is "too large", you may scale it with one of
the options of the \includegraphics[]{} command.
Stefan
.
> I have a longer document and try to set a single page in landscape.
> This page does not contain text but is entirely filled by a graphic.
There are several options. You could just rotate the graphic with
the angle=... key of \includegraphics. See grfguide.(dvi|ps) for more
info. As far as I can see from your example this is probabely the way
to go. You can also scale the graphic with \includegraphics-keys.
If the graphic is larger than your usual typearea and you don't need
page header and footer you could have a look at pdfpages (if pdfLaTeX
is an option). If you don't want to use pdfLaTeX you could have a look
at eso-pic.
Harry
--
When you are in it up to your ears, keep your mouth shut.
Actually, I use pdflatex with \usepackage[activate,DVIoutput]{pdfcprot}
but this showed the same problem as using latex.
Scaling seems not to be the solution: The example I gave shows that the
page is set in portrait even if the graphic is smaller than the page.
And then why has there to be text on a landscape page?
Uli
> You could convert the last file into PDF and try pdflatex.
> If the graphic is "too large", you may scale it with one of
> the options of the \includegraphics[]{} command.
>
> Stefan
if it's a floating graphic, why not use sidewaysfigure from the
rotating package?
--
Robin (http://www.tex.ac.uk/faq) Fairbairns, Cambridge