Thanks, Mikael. This works nicely with the one long formula I have.
I also have a couple of figures that will look better when they span two columns. When I try the following, the cow disappears as soon as I want it wider than \textwidth. Also, is there a way to access the current row number in a document so that I can replace the r=34 by something less manual? Thanks, Matthias \setuplayout[grid=yes] \definecolumnset[example][n=3,page=left] \definecolumnsetspan[wide][n=2] \setupalign[mathbookpasses] \setupexternalfigures[location=default] \starttext \startcolumnset[example] \input knuth TEXT THAT SHOULD GO BEFORE \startcolumnsetspan[wide][c=1,r=34,ntop=1] \externalfigure[cow.pdf][][width=1.2\textwidth] \stopcolumnsetspan TEXT THAT SHOULD GO AFTER \input knuth \input knuth \input knuth \stopcolumnset \stoptext > On Nov 23, 2025, at 4:02 AM, Mikael Sundqvist <[email protected]> wrote: > > Hi, > > if you want it to be placed exactly there in the text, that is not > really the way the new columnsets are meant to work. One shall be > aware of that with the new module, to place stuff where one wants, > there is a certain amount of manual work. > > If you are willing to do some manual placement, you can do something like > > \setuplayout[grid=yes] > > \definecolumnset[example][n=3,page=left] > > \definecolumnsetspan[wide][n=2] > > \setupalign[mathbookpasses] > > \starttext > > \startcolumnset[example] > > \input knuth > > % this needs two columns: > TEXT THAT SHOULD GO BEFORE > > \startcolumnsetspan[wide][c=1,r=34,ntop=1] > \startformula > \tau=\frac{1}{3} \left(1+\sqrt[3]{19-3 \sqrt{33}}+\sqrt[3]{19+3 > \sqrt{33}}\right) \ . > \stopformula > \stopcolumnsetspan > > TEXT THAT SHOULD GO AFTER > > \input knuth > \input knuth > \input knuth > \stopcolumnset > \stoptext > > But one shall also think one time more. If one has lots of long > formulas, then maybe a narrow three-column layout is not optimal. > > /Mikael > > On Sun, Nov 23, 2025 at 3:40 AM Matthias Weber > <[email protected]> wrote: >> >> Dear All, >> >> I am trying to use the new columnsets. I have a simple setup where I >> occasionally have a formula or figure that I would like to span two columns. >> How do I achieve that? >> >> Thanks, >> >> Matthias >> >> >> \definecolumnset[example][n=3,page=left] >> \starttext >> >> \startcolumnset[example] >> >> \input knuth >> >> % this needs two columns: >> \startformula >> \tau=\frac{1}{3} \left(1+\sqrt[3]{19-3 \sqrt{33}}+\sqrt[3]{19+3 >> \sqrt{33}}\right) \ . >> \stopformula >> >> \input knuth >> \input knuth >> \input knuth >> \stopcolumnset >> \stoptext >> ___________________________________________________________________________________ >> If your question is of interest to others as well, please add an entry to >> the Wiki! >> >> maillist : [email protected] / >> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl >> webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) >> archive : https://github.com/contextgarden/context >> wiki : https://wiki.contextgarden.net >> ___________________________________________________________________________________ > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : [email protected] / > https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl > webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) > archive : https://github.com/contextgarden/context > wiki : https://wiki.contextgarden.net > ___________________________________________________________________________________ ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : [email protected] / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________
