ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* "Float within a frame" challenge
@ 2008-09-01 20:18 B. Tommy Jensen
  2008-09-02  6:26 ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: B. Tommy Jensen @ 2008-09-01 20:18 UTC (permalink / raw)
  To: ntg-context

Hi,
I am trying to accomplish the following layout with ConTeXt:

  - An icon and a descriptive text should be contained together in a  
separate frame
  - The frame should be centered and have a special background color
  - Within the frame, the icon should be placed to the upper left.
  - A descriptive text should "flow" around the icon within the frame,
    first part to the right and then below the icon.

I have tried the following construct:

%----------------------

\startframedtext
\placefigure[left]{none}{\externalfigure[danger]}

The textual description of the icon comes here. It should ideally flow to  
the right of
the figure within the frame, but the figure actually becomes behind the  
text.
\stopframedtext

%----------------------

The problem here is that the icon and text is placed on top of each other.

When removing the frame (\startframedtext command), the placement of the
figure and the text works OK, but I don't get a frame then of course.

I have studied the "It's in the details" document which explains a great
deal about float's, but I haven't found anything covering the frame issue.

Is the "startframedtext" the wrong command to use? All hints or suggestions
(like references to other tutorials) are very welcome.

Best regards,
Tommy Jensen
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2008-09-02 19:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-01 20:18 "Float within a frame" challenge B. Tommy Jensen
2008-09-02  6:26 ` Wolfgang Schuster
2008-09-02 18:46   ` Henning Hraban Ramm
2008-09-02 18:53     ` Aditya Mahajan
2008-09-02 19:10     ` B. Tommy Jensen

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