[texhax] Landscape orientation with plain TeX

Rodolfo Medina romeomedina at libero.it
Wed Sep 8 17:01:07 CEST 2004


Thanks to all who replied.

I achieved my purpose the following way.
At the beginning of the file I said:

	\input graphicx

, where graphicx.tex is a file featured in the package graphics.tar.gz
available at the ctan address 'macros/plain/graphics'.
Then I said (I don't know if it's very well done, however it seems to work):

\def\landscapeoutput{\shipout\hbox{\rotatebox{90}{\pagebody}}
                 \advancepageno\ifnum\outputpenalty>-20000
\else\dosupereject \fi
                              }

, and then:

\vfill\eject
\hsize=15cm \vsize=15cm
\output={\landscapeoutput}

Bla bla bla.

\end

Best,
	Rodolfo



More information about the texhax mailing list