From: Taco Hoekwater <taco@elvenkind.com>
Subject: Re: special math minus
Date: Thu, 15 Feb 2001 15:22:36 +0100 [thread overview]
Message-ID: <3A8BE62C.512611BB@elvenkind.com> (raw)
In-Reply-To: <3.0.6.32.20010215141710.0195d810@server-1>
Hans Hagen wrote:
>
> Hi,
>
> Sometimes a special minus sign is used to distinguish between a - b and -b.
> In the second case, the sign is alightly raised and looks more like a
> hyphen than a math minus.
>
> Is there a pre-coocked macro for that? [the problem is that \hbox's are not
> zware of superscript status and therefore cannot be used,
Not one I know of, so you need a mathchoice instead. Something like this
should work:
\def\doneg{\mathord{{#1\raise.2ex\hbox{{#1 -}}}}}
\def\negative{\mathchoice{\doneg{\tf}}{\doneg{\tf}}{\doneg{\tfx}}{\doneg{\tfxx}}}
--
groeten,
Taco
next prev parent reply other threads:[~2001-02-15 14:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-15 13:17 Hans Hagen
2001-02-15 14:22 ` Taco Hoekwater [this message]
2001-02-15 15:52 ` Hans Hagen
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=3A8BE62C.512611BB@elvenkind.com \
--to=taco@elvenkind.com \
/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).