From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/14067 Path: main.gmane.org!not-for-mail From: Willi Egger Newsgroups: gmane.comp.tex.context Subject: Re: Problems with superscripts and macros Date: Mon, 17 Nov 2003 17:07:49 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <6.0.0.22.1.20031117170530.01bd2160@digitpaint.nl> References: <49DF6D41-1905-11D8-AA95-000393B6680C@sonnemans.net> <6.0.0.22.1.20031117151918.01ba82c0@digitpaint.nl> <8511EF48-190E-11D8-AA95-000393B6680C@sonnemans.net> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1069085693 16555 80.91.224.253 (17 Nov 2003 16:14:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 Nov 2003 16:14:53 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Mon Nov 17 17:14:50 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 1ALm1a-00022v-00 for ; Mon, 17 Nov 2003 17:14:50 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id BF2A910B24; Mon, 17 Nov 2003 17:14:46 +0100 (MET) Original-Received: from smtpzilla1.xs4all.nl (smtpzilla1.xs4all.nl [194.109.127.137]) by ref.ntg.nl (Postfix) with ESMTP id 3896E10AFC for ; Mon, 17 Nov 2003 17:07:50 +0100 (MET) Original-Received: from vademecum.boede.nl (a80-126-172-1.adsl.xs4all.nl [80.126.172.1]) by smtpzilla1.xs4all.nl (8.12.9/8.12.9) with ESMTP id hAHG7nJQ020944 for ; Mon, 17 Nov 2003 17:07:49 +0100 (CET) X-Sender: boedenl01@digitpaint.nl X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Original-To: ntg-context@ntg.nl In-Reply-To: <8511EF48-190E-11D8-AA95-000393B6680C@sonnemans.net> Original-References: <49DF6D41-1905-11D8-AA95-000393B6680C@sonnemans.net> <6.0.0.22.1.20031117151918.01ba82c0@digitpaint.nl> <8511EF48-190E-11D8-AA95-000393B6680C@sonnemans.net> 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:14067 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:14067 Hi Frank, Yes that is true, the module switches to roman or math respectiely UNLESS=20 you state the following at the beginning of your document: \textdimensionstrue Hereafter the units are typeset in the current bodyfont. - Sorry, but I do= =20 not know, what happens to the "m=FC" .. Willi At 15:58 17.11.2003, you wrote: >Hi, > >I actually dropped the use of the units module because it uses a roman=20 >font where my text is in Helvetica. There is a trick to make the units=20 >module use a sans-serif font, but in that case the \mu greek character=20 >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= =20 >>your document. >> >>When zou need to typset a unit you can say things like \Degrees Celsius,= =20 >>\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