From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/54678 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Heros condensed and Font switching Date: Mon, 23 Nov 2009 19:05:45 +0100 Message-ID: References: <08D3FEEEF0C94F6A8F63469A88E80F2D@rechenknecht><3AA6E3F2-FBEA-4E93-A732-AA039E82EBDE@boede.nl> <72F9BBEC40484C89AE42D6BF745E39F0@rechenknecht> <4B0AABEF.5080809@wxs.nl> <557995F786394BD5B66529A44BA996F2@rechenknecht> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1258999576 8059 80.91.229.12 (23 Nov 2009 18:06:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Nov 2009 18:06:16 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 23 19:06:00 2009 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.50) id 1NCdIU-0004qz-Qs for gctc-ntg-context-518@m.gmane.org; Mon, 23 Nov 2009 19:05:58 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 29F5AC9AE3; Mon, 23 Nov 2009 19:03:16 +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 BAFB-i9I1eCW; Mon, 23 Nov 2009 19:03:13 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 43CBCC9AB7; Mon, 23 Nov 2009 19:03:13 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0C829C9AB7 for ; Mon, 23 Nov 2009 19:03:11 +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 EXqs3l+oGsOZ for ; Mon, 23 Nov 2009 19:03:08 +0100 (CET) Original-Received: from mail-fx0-f220.google.com (mail-fx0-f220.google.com [209.85.220.220]) by balder.ntg.nl (Postfix) with ESMTP id 7AC04C9AAA for ; Mon, 23 Nov 2009 19:03:08 +0100 (CET) Original-Received: by fxm20 with SMTP id 20so6643519fxm.15 for ; Mon, 23 Nov 2009 10:05:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=LU+/7gyuOjPWrsCvRD9lOCmZ+690lR/sNZ65TOHPKaE=; b=RRQV8TKyrxybxDIro+kBvrUQnk/b+PSkze2Y6F8vPMWnOIm8ZJALQBRzuxshrYjT+N GufCq+EGsv2J3aiGJbzOO75I/XBW67VgzwjAUw3r6l83AtNMDugjPxVyucvddNHqwdrS FBOD5ywf7TILDbaktQ3co4VA/CgExkawMtaWM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=t1ucL8rgIV7u+4P1H7vMQum5W6eCW9vEedK8HVLFrjTEOFrLMugeoK1PEB+VzBzb5e KjnSpHS6n42Ft228P/LtMXz9cJw1ELvwQcu6e5LfrZ6GsCFC0wtgTd5gfvpeg8ZKgYbd eb/k3tRYP51qEGs5s7j5vlJPUM/a/0sgXJfNI= Original-Received: by 10.102.149.9 with SMTP id w9mr2348340mud.77.1258999549157; Mon, 23 Nov 2009 10:05:49 -0800 (PST) Original-Received: from ?192.168.2.23? (p5B292B77.dip.t-dialin.net [91.41.43.119]) by mx.google.com with ESMTPS id u26sm16758163mug.15.2009.11.23.10.05.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 23 Nov 2009 10:05:47 -0800 (PST) In-Reply-To: <557995F786394BD5B66529A44BA996F2@rechenknecht> X-Mailer: Apple Mail (2.1077) 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:54678 Archived-At: Am 23.11.2009 um 18:34 schrieb Wolfgang Murth: >> depends on your need, > Main text in one font (Helvetica), Excel Formulas in another font (Heros Condensed). With simplefonts you can say (untested): \mainlanguage[de] \usemodule[simplefonts][size=10pt] \setmainfont[Tex Gyre Heros] \definesimplefonttypeface[excelfont][TeX Gyre Heros][weight=condensed] % will be width=condensed in the next release \definesimplefont[excelformat][TeX Gyre Heros][weight=condensed,alternative=bold] \define[1]\XLF{\groupedcommand{\excelformat}{}} \setuptables[bodyfont=excelfont] \starttext \chapter{Excel Time and Date} When using Time and Date calculations with Excel important functions are \XLF{DATUM} and {\XLF ZEIT}. \starttable[|l|l|] \NC text \NC more text \NC\AR \NC other text \NC fill the rest \NC\AR \stoptable \stoptext Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________