From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72405 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Simplefonts question Date: Mon, 14 Nov 2011 09:13:18 +0100 Message-ID: <0C8D0A82-A287-4577-B714-94BC8C561D69@googlemail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1321258425 7274 80.91.229.12 (14 Nov 2011 08:13:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 14 Nov 2011 08:13:45 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 14 09:13:41 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 1RPrfg-0005mA-1a for gctc-ntg-context-518@m.gmane.org; Mon, 14 Nov 2011 09:13:40 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 01708CB0EB; Mon, 14 Nov 2011 09:13:39 +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 auLIfwl2TKK7; Mon, 14 Nov 2011 09:13:36 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3DCD1CB0E6; Mon, 14 Nov 2011 09:13:36 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 221DDCB0E6 for ; Mon, 14 Nov 2011 09:13:35 +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 oDCM+CfboQrN for ; Mon, 14 Nov 2011 09:13:23 +0100 (CET) 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 DBD5CCB0DD for ; Mon, 14 Nov 2011 09:13:23 +0100 (CET) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pAE8DM2Z025435 for ; Mon, 14 Nov 2011 09:13:23 +0100 Original-Received: by bke17 with SMTP id 17so6334012bke.14 for ; Mon, 14 Nov 2011 00:13:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; 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; bh=sXKTOS23T4Q7q9QHtn7Q3y+lg+dRe3irmOODWm61kQs=; b=jYsQYtTYcMrlBv2N+Codon7AO0QrvlZHwtdXYeaD/ups3BKenW5BNXR4dg2v9XtNlw AAB7qS27thLAn348oRDkzUMnFIq40T4KeqsDyvaA/hKcW+8T51TV7LWuaPrcoBleILmJ T0dOGfXMx84xgwBI8ahi14kvmZbzdCHlABZGw= Original-Received: by 10.205.119.11 with SMTP id fs11mr18465835bkc.58.1321258402646; Mon, 14 Nov 2011 00:13:22 -0800 (PST) Original-Received: from [192.168.2.35] (p57AFA984.dip.t-dialin.net. [87.175.169.132]) by mx.google.com with ESMTPS id f14sm8141185bkv.3.2011.11.14.00.13.20 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 14 Nov 2011 00:13:21 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1251.1) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; 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: 05FUUdmF7 - 1cb06324c9eb - 20111114 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:72405 Archived-At: Am 14.11.2011 um 07:00 schrieb Lutz Haseloff: > 2011/11/11 Wolfgang Schuster : >> >> Am 11.11.2011 um 13:01 schrieb Lutz Haseloff: >> >>> Hi Wolfgang, >>> >>> I'm looking for documentation for your handy module. >>> >>> Particularly i'd like to know all the options i can use for >>> the commands \setmainfont and \setupsimplefonts. >>> >>> My goal is to use a font in my document in >>> different sizes (say 12, 17 and 35pt) with adequate >>> line spacing. >> >> Do you want a whole family in this size or only a single style of a font? > > I need Linux Libertine as Serif, Aller as SansSerif and Aller in 35pt > for large titles with proper line spacing. > > My success so far: > > \definefontfeature[cond][default][extend=.8] > \usemodule[simplefonts] > \setmainfont[linuxlibertineo] > \setsansfont[aller][features=cond] > \mainlanguage[de] > \starttext > Dudelsackpfeifenmachergeselle > > {\it > Dudelsackpfeifenmachergeselle } > > {\bf > Dudelsackpfeifenmachergeselle } > > {\bi > Dudelsackpfeifenmachergeselle } > > \ss > Dudelsackpfeifenmachergeselle > > {\it > Dudelsackpfeifenmachergeselle } > > {\bf > Dudelsackpfeifenmachergeselle } > > {\bi > Dudelsackpfeifenmachergeselle } > \stoptext > > > Now some questions remain: > How can i set the size of the fonts? > \setsansfont[aller][features=cond,size=14pt] > seems not to work. > How can i define the 35pt .8 condensed Aller? Define a style for the heading after you have set the font for serif and sans serif with: \definefont[TtitleFont][Sans at 35pt] \setuphead[chapter][style=TitleFont] %\setuphead[chapter][style=TitleFont,interlinespace=40pt] 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 ___________________________________________________________________________________