Re: New chapter in ANSS-CE

Aditya Mahajan <[email protected]> Wed, 20 May 2026 08:01:09 -0400 (EDT)
Newsgroups gmane.comp.tex.context
Message-ID <[email protected]>
On Tue, 19 May 2026, Jim Diamond wrote:

> > That's a nice introduction.
> 
> Thanks.  I was trying to find something between "not enough" and "too
> much".  A Goldilocks problem, I suppose.

I think that you did an excellent job in selecting a good subset.

> > I did a quick read and noticed (after Eq 14.1):
> 
> >> The use of \startplacefigure is useful if your equation occupies many
> >> lines, and you want it to float to another page if it doesn’t fit on the
> >> current page. If you are
> 
> > There a typo (\startplacefigure instead of \startplaceformula),
> 
> (Argh!)  Thank for pointing that out.
> 
> > but the formula never "floats".
> 
> That is disturbing news.  Between "\startplace" and the \startplaceformula
> wiki entry (which says it floats) I thought it did, without testing it.

... that is wrong!

The old interface was \placeformula[ref] \startformula ... \stopformula 

When everything moved to a start..stop format, \startplaceformula ... \stopplaceformula was added. But it can do a bit more. Here are some examples from strc-mat.mkxl:

% \startplaceformula                 \startformula e=mc^2 \stopformula \stopplaceformula
% \startplaceformula[-]              \startformula e=mc^2 \stopformula \stopplaceformula
% \startplaceformula[x]              \startformula e=mc^2 \stopformula \stopplaceformula
% \startplaceformula[reference=foo]  \startformula e=mc^2 \stopformula \stopplaceformula
% \startplaceformula[title=whatever] \startformula e=mc^2 \stopformula \stopplaceformula
% \startplaceformula[suffix=x]       \startformula e=mc^2 \stopformula \stopplaceformula

Personally, I find the two \startplaceformula \startformula to be a bit redundant ... both could be wrapped behind a single macro (with number=yes|no to decide whether to place the number), but that will be a BIG change.

Aditya

___________________________________________________________________________________
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
___________________________________________________________________________________