From: "Johan Sandblom" <jsandblom@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: FLOWchart clipping or offset
Date: Wed, 12 Dec 2007 20:39:11 +0100 [thread overview]
Message-ID: <97a06f070712121139u657f1e43j26e30ad1f67c212d@mail.gmail.com> (raw)
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
___________________________________________________________________________________
reply other threads:[~2007-12-12 19:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=97a06f070712121139u657f1e43j26e30ad1f67c212d@mail.gmail.com \
--to=jsandblom@gmail.com \
--cc=johan.sandblom@ki.se \
--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).