[texhax] pgf: how to deform fonts
Herbert Voss
Herbert.Voss at FU-Berlin.DE
Fri Nov 25 22:43:39 CET 2011
Am 25.11.2011 22:19, schrieb Reinhard Kotucha:
> On 2011-11-25 at 11:24:33 -0500, Victor Ivrii wrote:
>
> > I am trying to draw a cube with digits on its visible faces. Therefore
> > digits on the side faces should be deformed. Is there any easy way to
> > do this?
> In PostScript one would write
or using a package
\documentclass{minimal}
\usepackage{pst-solides3d}
\begin{document}
\begin{pspicture}(-1in,-1in)(1in,1in)
\psSolid[
object=cube,
a=2,
action=draw**,
numfaces=all,fontsize=40,
fillcolor=magenta!20]
\end{pspicture}
\end{document}
Herbert
More information about the texhax
mailing list