On 3/12/2024 8:57 AM, Max Chernoff wrote:
Hi all,
Often I want to include a sentence/paragraph in the middle of a long multipart formula. With the old \startalign/\stopalign formulas, I could use \intertext{...} to do this, but this doesn't work with the new \alignhere/\breakhere formulas. I've managed to find a "solution" for this, although I'd prefer something a bit less hacky. Any ideas?
Also, is there a way to highlight an equation across an \alignhere? Once again, I've found a "solution", but like before, it's pretty hacky.
Example files are attached. maybe
\starttexdefinition protected newintertext #1 \leftparbox [global] { \vadjust pre \bgroup \forgetall \vskip.5\strutdp % needs to be more clever in the end \dontleavehmode\vtop\bgroup #1 \egroup \egroup } \breakhere \stoptexdefinition but i need to discuss it with Mikael as we might integrate something better and then it needs to be documented (in the upcoming manual) as well Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------