Aditya Mahajan wrote:
> How do I place some formula on to the right of some text. This does 
> not work.
>
> \starttext
>    \placesidebyside
>    {\framed[width=8cm,align=leftflushed]{\input knuth \relax}}
>    {%
>      \startformula\startalign
>        \NC a \NC= b \NR
>        \NC c \NC= d \NR
>      \stopalign\stopformula
>    }
> \stoptext
>
> It works if I only have one line formula without \startalign. What 
> magic do I need to place around startformula?
>
>
>   
put it in a vbox, or use a framed:

\starttext
   \placesidebyside
   {\framed[width=8cm,align=flushleft]{\input knuth \relax}}
   {\framed[frame=off,align=normal,strut=no]{
     \startformula\startalign
       \NC a \NC= b \NR
       \NC c \NC= d \NR
     \stopalign\stopformula
   }}
\stoptext

btw, it's flushleft

Hans

-- 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

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

Reply via email to