[texhax] Set dimension for picture environment
Jean-Baptiste Valsamis
jvalsamiug at gmail.com
Sun Mar 14 15:23:45 CET 2010
Dear all,
I would like to create a picture in normalized unit so that everything is
expressed by values between 0 and 1.
The box would take the entire page (ie \textwidth, \textheight). I set
\setlength{\unitlength}{\textwidth}. Unfortunately, this gives a
noramlisation with x-coordinate but not with y-coordinate. So I want to
create a command \yscale that allows to do a scaling:
\put(0.5, \yscale{0.5}) or \put(0.5, 0.5\yscale)
What should I set into \yscale ?
I don't know how to make latex considering that the results of \yscale{0.5}
is a number.
Thanks a lot
Regards,
jbv
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20100314/efe66e5d/attachment.html>
More information about the texhax
mailing list