# [NTG-context] References and formulae numbers in upshape

Morgan Brassel morgan.brassel at free.fr
Fri Mar 14 22:30:30 CET 2008

Le Friday 14 March 2008 09:00:49 Wolfgang Schuster, vous avez écrit :
> What do you want seems to be not possible but you could use the
> following solution although it is better to define a new command.
>
> \let\normalin\in
>
> \definereferenceformat
>   [figref]
>   [left=\normal,
>    text=\normal Figure,
>    command=\normalin]
>
> \let\in\figref
>
> \starttext
>
> \placefigure
>   [here][fig:det]
>   {Example}
>   {\blackrule[width=3cm,height=3cm]}
>
> \it See \in[fig:det] for details.
>
> \stoptext
>
> Wolfgang

Thank you for your help, Wolfgang! I think I'll define a new \ref command
similar to the one in LaTeX, with upshape number. But maybe a new option
would be welcome? (just as for numberstyle=normal in \setupformulae). What do
you think? Is it a bad idea? I'm just curious...

Morgan