From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/66837 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: Re: writing physical quantities in maths mode Date: Fri, 11 Mar 2011 10:33:35 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1299836040 25900 80.91.229.12 (11 Mar 2011 09:34:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 11 Mar 2011 09:34:00 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Mar 11 10:33:56 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PxyjK-0002ep-FE for gctc-ntg-context-518@m.gmane.org; Fri, 11 Mar 2011 10:33:54 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F1B5CCAADE; Fri, 11 Mar 2011 10:33:53 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 1iaSd2p5j8+p; Fri, 11 Mar 2011 10:33:50 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 26447CAAD5; Fri, 11 Mar 2011 10:33:50 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1EF04CAAD5 for ; Fri, 11 Mar 2011 10:33:49 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id x2mD47fJc2UI for ; Fri, 11 Mar 2011 10:33:38 +0100 (CET) Original-Received: from filter5-ams.mf.surf.net (filter5-ams.mf.surf.net [192.87.102.73]) by balder.ntg.nl (Postfix) with ESMTP id 0DA65CAAD4 for ; Fri, 11 Mar 2011 10:33:38 +0100 (CET) Original-Received: from mail-qy0-f176.google.com (mail-qy0-f176.google.com [209.85.216.176]) by filter5-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p2B9Xa6k001337 for ; Fri, 11 Mar 2011 10:33:36 +0100 Original-Received: by qyk30 with SMTP id 30so2552298qyk.14 for ; Fri, 11 Mar 2011 01:33:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=vqdnH1ZcqwQzZNzLNqNzBdFFr9QquYhuTraSMef6s9c=; b=nCaskQ0pjmyTyABBuOU7suAugs0ddv0QXxB3klUY8yRWz0vURfvdsNqfzfy4nZcsxX 7902UA0Izj+wE9S13TO0ACyQUgGMFtcvrC4W8c6/vrLBIgdXn5spD3DRzIISQg2ypCeL 8EndpY6+5lGz/yxe1rk1cfcxbhJA/XrnYy6aw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=WrG3Buhkx+a2v0KR/Ui0oxPz168eWjrXcPlMTO3sj+CvRNzfnIPuyvfzVGskR8FJuQ F15ajDHDACYiGcF6Wsj6XV295UgdxbaY9gKxwepP/lOKJJSAZnxHtbXXXtWGAhD0NIMM C0du0TguvyyiarxXuNguQdpChSP5cO9qRgTtw= Original-Received: by 10.229.43.92 with SMTP id v28mr7386103qce.138.1299836015889; Fri, 11 Mar 2011 01:33:35 -0800 (PST) Original-Received: by 10.229.221.147 with HTTP; Fri, 11 Mar 2011 01:33:35 -0800 (PST) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.216.176; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0BEhJxA1z - 22854ad77757 - 20110311 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.73 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:66837 Archived-At: On Fri, Mar 11, 2011 at 10:14, Ian Lawrence wrote: > Morning all, > I have a need to write a lot of physical quantities - these should be > in text mode. Mostly I can manage, but subscripts are causing me grief > > Eg > \startformula > \startmathalignment[n=3] > \NC \text{F}\NC =\NC {\text{GMm} \over \text r^2}\NR > \NC \text {force}_G \NC =\NC {\text{G} \times \text m_1 \times \text > m_2 \over \text r^2}\NR > \NC \text {force \low G} \NC =\NC {\text{G} \times \text m_1 \times > \text m_2 \over \text r^2}\NR > \stopmathalignment > \stopformula > > In the second and third equantions I'd like force subscript G all in > roman, not italic, to follow the standard conventin. > The first one puts the G in the correct place, but in italic > The second one manages roman, but it's offset. Is this ok? \text{force}_{\rm G} (or \text{force}_{\text{G}}) With \rm you stay in math mode, but use roman. You should not use \rm for "force" since you would get mathematical spacing instead of proper kerning. > \startformula > {\forceQA \over \massQA} = \accelerationQA > \stopformula Try to use \frac{}{} instead of \over. There are discussions about disabling \over in luatex (or at least in MKIV). Mojca ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________