On Thu, 13 Mar 2008, Wolfgang Schuster wrote:
On Thu, 13 Mar 2008 19:44:06 +0100
Morgan Brassel <[EMAIL PROTECTED]> wrote:
Le Thursday 13 March 2008 19:16:02 Wolfgang Schuster, vous avez écrit :
On Thu, 13 Mar 2008 08:03:22 -0400 (EDT)
Aditya Mahajan <[EMAIL PROTECTED]> wrote:
On Thu, 13 Mar 2008, Morgan Brassel wrote:
Hi everyone,
I'm looking for an easy way to typeset all references produced by the
\in command in upshape format (even in an italic paragraph for
example). I tried with the 'left' option of \definereferenceformat, but
without good results.
I would also like to typeset all formulae numbers in upshape. I know
Aditya posted about this a long time ago but I can't find the thread
any more...
I also could not get things to work with \definereferenceformat.
This is what I use:
\definereferenceformat [doeqref] [left=(,right=)]
\def\eqref[#1]{{\normal \doeqref[#1]}}
Why not
\definereferenceformat
[eqref]
[left=\normal(,
right=)]
Wolfgang
Is it so simple, really? Great! But can't this have some side effects in
particular cases? I mean, the {} around \normal aren't needed here?
Not in this case because references are grouped by themselve but it is
better to use grouping.
\definereferenceformat
[eqref]
[left=\bgroup\normal(,
right=)\egroup]
This was my first attempt, but it gave some trouble. I need to go back and
check.
Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________