[pdftex] How to use \pdfsetmatrix

David Carlisle davidc at nag.co.uk
Tue Apr 23 15:15:01 CEST 2013


On 23/04/2013 13:57, Patrick Gundlach wrote:
> Hi,
>
> I don't understand how to use \pdfsetmatrix.
>
> ------------
> \documentclass{article}
> \begin{document}
> \pdfsave\pdfsetmatrix{5 0 0 5}\rule{1cm}{1cm}\pdfrestore
> \end{document}
> ------------


I think you need to put the restore at the same place as the save:

\documentclass{article}
\begin{document}
\rlap{\smash{\pdfsave\pdfsetmatrix{5 0 0 5}\rule{1cm}{1cm}}}\pdfrestore
\end{document}

on the grounds that if an \rlap and and \smash don't solve it, it's not 
a real problem....

David



________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________


More information about the pdftex mailing list