ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* float over both text and margin
@ 2005-12-08 22:47 Vit Zyka
  2005-12-12 18:02 ` Hans Hagen
  2005-12-12 18:06 ` Hans Hagen
  0 siblings, 2 replies; 4+ messages in thread
From: Vit Zyka @ 2005-12-08 22:47 UTC (permalink / raw)


Hi.

1) I am unsuccessfully solving the problem of making float spanning both 
text and margin. More over, it is inside columnset... Example follows. 
Is there some solution?
-----------------------------------------
\showframe
\setupcolors[state=start]
\setuplayout[margin=0pt,rightmargin=1.5cm,width=middle]

\starttext
\startcolumnset
   \dorecurse{2}{\input knuth \endgraf\blank}
   \placefloat[page]{none}
     {\framed
      [width=\dimexpr\makeupwidth+\rightmarginwidth+
                     \rightmargindistance\relax,
       height=\textheight]
      {Here I would like to be a float over both text and margin. How?}
     }
   \dorecurse{10}{\input knuth \endgraf\blank}
\stopcolumnset

\stoptext
-----------------------------------------

2) As a side effect I discover that in the following example the float 
is over the text (so some text is disappeared).
-----------------------------------------
\showframe
\setupcolors[state=start]
\setuplayout[margin=0pt,rightmargin=1.5cm,width=middle]

\starttext
\startcolumnset
   \dorecurse{2}{\input knuth \endgraf}
   \placefloat[page]{none}
     {\framed
        [width=\makeupwidth,height=\textheight,background=screen]
        {Here I would like to be a float over both text and margin. How?}
     }
   \dorecurse{10}{\input knuth \endgraf}
\stopcolumnset

\stoptext
-------------------------------------------

Vit

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

end of thread, other threads:[~2005-12-12 22:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-08 22:47 float over both text and margin Vit Zyka
2005-12-12 18:02 ` Hans Hagen
2005-12-12 22:02   ` Vit Zyka
2005-12-12 18:06 ` Hans Hagen

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