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

Sat Mar 15 08:28:54 CET 2008

On Fri, 14 Mar 2008 22:30:30 +0100
Morgan Brassel <morgan.brassel at free.fr> wrote:

> 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

> 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...

A new command to set the style for the number is OK but you need also
one for the text but this need to be done by Hans because it is not
possible to change the style for the predefined command in, at ... with
the current implementation.

Wolfgang