[NTG-context] Alignments side by side
Willi Egger
w.egger at boede.nl
Mon Jan 16 09:34:23 CET 2006
Hi David,
you can play with placing floats in a combination:
\setupoutput[pdftex]
\setupformulae[location=left,margin=no]
\startbuffer[1]
\framed[frame=on,width=fit]
{\startformula
\eqalign{
f(x)&=x2-2x-3\cr
f(x)&=x^02x+1-1-3\cr
f(x)&=(x-1)2-4}
\stopformula}
\stopbuffer
\startbuffer[2]
\framed[frame=on,width=fit]
{\startformula
\eqalign{
f(x)&=x2-2x-3\cr
f(x)&=x^02x+1-1-3\cr
f(x)&=(x-1)2-4}
\stopformula}
\stopbuffer
\starttext
\placefigure[-]{none}
{\startcombination[2*1]
{\externalfigure[1][width=.45\textwidth,type=buffer]}{}
{\externalfigure[2][width=.45\textwidth,type=buffer]}{}
\stopcombination}
\stoptext
Willi
David Arnold wrote:
> All,
>
> I am wondering how I can put two alignment environments side-by-side?
>
> For test purposes, it's OK to use this twice.
>
> \placeformula[-]
> \startformula
> \eqalign{
> f(x)&=x^2-2x-3\cr
> f(x)&=x^02x+1-1-3\cr
> f(x)&=(x-1)^2-4}
> \stopformula
>
> I'd like to get two of these side-by-side, or something that will
> typeset a similar result side-by-side.
>
> Thanks.
> _______________________________________________
> ntg-context mailing list
> ntg-context at ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
More information about the ntg-context
mailing list