From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/21829 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Font size in FLOWchart module. Date: Mon, 08 Aug 2005 13:59:22 +0200 Message-ID: <42F7491A.1090807@wxs.nl> References: <200508072007.04419.john@wexfordpress.com> <42F70BBA.5010700@seznam.cz> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1123502643 3934 80.91.229.2 (8 Aug 2005 12:04:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 8 Aug 2005 12:04:03 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Aug 08 14:04:01 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1E26Kk-0003ux-6h for gctc-ntg-context-518@m.gmane.org; Mon, 08 Aug 2005 14:02:22 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EE566127F3; Mon, 8 Aug 2005 14:02:21 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07256-01; Mon, 8 Aug 2005 14:02:21 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BE0F4127C3; Mon, 8 Aug 2005 13:58:43 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B7087127C3 for ; Mon, 8 Aug 2005 13:58:42 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06863-05 for ; Mon, 8 Aug 2005 13:58:41 +0200 (CEST) Original-Received: from mailrelay02.solcon.nl (maillb.solcon.nl [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id A10F7127BD for ; Mon, 8 Aug 2005 13:58:41 +0200 (CEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay02.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id j78Bwc34006989 for ; Mon, 8 Aug 2005 13:58:38 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 1FB26193E8; Mon, 8 Aug 2005 13:11:43 +0200 (CEST) Original-Received: from [10.100.1.52] (unknown [10.100.1.52]) by server-1.pragma-net.nl (Postfix) with ESMTP id D2E3917A1D for ; Mon, 8 Aug 2005 11:11:41 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <42F70BBA.5010700@seznam.cz> X-Virus-Scanned: ClamAV 0.86.1/1008/Mon Aug 8 00:59:27 2005 on mailrelay02 X-Virus-Status: Clean X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:21829 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:21829 Vit Zyka wrote: > John R. Culleton wrote: > >> I am using the flowchart module to create various goodies. What >> I don't know how to do is regulate the size of the font for the >> text that goes inside the little boxes. Any suggestions? > > > I do not known any other way but put the size/style together with text: > > \startFLOWcell > \name{Obs} > \location{1,1} > \shape{action} > \text{{\switchtobodyfont[16pt]\bf Text in cell}} > \stopFLOWcell > > If you want to be consistent over several cells, define a macro. > vit in m-chart you will find: \setupFLOWcharts [\c!option=, \c!bodyfont=, \c!dot=, % private option \c!width=12\bodyfontsize, \c!height=7\bodyfontsize, \c!maxwidth=, \c!maxheight=, \c!offset=\v!standard, % == auto offset \c!dx=2\bodyfontsize, \c!dy=2\bodyfontsize, \c!nx=0, % 1, \c!ny=0, % 1, \c!x=1, \c!y=1, \c!autofocus=, \c!focus=, \c!background=, % \v!color, \c!backgroundcolor=\s!white, \c!rulethickness=\linewidth, \c!frame=\v!off, \c!framecolor=] \setupFLOWlines [\c!corner=\v!round, \c!arrow=\v!yes, \c!dash=\v!no, \c!radius=.375\bodyfontsize, % 2.5\c!rulethickness \c!color=FLOWlinecolor, \c!rulethickness=.15\bodyfontsize, % 2pt, \c!offset=\v!none] \setupFLOWshapes [\c!default=action, \c!framecolor=FLOWframecolor, \c!background=\v!color, \c!backgroundcolor=FLOWbackgroundcolor, \c!backgroundscreen=\@@rsscreen, \c!rulethickness=.15\bodyfontsize, % 2pt, \c!offset=.5\bodyfontsize] \setupFLOWfocus [\c!framecolor=FLOWfocuscolor, \c!background=\@@FLOSbackground, \c!backgroundcolor=\@@FLOSbackgroundcolor, \c!backgroundscreen=\@@FLOSbackgroundscreen, \c!rulethickness=\@@FLOSrulethickness, \c!offset=\@@FLOSoffset] \definecolor [FLOWfocuscolor] [s=.2] \definecolor [FLOWlinecolor] [s=.5] \definecolor [FLOWframecolor] [s=.7] \definecolor [FLOWbackgroundcolor] [s=.9] so guess ... what variable can be used to set the bodyfont Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------