Article View: comp.text.tex
Article #10533Re: dvips: How to get two TeX pages on one landscape side ?
From: Piet van Oostrum
Date: Fri, 28 Jun 1991 08:43
Date: Fri, 28 Jun 1991 08:43
36 lines
2002 bytes
2002 bytes
>>>>> winckler@sun1.ruf.uni-freiburg.de (Joerg Winckler) (JW) writes:
JW> I try to get two small TeX-pages one one side of a sheed of paper in
JW> landscape mode. Does anyone knows the PostScript Code required for this
JW> and where to put it in the *.pro files ?
I suppose you have dvips 5.47.
Use this with -h twoup.ps -t landscape
(or \special{landscape}\special{header=twoup.ps}
--------------------------------- twoup.ps ---------------------------------
/isoddpage true def
/orig-showpage /showpage load def
/factor 0.707106781187 def
/showpage {
isoddpage not { orig-showpage } if
/isoddpage isoddpage not store } def
/bop-hook {
/vsize 1 factor add neg def
isoddpage {factor factor scale}
{ 0 544.283799804 translate} ifelse
} def
/end-hook{ isoddpage not { orig-showpage } if } def
---------------------------------------------------------------------------
Note: the numbers are for A4 paper size. For USA paper you might have to
fiddle with the positioning.
--
Piet* van Oostrum, Dept of Computer Science, Utrecht University,
Padualaan 14, P.O. Box 80.089, 3508 TB Utrecht, The Netherlands.
Telephone: +31 30 531806 Uucp: uunet!mcsun!ruuinf!piet
Telefax: +31 30 513791 Internet: piet@cs.ruu.nl (*`Pete')
Technical Details
Message-ID:
<1991Jun28.084321.13558@cs.ruu.nl>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!hp4nl!alchemy!pietReferences:
<1991Jun24.131755.14550@sun1.ruf.uni-freiburg.de>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!hp4nl!alchemy!piet From: piet@cs.ruu.nl (Piet van Oostrum) Newsgroups: comp.text.tex Subject: Re: dvips: How to get two TeX pages on one landscape side ? Keywords: dvips landscape Message-ID: <1991Jun28.084321.13558@cs.ruu.nl> Date: 28 Jun 91 08:43:21 GMT References: <1991Jun24.131755.14550@sun1.ruf.uni-freiburg.de> Sender: piet@cs.ruu.nl (Piet van Oostrum) Reply-To: piet@cs.ruu.nl (Piet van Oostrum) Distribution: comp Organization: Dept of Computer Science, Utrecht University, The Netherlands Lines: 36 In-Reply-To: winckler@sun1.ruf.uni-freiburg.de (Joerg Winckler)