[NTG-context] Equivalent to \settowidth

Wolfgang Schuster schuster.wolfgang at googlemail.com
Wed Mar 14 11:40:25 CET 2007

2007/3/14, Robin Kirkham <robin.kirkham at csiro.au>:

> Hi all,
> Is there a ConTeXt equivalent to LaTeX \settowidth{}, or better still
> some macro I can do things like
> \setupsomething[
>      ...
>      width={\widthof{\bf sometext\emspace}},
>      ...]
> Cheers,
> Robin

Hi Robin,

I don't know if there is something build in but the following definition
work for simple cases.



  [width=\widthof{Robin Kirkham}]



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ntg.nl/pipermail/ntg-context/attachments/20070314/fe4dd230/attachment.html 

More information about the ntg-context mailing list