From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95101 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: basic fontsizes question Date: Mon, 06 Jun 2016 22:48:44 +0200 Message-ID: <5755E1AC.5040505@gmail.com> References: <64e58e9f-5c44-0a0d-64dd-fd5300768be2@gmx.es> <57553049.7020300@fehige.de> <5755513E.7030604@gmail.com> <5755693B.8010307@fehige.de> <57558320.1000402@fehige.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4343254740645235183==" X-Trace: ger.gmane.org 1465246164 32577 80.91.229.3 (6 Jun 2016 20:49:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 6 Jun 2016 20:49:24 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 06 22:49:13 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bA1SS-0002d8-Uy for gctc-ntg-context-518@m.gmane.org; Mon, 06 Jun 2016 22:49:13 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E1933ED0D; Mon, 6 Jun 2016 22:49:02 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lb0JDZxVzRMQ; Mon, 6 Jun 2016 22:49:02 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 2C164ED17; Mon, 6 Jun 2016 22:49:02 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 68234ED08 for ; Mon, 6 Jun 2016 22:49:00 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VWDr0FX8xRol for ; Mon, 6 Jun 2016 22:48:58 +0200 (CEST) Original-Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id C5142ED02 for ; Mon, 6 Jun 2016 22:48:48 +0200 (CEST) Original-Received: by mail-wm0-f44.google.com with SMTP id n206so6354387wmf.0 for ; Mon, 06 Jun 2016 13:48:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=W8V+pEFRVGfd+NjMHuzEsGMQ57h96jm/7KMSrFa6Bak=; b=ipNlMj0bEOIEgpGqsLQEcPFNrtUVZR2Ne4t1TET0YhncfB8wDOLWqFSSXu4U7cPSLd fi5TZkDcwobaSNGCaAuocXPTJHI7THzgpqDBTE4q0rFSXkzM7NBYwXALKYfFVl4DIXu1 Yo27h/0CPO9nFjdtfYBCqdDoFbHfgkF+dtrZSs1RCe+uwvQXr1MSfKeAOvDte1xU1c2Z rLjyaA2yiWtnlXIl86cGHJwWillBrM7hlEF3cuG2jKmrK/kvX+M+ArYMpN5rFZUMfw+k o2udh6rv7/KbjshUJNJ81qnrfj7wErMZtPgswGaOkNCDO5NmRvcBs7yzS1JGrpn9UCfd Dwqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=W8V+pEFRVGfd+NjMHuzEsGMQ57h96jm/7KMSrFa6Bak=; b=GCH1YVK4HaAUl6StwDBqfDaMUVC1UhTV25pYxdeEsRgxtRJJV7D6U+W38ktAOmipI+ NnFnukBvhZ4xkkW68SV6d4CISRQbR9q2/++/Oq5Bw4IGrS2TjNx13pSSx6yXXHmzFHkN qQNgmQgT06fSSRI9ITozXNV2X2PdLzQB8SXrmWEz+l1HUCXKjQPaBNb6qAQKd+2s47Gh RhzwvfeHj05Qt6tQoNFUnAGmgmA6kJ7lo9L7R7NaFK1WOPfzcmBR8rCMue4uIfnEKY67 0C/9uypy492pQJP0+bhOgmg0ZwhinSqPP8KYPYGU43+dJXE9ZVT/8qxFsCXG+iFlN+HQ PhiA== X-Gm-Message-State: ALyK8tKuvUSBMXb5ivwNkDnFioc4iu9HHIgEofy6/xWMthv2m8n7SngQ9cQ77gYqlJhlvQ== X-Received: by 10.194.228.102 with SMTP id sh6mr18800188wjc.173.1465246128373; Mon, 06 Jun 2016 13:48:48 -0700 (PDT) Original-Received: from keima.localdomain (x2f26fd5.dyn.telefonica.de. [2.242.111.213]) by smtp.gmail.com with ESMTPSA id lf7sm21950425wjb.23.2016.06.06.13.48.47 for (version=TLSv1/SSLv3 cipher=OTHER); Mon, 06 Jun 2016 13:48:47 -0700 (PDT) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: <57558320.1000402@fehige.de> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:95101 Archived-At: This is a multi-part message in MIME format. --===============4343254740645235183== Content-Type: multipart/alternative; boundary="------------060803090601030407070901" This is a multi-part message in MIME format. --------------060803090601030407070901 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Thomas, please the following article when you have your next question: http://www.shlomifish.org/philosophy/computers/netiquette/email/start-new-thread.html > Thomas Fehige > 6. Juni 2016 um 16:05 > > In the fonts book I found the \definebodyfont command, but it does not > to do what I expected. What I need (for a poster) is a set of absolute > font sizes. I tried the code below. I put some quirks in, like the > huge value for "a", to see if it works, but it doesn't. It just uses > the preset proportions relative to the preceding fontsize command (in > the example, \tfx is bigger than \tf). > > \definebodyfontenvironment[palatino][24pt][ > > text = 24pt, > > small = 22pt, > > x=22pt, > > scriptscript = 16pt, > > xx = 16pt, > > big=28pt, > > a = 80pt, % 28pt > > b = 40pt, > > c = 50pt, > > d = 50pt, > > interlinespace = 3ex, > > em = italic > > ] > > \setupbodyfont[palatino,24pt] > > \starttext > > \tf tf\\ > > \tfa tfa\\ > > \tfb tfb\\ > > \tfx tfx\\ > > \tfx tfx > > \stoptext > > When you have only a small amount of text the use of \definebodyfontenvironment is overkill because you can use the \definedfont command to set a certain font size. \starttext \start \definedfont[Serif at 20pt] \input ward \stop \startfont[SansBoldItalic at 18pt] \input ward \stopfont \stoptext Wolfgang --------------060803090601030407070901 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi Thomas,

please the following article when you have your next question: http://www.shlomifish.org/philosophy/computers/netiquette/email/start-new-thread.html
6. Juni 2016 um 16:05

In the fonts book I found the \definebodyfont command, but it does not to do what I expected. What I need (for a poster) is a set of absolute font sizes. I tried the code below. I put some quirks in, like the huge value for "a", to see if it works, but it doesn't. It just uses the preset proportions relative to the preceding fontsize command (in the example, \tfx is bigger than \tf).

\definebodyfontenvironment[palatino][24pt][

text = 24pt,

small = 22pt,

x=22pt,

scriptscript = 16pt,

xx = 16pt,

big=28pt,

a = 80pt, % 28pt

b = 40pt,

c = 50pt,

d = 50pt,

interlinespace = 3ex,

em = italic

]

\setupbodyfont[palatino,24pt]

\starttext

\tf tf\\

\tfa tfa\\

\tfb tfb\\

\tfx tfx\\

\tfx tfx

\stoptext


When you have only a small amount of text the use of \definebodyfontenvironment is overkill because you can use the \definedfont command to set a certain font size.

\starttext

\start \definedfont[Serif at 20pt]
\input ward
\stop

\startfont[SansBoldItalic at 18pt]
\input ward
\stopfont

\stoptext

Wolfgang
--------------060803090601030407070901-- --===============4343254740645235183== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============4343254740645235183==--