From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Learning layers: setlayer vs. setlayerframed
Date: Wed, 26 Oct 2011 09:57:08 +0200 [thread overview]
Message-ID: <16F277BC-38A3-4101-9D1E-F7B26A55BC60@googlemail.com> (raw)
In-Reply-To: <CAGbDsP2fBsDfWs+_McscM1+-wTsaEhFNKxUhR11fr23wxm3yKg@mail.gmail.com>
Am 26.10.2011 um 09:42 schrieb Mari Voipio:
> Hello!
>
> Based on a discussion with Hans at the ConTeXt meeting I'm starting to
> migrate my book covers from CorelDraw to ConTeXt using layers.
>
> After a bit of experimenting I managed to achieve my first layer, but
> looking at the examples on the wiki page, I'm wondering: what's the
> difference between \setlayer and \setlayerframed.
>
> Is the latter a subset of the first and possibly equal to
>
> \setlayer [name] % name of the layer
> {\framed[...=...,...=...]{LAYER}} % the actual contents of the layer
>
> or something else?
Yes, this is more or less the definition of \setlayerframed.
> And which one should I use, anyway? I need to put a bit of text and a
> bit of graphics onto the pages, but nothing complicated, just "boxes".
> But as I'm starting from zero, it would be nice to know what's the
> smartest way of doing it (on the moment).
For the graphics you can use \setlayer but \setlayerframed is better when
you a longer text which should be broken into lines.
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
prev parent reply other threads:[~2011-10-26 7:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-26 7:42 Mari Voipio
2011-10-26 7:57 ` Wolfgang Schuster [this message]
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=16F277BC-38A3-4101-9D1E-F7B26A55BC60@googlemail.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).