From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/14064 Path: main.gmane.org!not-for-mail From: Frank Newsgroups: gmane.comp.tex.context Subject: Re: Problems with superscripts and macros Date: Mon, 17 Nov 2003 15:58:36 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <8511EF48-190E-11D8-AA95-000393B6680C@sonnemans.net> References: <49DF6D41-1905-11D8-AA95-000393B6680C@sonnemans.net> <6.0.0.22.1.20031117151918.01ba82c0@digitpaint.nl> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v606) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1069082014 6246 80.91.224.253 (17 Nov 2003 15:13:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 Nov 2003 15:13:34 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Mon Nov 17 16:13:32 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ALl4G-00057M-00 for ; Mon, 17 Nov 2003 16:13:32 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 37E6C10B24; Mon, 17 Nov 2003 16:13:28 +0100 (MET) Original-Received: from sarek.skynet.be (sarek.skynet.be [195.238.3.230]) by ref.ntg.nl (Postfix) with ESMTP id 2A15C10AFC for ; Mon, 17 Nov 2003 15:58:37 +0100 (MET) Original-Received: from [192.168.1.11] (190.81-201-80.adsl.skynet.be [80.201.81.190]) by sarek.skynet.be (8.12.9/8.12.9/Skynet-OUT-2.21) with ESMTP id hAHEwXfe020749 for ; Mon, 17 Nov 2003 15:58:33 +0100 (envelope-from ) In-Reply-To: <6.0.0.22.1.20031117151918.01ba82c0@digitpaint.nl> Original-To: ntg-context@ntg.nl X-Mailer: Apple Mail (2.606) X-RAVMilter-Version: 8.4.3(snapshot 20030212) (sarek.skynet.be) Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:14064 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:14064 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