ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Textbackground overlapping (2)
@ 2006-05-23 10:26 nico
  0 siblings, 0 replies; only message in thread
From: nico @ 2006-05-23 10:26 UTC (permalink / raw)


Hello,

Sorry, just another overlapping case I should have put in the preceding  
mail: when a float cuts the backgrounded stuff, the float is backgrounded  
too. Maybe harder to fix.

An example showing both cases (footnote + float):

\definecolor[ScreenGray][s=.95]
\definetextbackground[grayback]
     [background=color,
      backgroundcolor=ScreenGray,
      frame=on,
      strut=yes,
      width=broad,
      location=paragraph,
      framecolor=ScreenGray,
      leftoffset=\topskipgap,
      before=\blank,
      after=\blank,
      align=right]

\starttext

A footnote\footnote{Covered by the background, right?}.
\input tufte
\input tufte
\input tufte
\input tufte

\starttextbackground[grayback]
\input tufte
\stoptextbackground
\placefigure[top]{joke}{\framed[width=5cm]{Hi}}

\stoptext

Regards,
BG

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-05-23 10:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-23 10:26 Textbackground overlapping (2) nico

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