24 Mar
2012
24 Mar
'12
7:30 a.m.
On 03/24/12 03:27, Rogers, Michael K wrote:
Try
\framed[width=7cm]{\externalfigure[cow][width=\dimexpr\framedparameter{width}*9/10]}
[I don't understand \dimexpr. For instance 7cm = ~198pt, 0.9 * 7 cm = ~179pt, but \dimexpr0.9\framedparameter{width} yields 27.5992pt. It doesn't seem to work well with decimals. No wiki page for it, that I can find.]
Thank you, that is exactly what I needed! I'll see if I can find some more information about \dimexpr now! All best Thomas