Hans van der Meer wrote:


On Jan 6, 2006, at 18:20, Peter Rolf wrote:

Hans van der Meer wrote:
I want to put to some paragraphs, each as framed text, on one line.
Such as:

\startframedtext[width=...]
    para 1
    \startitemize
    ....etc
\stopframedtext
\startframedtext[width=...]
    para 2
    \startitemize
    ....etc
\stopframedtext

I tried some things but the two frames will not come out on one line.
How to do this?

\placesidebyside (context manual p.228) should work. A \hbox is  another
option, but maybe too unhandy for this.

Greetings, Peter


No, that will not work.
After much probing I found the culprit.
The framedtext takes the full linewidth and apparently does not reduces it to the given size.
Therefore enclosing in a vbox seems necessary:
   \vbox{\hsize=framesize\startframedtext{width=framesize ...

Question for Hans Hagen: is it an option letting framedtext set the hsize when a specific width is given?

\hbox to \hsize \bgroup
   \startframedtext[none][width=.5\textwidth]
       \input tufte
   \stopframedtext
   \startframedtext[none][width=.5\textwidth]
       \input zapf
   \stopframedtext
\egroup

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to