From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/56641 Path: news.gmane.org!not-for-mail From: James Fisher Newsgroups: gmane.comp.tex.context Subject: Super- and sub-script in text mode, or, fonts in math mode Date: Tue, 2 Mar 2010 21:58:19 +0000 Message-ID: <771da05a1003021358x108daf30r7140b91c89c230b@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0326993724==" X-Trace: dough.gmane.org 1267567764 26645 80.91.229.12 (2 Mar 2010 22:09:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 2 Mar 2010 22:09:24 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Mar 02 23:09:19 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from [195.12.62.10] (helo=balder.ntg.nl) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NmaH8-00032L-4X for gctc-ntg-context-518@m.gmane.org; Tue, 02 Mar 2010 23:09:10 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9E557C9DF6; Tue, 2 Mar 2010 22:58:29 +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 xOz7RQfXEXHK; Tue, 2 Mar 2010 22:58:29 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2AB77C9DCF; Tue, 2 Mar 2010 22:58:26 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A5037C9DCF for ; Tue, 2 Mar 2010 22:58:23 +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 pkn-pWHxpoj8 for ; Tue, 2 Mar 2010 22:58:20 +0100 (CET) Original-Received: from mail-ew0-f227.google.com (mail-ew0-f227.google.com [209.85.219.227]) by balder.ntg.nl (Postfix) with ESMTP id 4B0D2C9DC5 for ; Tue, 2 Mar 2010 22:58:20 +0100 (CET) Original-Received: by ewy27 with SMTP id 27so84850ewy.34 for ; Tue, 02 Mar 2010 13:58:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=I2ctOTXBMZa4mWcy+EAKN8sQUiB3QxcLB+Mz41qKeQw=; b=eC0oBOu26KHjAJIH3EpM+rd37Nv4/Knf/gvDYZsHRv/ubWuVzoE32J6oy+DAhw3bKH ywLuvHmFPLXilTrgztwGXLmJx4fkJGN9LZeJfa3yo3nq4A/HoIyALDo3d/bi7MhM+0CI kRYDiuzSMZk19JwV1KFrM1dZfLLHK4QBysXzs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=NHevV2Rp09aNNYKBKrrhu+cV0zVuyTtIPSpuEU07SSZNTRXt9XxuJ1OVSBYAmd68ke pVKirYnQRtuZZt9KBddtKpxQk0Uf8Q8rUmxF3TeYx1aVph7nY7mJkBY5fjMrT4fTgP9X lctpxWf/zJw8kK6Ijj5Vuq3mnpadYfpXlHkDY= Original-Received: by 10.213.1.219 with SMTP id 27mr5018011ebg.37.1267567099753; Tue, 02 Mar 2010 13:58:19 -0800 (PST) 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:56641 Archived-At: --===============0326993724== Content-Type: multipart/alternative; boundary=000e0cdf986cb5b5b70480d87678 --000e0cdf986cb5b5b70480d87678 Content-Type: text/plain; charset=ISO-8859-1 Hi, A minor problem: I'm trying to place superscripted text in the text body -- things like '2^nd March'. I can't see anything like 2{\sup nd}, so my only known solution at the moment is math mode: $2^{nd}$. Despite this not being 'math', I don't really have an aversion to it. However, there's a problem with it: the superscripted text appears in italic Computer Modern. I'm using Gentium Book Basic as my body font, using XeTeX. The Gentium typeface is used perfectly everywhere, including the '2' in '2^nd', with the exception of the superscripted text. So what solutions are to hand? Is there either (1) super/sub commands in text mode, or (2) a way of fixing this in math mode? (Also, would this be a problem with ConTeXt or with XeTeX?) James Fisher --000e0cdf986cb5b5b70480d87678 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,


A minor problem: I'm trying to place superscripted text = in the text body -- things like '2^nd March'.=A0 I can't see an= ything like 2{\sup nd}, so my only known solution at the moment is math mod= e: $2^{nd}$.=A0 Despite this not being 'math', I don't really h= ave an aversion to it.=A0 However, there's a problem with it: the super= scripted text appears in italic Computer Modern.=A0 I'm using Gentium B= ook Basic as my body font, using XeTeX.=A0 The Gentium typeface is used per= fectly everywhere, including the '2' in '2^nd', with the ex= ception of the superscripted text.

So what solutions are to hand?=A0 Is there either (1) super/sub command= s in text mode, or (2) a way of fixing this in math mode?

(Also, wou= ld this be a problem with ConTeXt or with XeTeX?)


James Fisher --000e0cdf986cb5b5b70480d87678-- --===============0326993724== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0326993724==--