ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Willi Egger <w.egger@boede.nl>
Subject: Re: Problems with superscripts and macros
Date: Mon, 17 Nov 2003 17:07:49 +0100	[thread overview]
Message-ID: <6.0.0.22.1.20031117170530.01bd2160@digitpaint.nl> (raw)
In-Reply-To: <8511EF48-190E-11D8-AA95-000393B6680C@sonnemans.net>

Hi Frank,

Yes that is true, the module switches to roman or math respectiely UNLESS 
you state the following at
the beginning of your document:

\textdimensionstrue

Hereafter the units are typeset in the current bodyfont. - Sorry, but I do 
not know, what happens to the
"mü" ..

Willi
At 15:58 17.11.2003, you wrote:
>Hi,
>
>I actually dropped the use of the units module because it uses a roman 
>font where my text is in Helvetica. There is a trick to make the units 
>module use a sans-serif font, but in that case the \mu greek character 
>comes out as m, which is not what I wanted.
>
>Thanks for the feedback though.
>
>Regards,
>
>Frank
>On 2003, Nov 17, , at 15:21, Willi Egger wrote:
>
>>At 14:52 17.11.2003, Frank wrote:
>>
>>Hi,
>>
>>the solution is to use the \usemodule[units] command in the beginning of 
>>your document.
>>
>>When zou need to typset a unit you can say things like \Degrees Celsius, 
>>\Square\Meter or \Milli\Meter
>>
>>Regards Willi
>>
>>>Hello
>>>
>>>I am having some big problems with superscripts. When I type:
>>>
>>>-20$^\circ$C
>>>
>>>I get the expected 20 degrees Celcius (-20oC)
>>>
>>>However if I put the same sequence in a macro
>>>
>>>\def\celcius{$^\circ$C}
>>>-20\celsius\ Dewpoint
>>>-20\celsius Dewpoint
>>>
>>>I get as result:
>>>
>>>-20  oCDewpoint
>>>-20DoCewpoint
>>>
>>>Where o symbolizes the degree symbol.
>>>
>>>What is going on, and more importantly how to solve it.
>>>
>>>Best Regards,
>>>
>>>
>>>Frank
>>>
>>>_______________________________________________
>>>ntg-context mailing list
>>>ntg-context@ntg.nl
>>>http://www.ntg.nl/mailman/listinfo/ntg-context
>>
>>_______________________________________________
>>ntg-context mailing list
>>ntg-context@ntg.nl
>>http://www.ntg.nl/mailman/listinfo/ntg-context
>
>_______________________________________________
>ntg-context mailing list
>ntg-context@ntg.nl
>http://www.ntg.nl/mailman/listinfo/ntg-context

  reply	other threads:[~2003-11-17 16:07 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 [this message]
2003-11-17 14:33 ` Patrick Gundlach
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=6.0.0.22.1.20031117170530.01bd2160@digitpaint.nl \
    --to=w.egger@boede.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).