ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: Charts
Date: Tue, 11 Jan 2000 17:07:44 +0100	[thread overview]
Message-ID: <3.0.6.32.20000111170744.013d1e60@pop.wxs.nl> (raw)
In-Reply-To: <86u2kk8ud3.fsf@bumpa.altkom.com.pl>

At 04:07 PM 1/11/2000 +0000, Slawek Zak wrote:

if you just want a grid, you may try this one (copied from 1999-003.tex): 

\startbuffer[grid]
\setupFLOWcharts
  [option=test,
   nx=4,
   ny=3,
   dx=2\bodyfontsize,
   dy=2\bodyfontsize,
   width=12\bodyfontsize,
   height=7\bodyfontsize,
   maxwidth=\textwidth]

\startFLOWchart [grid]
\stopFLOWchart
\stopbuffer

\placefigure
  [here][fig:grid]
  {The grid.}
  {\getbuffer[grid]\FLOWchart[grid]}

or simplified: 

\setupFLOWcharts
  [option=grid,
   nx=4,
   ny=3,
   dx=2\bodyfontsize,
   dy=2\bodyfontsize,
   width=12\bodyfontsize,
   height=7\bodyfontsize,
   maxwidth=\textwidth]

\startFLOWchart [grid]
\stopFLOWchart

\FLOWchart[grid]

As you can see here, the grid and dimensions scale with the body font size.
You can check this with: 

\dostepwiserecurse{8}{12}{1}
  {{\switchtobodyfont[\recurselevel]\FLOWchart[grid]}}

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.nl
-----------------------------------------------------------------


  reply	other threads:[~2000-01-11 16:07 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-10 14:53 Undefined control sequence guravage
2000-01-10 15:17 ` Hans Hagen
2000-01-10 15:50 ` Berend de Boer
2000-01-10 15:52 ` Berend de Boer
2000-01-10 19:56 ` Charts Slawek Zak
2000-01-10 20:47   ` Charts Berend de Boer
2000-01-11  9:32     ` Charts Hans Hagen
2000-01-11 16:07       ` Charts Slawek Zak
2000-01-11 16:07         ` Hans Hagen [this message]
2000-01-11 18:23           ` Charts Slawek Zak
2001-08-21 22:58 charts Thomas Lohmann
2001-08-22 12:29 ` charts Hans Hagen
2005-04-04 20:28 Charts David Waller
2005-04-04 20:47 ` Charts Willi Egger
2005-04-05 19:59   ` Charts David Waller
2005-04-05 20:39     ` Charts Patrick Gundlach
2005-04-06 17:06     ` Charts Willi Egger
2005-04-06 18:06       ` Charts David Waller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3.0.6.32.20000111170744.013d1e60@pop.wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).