From: Patrick Gundlach <pg@levana.de>
Subject: Re: Problems with superscripts and macros
Date: Mon, 17 Nov 2003 15:33:28 +0100 [thread overview]
Message-ID: <m2ptfrjc93.fsf@levana.de> (raw)
In-Reply-To: <49DF6D41-1905-11D8-AA95-000393B6680C@sonnemans.net> (Frank's message of "Mon, 17 Nov 2003 14:52:31 +0100")
Hello Frank,
it took me a while to find the error, because it is really hidden:
> However if I put the same sequence in a macro
>
> \def\celcius{$^\circ$C}
> -20\celsius\ Dewpoint
> -20\celsius Dewpoint
>
> What is going on,
you defined \celcius but used \celsius (s/c). \celsius is a
predefined macro in ConTeXt. Use \celsius{-20} Dewpoint in your case.
The macro \celsius is smart about math mode: see the difference in
\celsius{-20} Dewpoint \par
$\celsius{-20}$ Dewpoint \par
\celsius{$-20$} Dewpoint
> and more importantly how to solve it.
drop your macro or use it ;-)
Patrick
--
You are your own rainbow!
next prev parent reply other threads:[~2003-11-17 14:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-17 13:52 Frank
2003-11-17 14:21 ` Willi Egger
2003-11-17 14:58 ` Frank
2003-11-17 16:07 ` Willi Egger
2003-11-17 14:33 ` Patrick Gundlach [this message]
2003-11-17 15:01 ` Frank
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=m2ptfrjc93.fsf@levana.de \
--to=pg@levana.de \
--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).