[NTG-context] placesidebyside inside combination
Hello, Nesting \placesidebyside inside \startcombination\stopcombination appears to throw-off the spacing. Alan %%% % Minimal example: % (left pair is misplaced) %%% \setupcombinations [distance=0cm] \starttext \framed [width=8cm] {% \startcombination [2] {\placesidebyside {\framed [width=2cm,height=3cm, background=color,backgroundcolor=red] {}} {\framed [width=2cm,height=3cm, background=color,backgroundcolor=green] {}} } {(a)} {\placesidebyside {\framed [width=2cm,height=3cm, background=color,backgroundcolor=blue] {}} {\framed [width=2cm,height=3cm, background=color,backgroundcolor=yellow] {}} } {(b)} \stopcombination } \stoptext ___ 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 ___
Re: [NTG-context] placesidebyside with aligned formula
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