From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62226 Path: news.gmane.org!not-for-mail From: Khaled Hosny Newsgroups: gmane.comp.tex.context Subject: Re: typewriter text in formula Date: Fri, 1 Oct 2010 14:01:55 +0200 Message-ID: <20101001120155.GD23896@khaled-laptop> 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 1285934541 10398 80.91.229.12 (1 Oct 2010 12:02:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 1 Oct 2010 12:02:21 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 01 14:02:20 2010 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 1P1eJd-0007Aw-0B for gctc-ntg-context-518@m.gmane.org; Fri, 01 Oct 2010 14:02:17 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5283CCA60F; Fri, 1 Oct 2010 14:02:16 +0200 (CEST) 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 DRcqspbr4oK3; Fri, 1 Oct 2010 14:02:13 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4FEDACA639; Fri, 1 Oct 2010 14:02:13 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AF2B0CA639 for ; Fri, 1 Oct 2010 14:02:12 +0200 (CEST) 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 YqWq4MsosjAF for ; Fri, 1 Oct 2010 14:02:07 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 53F63CA60F for ; Fri, 1 Oct 2010 14:02:07 +0200 (CEST) Original-Received: from mail-wy0-f169.google.com (mail-wy0-f169.google.com [74.125.82.169]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o91C26EQ032738 for ; Fri, 1 Oct 2010 14:02:06 +0200 Original-Received: by wyb36 with SMTP id 36so3923189wyb.14 for ; Fri, 01 Oct 2010 05:02:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=gX7T2t70HTyl+tl1f+eB7/zUpfBkOVW5vRcJUg2ufFE=; b=QmAdqB1YgJ8hh0ZhuScLqZVbl3jqa9G6ufnZ8JW0BzNmZT9jAMyBJ13Vpe5HNLmumV 2ZHxw7j2AJbexbAh2LkBmBRPJ2gn4aXsNVC60VjtJG+oPibmZVqW7YY2R4pm/Ew621hz yfLhY2lur7HUgFrwoYru2zoqaLzcdKLVRtFqM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=UCdVGR1XO3Uw2qv8/1N3CKJe8HI50tjEX6iT1qXbpqDYXeQOI2dDqj04tBnKEfd2sD x5h0QOVNdG+0SR92FC/TjAIwiDPbSoTlqzPisQfkUSvd9T+u6gSP3vj5HHvsIxtnkaaA TRy8ebzLz/IMxxqQTmgQN+zVhVXdLGcH7AM/A= Original-Received: by 10.216.131.161 with SMTP id m33mr4428655wei.13.1285934520009; Fri, 01 Oct 2010 05:02:00 -0700 (PDT) Original-Received: from localhost ([41.238.234.159]) by mx.google.com with ESMTPS id x62sm698120weq.39.2010.10.01.05.01.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 01 Oct 2010 05:01:59 -0700 (PDT) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.169; 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: 05Ddo26QK - 8b5973f80bd7 - 20101001 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.216 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:62226 Archived-At: On Fri, Oct 01, 2010 at 12:25:54PM +0200, Patrick Gundlach wrote: > Hi, > > how do I get typewriter text in formula? > > I've tried: > > \startformula > r = \mono{foo} > \stopformula > > but that gives mono from a different font. I'd like to have consolas, but it looks like courier new. You should get the math mono from the math font you are using (Cambria, I guess) not from the text font. -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer ___________________________________________________________________________________ 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 ___________________________________________________________________________________