From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95095 Path: news.gmane.org!not-for-mail From: Thomas Fehige Newsgroups: gmane.comp.tex.context Subject: Re: basic fontsizes question Date: Mon, 6 Jun 2016 16:20:23 +0200 Message-ID: <575586A7.6030308@fehige.de> 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="===============0599532602469438739==" X-Trace: ger.gmane.org 1465222868 7959 80.91.229.3 (6 Jun 2016 14:21:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 6 Jun 2016 14:21:08 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 06 16:20:57 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 1b9vOh-00014e-FI for gctc-ntg-context-518@m.gmane.org; Mon, 06 Jun 2016 16:20:55 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id AC534EC9E; Mon, 6 Jun 2016 16:20:39 +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 rU-XlA72tzWv; Mon, 6 Jun 2016 16:20:37 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id EC0D8ECFF; Mon, 6 Jun 2016 16:20:37 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 50AF6ECB9 for ; Mon, 6 Jun 2016 16:20:37 +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 dgayJAu_UAQG for ; Mon, 6 Jun 2016 16:20:34 +0200 (CEST) Original-Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.13]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 71C1BEC9E for ; Mon, 6 Jun 2016 16:20:24 +0200 (CEST) Original-Received: from [192.168.178.27] ([77.3.144.129]) by mrelayeu.kundenserver.de (mreue101) with ESMTPSA (Nemesis) id 0LfikE-1bqBxN3HAY-00pLyf for ; Mon, 06 Jun 2016 16:20:24 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 In-Reply-To: <57558320.1000402@fehige.de> X-Provags-ID: V03:K0:bAflf+rPKNbSkLH9CA2Njy7qJLvWCH6JxGTpuo8gR97E4JbuY3R Qbo5w0CL/alDdE9BX7O0Q/5z9F1MB9pDIlvkQNovuIuDjB5JJtDzbi2gJ4tejXO4iF83Vtl yDxLEBO7LRq2JMd7plu5u1zT52KJ6WKCy7di1Ol2D+BZSMGYi9FUJkewHhEsor7jXZ9/aRI Gqkqh3baE+Tz/syrvwrtQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:5o0mElpV5VE=:7pi1/VPKXnUaQy7QEnLEKA nctQVTEp1heW6Yvki4Xtp1VR97tgmOFFxD71ljPw+kt8iNf5SR1mH+DtUG5VwDV2ZdR1NQW4Y A/dFL1AfFKkcuGvmX2aZU8+NZYqLnNXX41zgxwPz/RPYTSXVCzqnSMzPSUooMx06EaBaQ/OfG m8sBYxJpCf/Us1rCx2ZLlnloMNGUdaRzCabrDW3RBC8CVmjC7kucpfPbXxWqST8BIzoVllXBc IYDhklmvGYeCiAT4GCKXkw3+OjzXlC44tjeHMo4c38R+FiJ6f7kNLk0zRNL+RLnPbzdpwOpX+ ruJiEQXYLEWt/DRbOEyU2GIui592v9vU9KUpvmmYA8elHtbVw+muFcgX6lkz2t6dRVuZbeC61 ogh4WtSNom4p9TAai0gslkcWq3wxqvTN6wNkgkhvLj5GiU3SiwC1/VXea/dFXOexQ0KP1LztQ CmVi7nbk4a0Th1GNQx6cfIQ00QYLBqbgNVEASoSTqnEY5DRZn7ncqsIs9A2BY4lnZuJ8ujPTU +o6xVCR9jr5wqBfBG1wJQPeFbNTJnRT4oa1u+kHzfCTg0f6Pa9xgxO5IFOWVAyunOb9F5TmfY 22qxqybowWTcVYxR+LqGMhHRHUqNTb/9S9T7kKiPNEh1UTKMIyGEVn/JFw1i5HpslnCrPJCwh zJ7wplWM4CP7IqLNJQ+2TWh6twjGcZHk8R+rjkprIBX+OKMFrixUJqUJYjMi0oFqzAwjypBM4 FCBUkvmnInjbjUky 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:95095 Archived-At: This is a multi-part message in MIME format. --===============0599532602469438739== Content-Type: multipart/alternative; boundary="------------080309020408030901070407" This is a multi-part message in MIME format. --------------080309020408030901070407 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit edit: Sorry, I meant the command \definebodyfontenvironment, of course, like in the code sample. Am 06.06.2016 um 16:05 schrieb Thomas Fehige: > > 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 > > > > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ --------------080309020408030901070407 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit edit: Sorry, I meant the command \definebodyfontenvironment, of course, like in the code sample.

Am 06.06.2016 um 16:05 schrieb Thomas Fehige:

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



___________________________________________________________________________________
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
___________________________________________________________________________________

--------------080309020408030901070407-- --===============0599532602469438739== 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= --===============0599532602469438739==--