[pdftex] Reply to "text rotation" in plain TeX

Paweł Jackowski P.Jackowski at gust.org.pl
Wed Apr 8 14:58:11 CEST 2009

> The awkwardness comes in that the rotation is about the lower-left-hand corner of the page,
> which may rotate your text off the page.  If anyone knows a systematic way to compensate,
> please post. [...]

See and compare

	\pdfliteral direct{<transformation>}
	\pdfliteral page{<transformation>}

also see


> More awkwardness comes in that the matrix affects everything after it, and you have to
> put in another matrix to switch it back, which doesn't always happen cleanly.  

You need to wrap the transformation by save/restore operators, that is 
'q' and 'Q' in PDF. Consider using \pdfsave and \pdfrestore.
Pawe/l Jackowski
P.Jackowski at gust.org.pl

More information about the pdftex mailing list