ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* FLOWchart clipping or offset
@ 2007-12-12 19:39 Johan Sandblom
  0 siblings, 0 replies; only message in thread
From: Johan Sandblom @ 2007-12-12 19:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Consider this example. As it stands, the cells in the flow chart are
clipped on the horizontal extremes. On the other hand if the offset is
uncommented, a vertical offset is introduced which makes the bottom of
the chart depart from the page (or at least it does in the real world
use from which this is drawn). I remember horoffset from some context
but it does not work here. Is there a solution I am missing?

Johan

\setuppapersize[S6][S6]
\usemodule[chart]

\starttext

\setupFLOWcharts[dx=-17mm, dy=2mm, width=60mm,
  height=16mm,
  %% offset=17mm, % <-------Uncomment this
  ]
\startFLOWchart[pa-er-cycle]
\startFLOWcell
  \name          {omgivning}
  \location      {3,1}
  \shape         {action}
  \text          {Omgivning}
  \connection[lt]{sinnen}
\stopFLOWcell
\startFLOWcell
  \name          {sinnen}
  \location      {1,2}
  \shape         {action}
  \text          {Sinnesintryck}
  \connection[blp]{informationsbearbetning}
\stopFLOWcell
\startFLOWcell
  \name          {informationsbearbetning}
  \location      {3,3}
  \shape         {action}
  \text          {Informationsbearbetning}
  \connection[prb]{motor}
  \connection[nrt]{inkodning}
\stopFLOWcell
\stopFLOWchart

\framed{\FLOWchart[pa-er-cycle]}

\stoptext

-- 
Johan Sandblom, MD PhD
m +46735521477  Sweden
"What is wanted is not the will to believe, but the
will to find out, which is the exact opposite"
- Bertrand Russell
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-12-12 19:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-12 19:39 FLOWchart clipping or offset Johan Sandblom

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