Open typomaster2 opened 3 months ago
A fix for breqn
from https://tex.stackexchange.com/questions/460746/tikz-cd-problems-whilst-also-using-breqn-package#answer-460750 works with rmathbr
too:
\makeatletter
\def\fixtikzforbreqn#1#2{%
\protected\edef#1{\noexpand\ifmmode\mathchar\the\mathcode`#2 \noexpand\else#2\noexpand\fi}%
}
\fixtikzforbreqn\tikz@nonactivesemicolon;
\fixtikzforbreqn\tikz@nonactivecolon:
\fixtikzforbreqn\tikz@nonactivebar|
\fixtikzforbreqn\tikz@nonactiveexlmark!
\makeatother
Ah! Perfect. Thank you very much, this seems to work well. Close / leave open as you please.
The command
\coloneq
used withtikz-cd
diagrams leads to an endless compilation when the packagermathbr
is enabled. There seem to be no issue whenrmathbr
is not used.For example, without
\usepackage{rmathbr}
, the following codeyields the expected diagram:
However, with
\usepackage{rmathbr}
enabled (uncommented), the compilation potentially goes on forever.I am using up-to-date versions of the packages and engines. You may try other colon-related things in the diagrams, they also seem to not work one way or another with
rmathbr
intikz-cd
diagrams, for example, the bare colon:
instead of\coloneq
.