[OS X TeX] TeXLive 2004, PDFTeX magnification problem.

Bruno Voisin bvoisin at mac.com
Wed Dec 29 10:38:09 CET 2004


Le 29 déc. 04, à 10:21, Bruno Voisin a écrit :

> by writing in your .tex input file
>
> 	\catcode`@=11
> 	\def\m at g{\mag\count@
> 	  \hsize6.5truein\vsize8.9truein\dimen\footins8truein
> 	   
> \pdfpagewidth8.5truein\pdfpageheight11truein\pdfhorigin1truein\pdfvorig 
> in1truein}
> 	\catcode`@=12

A probably better way, working with both pdfTeX and TeX + dvips +  
ps2pdf:

	\catcode`@=11
	\def\m at g{\mag\count@
	  \hsize6.5truein\vsize8.9truein\dimen\footins8truein
	  \ifx\pdfoutput\undefined\else
	    \pdfpagewidth8.5truein\pdfpageheight11truein
          \pdfhorigin1truein\pdfvorigin1truein
	  \fi}
	\catcode`@=12

(to be invoked before using \magnification, of course).

Bruno Voisin

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the macostex-archives mailing list