From: Hans Hagen <pragma@wxs.nl>
Cc: NTG-ConTeXt <ntg-context@ntg.nl>
Subject: Re: How to add () to equation number?
Date: Tue, 06 Jun 2000 23:05:05 +0200 [thread overview]
Message-ID: <3.0.6.32.20000606230505.014ef3b0@pop.wxs.nl> (raw)
In-Reply-To: <Pine.GSO.4.21.0006062259180.2853-100000@AMath13>
At 11:01 PM 6/6/2000 +0800, Mr. Wang Lei wrote:
>On Mon, 5 Jun 2000, Mr. Wang Lei wrote:
>
>> Hi, I want put the equation numbers into a pair of ( )
>> when refering them. For example, if I have writtten
>> a formula numbered 1.1 and labeled [eq:number1], then when
>> I use \in[eq:number1], I want get (1.1) other than
>> 1.1 . I knew put the \in[..] into (\in[...])
>> works, but I want to know if it can do such job
>> automatically.
>>
>
>\definereferenceformat[informula] [left=(,right=),text=equation]
>
>works. using "find + grep" get the above solution. :-)
An alternative is using left/right labels (actually implemented since
chinese needed it):
\setuplabeltext
[figure={{whow (},{)}},
infigure={{in figure (},{)}}]
\definereferenceformat[infigureA][left=(,right=),text=figure]
\definereferenceformat[infigureB][label=infigure]
\starttext
\placefigure[here][c]{}{}
\infigureA[c] en \infigureB[c]
\stoptext
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------
prev parent reply other threads:[~2000-06-06 21:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-06-05 14:01 Mr. Wang Lei
2000-06-06 15:01 ` Mr. Wang Lei
2000-06-06 21:05 ` Hans Hagen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3.0.6.32.20000606230505.014ef3b0@pop.wxs.nl \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).