ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How to center with picture taken into consideration
@ 2013-04-27  9:50 Cecil Westerhof
  2013-04-27 12:35 ` Sietse Brouwer
  0 siblings, 1 reply; 3+ messages in thread
From: Cecil Westerhof @ 2013-04-27  9:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-04-27 19:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-27  9:50 How to center with picture taken into consideration Cecil Westerhof
2013-04-27 12:35 ` Sietse Brouwer
2013-04-27 19:24   ` Peter Münster

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