ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "B. Tommy Jensen" <btoj@frisurf.no>
To: ntg-context@ntg.nl
Subject: "Float within a frame" challenge
Date: Mon, 01 Sep 2008 22:18:52 +0200	[thread overview]
Message-ID: <op.ugtj1qdusciad5@tommy-pc.i04.local> (raw)

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
___________________________________________________________________________________


             reply	other threads:[~2008-09-01 20:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-01 20:18 B. Tommy Jensen [this message]
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

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=op.ugtj1qdusciad5@tommy-pc.i04.local \
    --to=btoj@frisurf.no \
    --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).