"reverse" text

Rolf Niepraschk nieprasc at ptb.de
Mon Oct 23 08:31:08 CEST 2000


-----------------------------------------------------------------------------
This is the PSTricks mailing list, devoted to discussions about computational
graphics in (La)TeX using the PSTricks package from Timothy van Zandt.
For help using this mailing list, see instructions at the end of message.
-----------------------------------------------------------------------------

Radhakrishnan C V wrote:
> 
> -----------------------------------------------------------------------------
> This is the PSTricks mailing list, devoted to discussions about computational
> graphics in (La)TeX using the PSTricks package from Timothy van Zandt.
> For help using this mailing list, see instructions at the end of message.
> -----------------------------------------------------------------------------
> 
> On Sun, 22 Oct 2000, E. Krishnan wrote:
> :
> : I can "reverse" (ie, get the mirror image of) a single TeX page using
> : minipage and Scalebox, but is there a painles way to reverse a multipage
> : document?
> 
> Here is a little PostScript code that will generate mirror imaged *.ps
> from your dvi.
> 
> --------------------------> cut here <--------------------------
> 
> currentpagedevice /MirrorPrint known {
>   <<
>     /MirrorPrint true       % Use built-in feature
>   >> setpagedevice
> }{
>  <<
>   /BeginPage {
>    pop                      % Discard page number parameter
>    currentpagedevice
>    /PageSize get aload pop  % Get current page size
>    pop 0 translate          % Move origin across page
>    -1 1 scale               % Flip writing direction
>   }
>  >> setpagedevice
> } ifelse
> 
> --------------------------> cut here <--------------------------
> 
> Save this file as mirror.ps (or any name you like), the syntax for
> generating the mirror imaged postscript from a dvi will be:
> 
>   dvips -h mirror.ps <filename.dvi> -o
> 

A similar ps header already exists 

==> CTAN: macros/generic/TeX-PS/mirr.hd

(also part of the teTeX distribution)

...Rolf
-- 
|| Rolf Niepraschk c/o Physikalisch-Technische Bundesanstalt ||
|| Abbestr. 2-12; D-10587 Berlin, Germany                    ||
|| Tel/Fax: ++49-30-3481-316/490, email: niepraschk at ptb.de   ||

-----------------------------------------------------------------------------
The list interface (subscription, information, access to the archives) is on:
http://www.tug.org/cgi-bin/lwgate/pstricks
Otherway to unsubscribe, send mail to pstricks-request at mail.tug.org
with a blank subject and in body the line unsubscribe <email-address>
-----------------------------------------------------------------------------



More information about the PSTricks mailing list