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

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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________