From: "Wolfgang Schuster" <schuster.wolfgang@googlemail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: No output for layers
Date: Tue, 8 Jul 2008 15:28:15 +0200 [thread overview]
Message-ID: <115224fb0807080628r2adc42cdu106ca5a070627ea6@mail.gmail.com> (raw)
In-Reply-To: <492819E5-2A77-46FE-A08E-6FDC19682F7F@mpq.mpg.de>
On Tue, Jul 8, 2008 at 3:19 PM, Oliver Buerschaper
<oliver.buerschaper@mpq.mpg.de> wrote:
>>> Do you perhaps also know how to draw a frame around the layer
>>> boundary? The command \setlayerframed only seems to encapsulate the
>>> actual content with a frame …
>>
>> Can you be more concrete, what do you mean by boundry oround the
>> layer.
>
> I'm thinking of a frame that visualizes the actual drawable rectangle
> of the layer … that is, for
>
> \definelayer
> [mylayer]
> [x=78mm,
> y=3mm,
> height=43.5mm,
> width=128mm]
>
> I would like a frame to be drawn around the box whose dimensions and
> location on the page are specified by x, y, height and width. I'd also
> be fine if this area could be shaded with some background colour.
>
> With \setlayerframed I seem to only get a frame which fits the actual
> content snugly, e.g. if I draw the text "Hello world" into the layer
> then a small frame will be drawn around this text only and not around
> the entire layer box …
Set the values with \setlayer and not with \definelayer.
> See what I mean?
\definelayer
[mylayer]
\starttext
\setlayerframed
[mylayer]
[x=78mm,
y=3mm,
height=43.5mm,
width=68mm]
{framed layer}
\flushlayer[mylayer]
\stoptext
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2008-07-08 13:28 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-08 12:17 Oliver Buerschaper
2008-07-08 12:24 ` Wolfgang Schuster
2008-07-08 12:33 ` Wolfgang Schuster
2008-07-08 12:54 ` Oliver Buerschaper
2008-07-08 13:03 ` Wolfgang Schuster
2008-07-08 13:19 ` Oliver Buerschaper
2008-07-08 13:28 ` Wolfgang Schuster [this message]
2008-07-08 22:45 ` Uwe Koloska
2008-07-08 12:28 ` Wolfgang Schuster
2008-07-08 23:09 ` Uwe Koloska
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=115224fb0807080628r2adc42cdu106ca5a070627ea6@mail.gmail.com \
--to=schuster.wolfgang@googlemail.com \
--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).