From: Cecil Westerhof <cldwesterhof@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: How to center with picture taken into consideration
Date: Sat, 27 Apr 2013 11:50:11 +0200 [thread overview]
Message-ID: <CAG-LmmAHAMp_tMAbcx4DSyryjQWTdsoVvux4SygeRHV2PLP=uQ@mail.gmail.com> (raw)
I keep bugging the list. ;-)
I center some text on a place where I also place a picture on the
right site. Is it possible to center on the part that is not taken up
by the picture?
The picture is placed with:
\definelayer[picture][
preset=righttop,
width=\textwidth,
]
\setlayer[picture]{\externalfigure[graphics/pasfoto]}
\setupbackgrounds[text][text][background=picture]
\setupbackgrounds[state=repeat]
To make things a little more complicated, the placing of the picture
is conditional. So it is not always done.
--
Cecil Westerhof
___________________________________________________________________________________
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
___________________________________________________________________________________
next reply other threads:[~2013-04-27 9:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-27 9:50 Cecil Westerhof [this message]
2013-04-27 12:35 ` Sietse Brouwer
2013-04-27 19:24 ` Peter Münster
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='CAG-LmmAHAMp_tMAbcx4DSyryjQWTdsoVvux4SygeRHV2PLP=uQ@mail.gmail.com' \
--to=cldwesterhof@gmail.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).