# [NTG-context] Labelling with textext

Sun Feb 14 08:28:37 CET 2010

```On Sat, 13 Feb 2010, Troy Henderson wrote:

> I'm trying to typeset a numerical label (in math mode) and have space
> for a - sign (but not actually typeset the -) after the number in the
> case where the number itself is negative.  I am trying this
>
> label.bot(textext("\$" & decimal(x) & "\hphantom{-}\$"),(x*u,ay*u));
>
> which fails.

Can you provide more details? A minimal example works without errors in
MkII and MkIV.

\starttext
\startMPcode
x := 1 ; ay := 1 ; u := 1 ;
label.bot(textext("\$" & decimal(x) & "\hphantom{-}\$"),(x*u,ay*u));
\stopMPcode
\stoptext