Am 05.07.2014 um 13:07 schrieb Flavien Lambert <petit.lep...@gmail.com>:

> Dear all, I was wondering if there was a way to avoid a new paragraph after a 
> framed text. For example, the following code
> 
> \starttext
> \framedtext[width=6em]{abc}\framedtext[width=6em]{abc}
> \stoptext
> 
> produces two boxes on top of each other. Is it possible to make them side by 
> side?
> 
> I could use a table but I would like to keep the possibility of playing with 
> the framebox size as much as I want (like a patchwork of boxes of different 
> sizes that would span part of the pages).

Add \dontleavehmode before the first \framedtext.

\starttext
\dontleavehmode\framedtext[width=6em]{abc}\framedtext[width=6em]{abc}
\stoptext

When you want more control about the horizontal placement put them in a line 
alignment environment:

\starttext
\startlinealignment[middle]
  \framedtext[width=6em]{abc}\framedtext[width=6em]{abc}
\stoplinealignment
\stoptext

Wolfgang
___________________________________________________________________________________
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 via email to