# [NTG-context] \placefigure and \em (again)

Willi Egger w.egger at boede.nl
Fri Feb 25 10:40:10 CET 2011

Hello,

of course I do not have the solution for the underlaying problem. I found out, that you can put a \strut in front of the problematic text and then it comes out ok.
Another point is, that placing the whole text-part i.e. all 4 paragraphs in your example between \bgroup \egroup results in more problems. In this case the tufte-text is also not flowing around the picture.

Kind regards

Willi

On 25 Feb 2011, at 08:56, Procházka Lukáš Ing. - Pontex s. r. o. wrote:

> Hello,
>
> sorry for repeating this topic, maybe it's not too attractive.
>
> Please, have a look to the following problem.
>
> I wonder why the behaviour described bellow occurs and how to typeset a paragraph starting with some text enclosed into {\em ...} group inside the "free" area formed (affected) by \placefigure.
>
> ---
>
> \starttext
>  \placefigure
>    [left,none]
>    {}
>    { \startMPcode
>        draw (0,0)--(6cm,6cm);
>      \stopMPcode
>    }
>
>  This is a normal text -- it flows around the picture on the left side of the page as expected.
>
>  {\em This empathized text starting a new paragraph} should not scratch the picture left.
>
>  When some text contains {\em an empathized text inside the paragraph}, text flows normally as expected.
>
>  \input tufte
> \stoptext
>
> ---
>
>
> Best regards
>
> Lukas
>
>
> --
> Ing. Lukáš Procházka [mailto:LPr at pontex.cz]
> Pontex s. r. o.      [mailto:pontex at pontex.cz] [http://www.pontex.cz]
> Bezová 1658
> 147 14 Praha 4
>
> Tel: +420 244 062 238
> Fax: +420 244 461 038<t-Hang3.mkiv><t-Hang3.pdf>___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context at 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
> ___________________________________________________________________________________