ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jeong Dal <haksan@me.com>
To: ntg-context@ntg.nl
Subject: Re: Text around a figure in a framedtext (Wolfgang Schuster)
Date: Sat, 08 Aug 2015 22:49:22 +0900	[thread overview]
Message-ID: <DF2B8DA0-AF3D-4E70-BA42-8AA820D9B288@me.com> (raw)
In-Reply-To: <mailman.1.1439028001.13416.ntg-context@ntg.nl>

Dear Wolfgang,

> You have to use \starthanging instead of \placefgure when you’re in a frame.
> 
> \starttext
> 
> \startframedtext[width=max]
>     \starthanging[location=right]
>         {\startMPcode
>          draw unitsquare scaled 2cm ;
>          \stopMPcode}
>     \input tufte
>     \stophanging
> \stopframedtext
> 
> \stoptext
> 
> Wolfgang

Thank you for letting me know the command “starthanging”.
I tried the command  “\startfiguretext … \stopfiguretext”, and found that there is no text below the square.

\startframedtext[width=\textwidth]{
\startfiguretext[right,none]{}{%
\startMPcode
 draw unitsquare scaled 2cm ;
 \stopMPcode}
\input knuth
\stopfiguretext}
\stopframedtext

Your example worked fine, but if we replace tufte by knuth, then text is written over the square while the tufte’s text was witten surround the square.
Is it expected result?

Thank you again.

Best regards,

Dalyoung
___________________________________________________________________________________
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
___________________________________________________________________________________

       reply	other threads:[~2015-08-08 13:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1.1439028001.13416.ntg-context@ntg.nl>
2015-08-08 13:49 ` Jeong Dal [this message]
2015-08-08 14:10   ` Otared Kavian
2015-08-08 14:21   ` Wolfgang Schuster

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=DF2B8DA0-AF3D-4E70-BA42-8AA820D9B288@me.com \
    --to=haksan@me.com \
    --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).