From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Small issue with \breakhere in math mode
Date: Sun, 6 Oct 2024 23:43:17 +0200 [thread overview]
Message-ID: <F1ECA17A-BB18-4523-8682-46FD1627EB1F@gmail.com> (raw)
Hi Hans and Mikael,
I found a small issue in math mode with \breakhere.
When \breakhere is followed by a brace in the following line, it creates a spurious break line.
It can be fixed easily by the user by adding an empty line or issuing a \relax command, but I wanted to let you know.
Please see the result of the following minimal example:
% begin breakhere-bug.tex
\starttext
Compare
\startformula
\alignhere {\darkred c^2} = a^2 + b^2 \breakhere
{\darkred z^2} = x^2 + y^2.
\stopformula
with
\startformula
\alignhere {\darkred c^2} = a^2 + b^2 \breakhere
{\darkred z^2} = x^2 + y^2.
\stopformula
and with
\startformula
\alignhere {\darkred c^2} = a^2 + b^2 \breakhere\relax
{\darkred z^2} = x^2 + y^2.
\stopformula
\stoptext
% begin breakhere-bug.tex
Best regards: Otared
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________
next reply other threads:[~2024-10-06 21:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-06 21:43 Otared Kavian [this message]
2024-10-06 22:24 ` [NTG-context] " Wolfgang Schuster
2024-10-07 7:02 ` Otared Kavian
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=F1ECA17A-BB18-4523-8682-46FD1627EB1F@gmail.com \
--to=otared@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).