[NTG-context] References and formulae numbers in upshape
Johan Sandblom
jsandblom at gmail.com
Sat Mar 15 09:45:36 CET 2008
I believe the easy way is
\mainlanguage{sv]
which also has lots of other useful side effects.
Johan, also from Sweden
2008/3/15, Jan-Erik Hägglöf <janerik.hagglof at bredband.net>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Wolfgang Schuster skrev:
>
> > 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
> > ___________________________________________________________________________________
> > If your question is of interest to others as well, please add an entry to the Wiki!
> >
> > maillist : ntg-context at 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
> > ___________________________________________________________________________________
> >
>
> Hi!
>
> As a new Context user (former LateX) from Sweden according to the above
> discussion about references style to figures. I have a following
> question. How do I customize the appearance of the figure text, I mean
> for example:
> Under every figure there is : Figure 1, Figure 2, Figure 3 and so on.
> How do I make it like this : Picture 1, Picture 2, Picture 3 or
> Picture 1a .....1b and such.?
> In the swedish translation there is "Figur 1......."
> I understand that it has to do with defining my own kind of \definefloat
> or similar.
>
> Best Regards
>
> Janneman
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFH24Yr/zRis+sQPvARAltuAKCRX8yebwmD1hUvOrO0lToDea+RowCgp1/E
> QuGKQMpRfcnoMSU0lXkVE28=
> =wSRD
> -----END PGP SIGNATURE-----
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context at 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
> ___________________________________________________________________________________
>
--
Johan Sandblom, MD PhD
m +46735521477 Sweden
"What is wanted is not the will to believe, but the
will to find out, which is the exact opposite"
- Bertrand Russell
More information about the ntg-context
mailing list