Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [breqn]

{breqn} is package to facilitate automatic line-breaking of displayed math expressions. The package also makes \left, \right constructs to work as one would expect whether or not there is an intervening line break.

2
votes
2answers
29 views

breqn is not compatible with icomma

Whenever I load the packages breqn and icomma into the same document, the document fails to compile. The order of the packages makes no difference. MWE: \documentclass{article} \usepackage{breqn} \...
1
vote
0answers
33 views

Semicolon in node label in Tikz [duplicate]

I am trying to have a label with the text "I(X;Y)". However, it fails to compile due to the semicolon. Is there any way to escape the semicolon? Edit: The following code works perfectly \...
2
votes
2answers
102 views

How to break apart a huge fraction resulting from a symbolic calculation?

I'm trying to use a Computer Algebra System to learn something about an algebraic expression, and this is what it gives me as a result in LaTex: \documentclass{article} \usepackage{breqn} \begin{...
7
votes
2answers
118 views

Tikz-cd problems whilst also using breqn package

Running the following: \documentclass[11pt,a4paper]{article} \usepackage{tikz-cd} \usepackage{tikz-cd} \begin{document} \begin{tikzcd} 0 \arrow{r} & ker{h} \arrow{r} & H(C;G) \arrow{r} &...
1
vote
2answers
70 views

breqn not aligning first two lines

I have input of the following form (where I have redefined \[ to be \begin{dmath*} and \] to be \end{dmath*}) \begin{dgroup*} \[ A = \frac{1}{T}\left[\frac{2}{\left(\min_{s\in [0,1]}\gamma(s)\...
5
votes
1answer
85 views

Conflict between breqn and newtxmath packages

I was typesetting a document. I have imported the breqn package and everything is working just fine. I decided that I did not like the default Computer Modern math font, so I wanted to change it to ...
2
votes
0answers
18 views

breqn doesn't manage to fully break my equation

I'm trying to use the breqn package to add automatic line breaks to a particular equation. It gives me three line breaks in the example below, then gives up and lets the equation trail off the page. ...
1
vote
2answers
42 views

Adjust when breqn breaks a line in a long equation

I'm using the breqn package for the first time, and while in one equation I get, using \begin{dmath*} \sum_{k=0}^{n} \left(\frac{k}{n} - x\right)^2 \binom{n}{k} x^k (1 - x)^{n - k} = \left(1 - \...
2
votes
0answers
38 views

Error when using breqn and nowidow?

I've been using the nowidow package with the option all loaded like so \usepackage[all]{nowidow} From the package documentation it says "The all option sets the widow and orphan penalties for the ...
1
vote
1answer
65 views

Loading the breqn package changes appearance of inline maths

Consider this MWE. Why when I load the package breqn does the appearance of the \frac{}{} change? With breqn loaded Without breqn Code \documentclass[12pt,a4paper]{report} \usepackage{amsmath} \...
1
vote
0answers
58 views

Unexpected Gamma in output (Bug?) [closed]

I've got one of the weirdest results I ever saw. When inputting the following code, the output was not just the normal "implies" sign (⇒), but had a capital greek Gamma (Γ) in front of it. ...
3
votes
1answer
98 views

left align broken equation using breqn package

The output of: \documentclass{book} \usepackage{amsmath} \usepackage{breqn} \setlength{\textwidth}{190pt} \begin{document} \begin{dgroup*} \begin{dmath*} 125(x+2)^{3}= \left [5(x+2)+4(x- 5)\right ]\...
2
votes
0answers
153 views

Conflict between packages breqn and siunitx?

I'd like to use siunitx package to write an equation like this: However, when I try to use \SI in math mode I get a very strange result: After some tries, I think I managed to find what is causing ...
1
vote
0answers
111 views

TexStudio editor Math Highlightng in different environment [duplicate]

I would like to customize the settings for text highlighting on TexStudio. I'm working with lot of big and small equations and using the breqn package. Here is some sample code: \documentclass{...
0
votes
1answer
109 views

Why this Latex code hangs lualatex? Foreign command \over;

I am compiling code generated by FriCAS computer algebra system. Would like to know if you think the Latex code generated by FriCAS is invalid, so I can complain to them, or if there is a work around....
1
vote
1answer
24 views

Incorrect Hyperref links with memoir and breqn

Consider the following MWE \documentclass[11pt,oneside]{memoir} \usepackage{breqn} \usepackage{hyperref} \begin{document} \mainmatter \begin{dmath}\label{eq:1} 1 + 1 = 2, \end{dmath} \newpage \...
3
votes
2answers
78 views

Math line breaks in user defined macros

I have been defining a mathematic formula using NewDocumentCommand. This works well, but I do manage to get line breaks. A minimal working example can be found below. Part of the construction is ...
1
vote
1answer
108 views

breqn allows an overlapped equation number

I'm trying to typeset some large equations generated by Maxima. "align" requires manually managing \right. and \left. around each line break. I find this time-consuming and error-prone (and I have a ...
2
votes
1answer
71 views

Tikz + breqn: Compiling never finishes with |-Symbol

I just occurred a strange error in tikz. The following MWE never finishes on my machine (MikTeX, breqn Version 0.98e, tikz Version 3.0.1a): \documentclass[11pt,a4paper]{article} \usepackage{tikz} \...
1
vote
1answer
220 views

Parentheses in \overset not working when using breqn

\documentclass{article} \usepackage{amsmath} \usepackage{breqn} \begin{document} \begin{math} \overset{.}{()} \end{math} \end{document} In this example parentheses (even a single ...
3
votes
1answer
91 views

another breqn problem. Extra letters show up in title with cprotect package

Why are there extra letters printed in the following title only when adding breqn package and how to get rid of them? This shows up with texlive 2016 both pdflatex and lualatex \documentclass[11pt,...
3
votes
2answers
183 views

Fix BioMed Central's redefinition of \end for breqn compatibility

The BioMed Central LaTeX class, bmcart.cls, redefines \end in a manner that causes downstream errors when used in conjunction with breqn.sty. The offending portion of bmcart.cls is provided below: \...
3
votes
1answer
52 views

Incompatibility with MTPro Lite and breqn packages

There is an incompatibility with the MTPro Lite and breqn packages that breaks the \implies symbol definition. At my sample code: \documentclass{article} \usepackage[lite,subscriptcorrection,...
1
vote
0answers
164 views

How to suggest a good place for a line break to breqn?

I have a long equation that I want to automatically break over multiple lines using breqn. The equation is: C_{\bm{r},\bm{V}} = \max \left\lbrace c: \forall S\subseteq \{1,\dots,N\}, c \leq I(...
2
votes
1answer
214 views

breqn package and equation numbering

I have the following problem with breqn package: I want to write a long equation and automatically split it with dmath environment. It is splitting equation perfectly, but placing the equation number ...
4
votes
1answer
25 views

Linebreaks (^^J) in \message arguments stopped working after starting to use breqn

I have several \message commands for inserting information into the log file, and they use ^^J for inserting line breaks in the log file. After adding \usepackage{breqn}, the log file now contains ^^J ...
2
votes
0answers
209 views

breqn dmath change of layout

The dmath environment of the breqn has a property called layout, which determines the shape an equation is formatted. How can I change the layout option of this environment? consider the following ...
0
votes
1answer
428 views

Spurious error? “Argument of \genfrac has an extra }.” with \usepackage{breqn}

The equation below compiled fine the other day, and now it doesn't, giving the error in the subject heading. If I delete the equation the whole document compiles just fine. The glitch started when, ...
1
vote
1answer
686 views

How I can align equations in “Breqn” package?

I am using breqn package for automatic breaking of long math equations. I am having problem in alignment of equations as the equations of shorter lengths tends to miss align with equations of longer ...
2
votes
1answer
61 views

Referencing breqn's dgroup with cleveref

The code \documentclass{article} % \usepackage{breqn} \usepackage{cleveref} % \begin{document} \begin{dgroup} \label{eq:mygroup} \begin{dmath} a = b \end{dmath}, \begin{dmath} c = b ...
0
votes
0answers
24 views

Breqn and TeX Live 2016 [duplicate]

Since upgrading to MacTeX 2016 the following example no longer compiles as expected: \documentclass{article} \usepackage[T1]{fontenc} \usepackage{amsmath} \usepackage{breqn} \begin{document} \begin{...
0
votes
0answers
60 views

Lualatex compilation problem using cancel and breqn packages [duplicate]

foo.tex \documentclass{article} \usepackage{cancel} \usepackage{breqn} % <= this include is causing troubles \begin{document} \[\cancelto{0}{foo}\] \end{document} compiling produces these ...
3
votes
1answer
496 views

Warning: Label(s) may have changed with breqn

In a document I am preparing I make extensive use of the breqn package. However, this seems to cause a problem when I attempt to use math inside of captions. An MWE: \documentclass[11pt,oneside,...
3
votes
1answer
67 views

breqn corrupts fouriernc in TL 2016

Finally, when I think I found a font I like to use, I find that breqn package corrupts it when using bmatrix and other such constructs from amsmath. This is so annoying. \documentclass[]{book} \...
0
votes
1answer
254 views

Error with \widetilde

So I've been using the \widetilde notation in one of my papers, and it worked perfectly fine, but recently I had to change the format I've been using on the paper, the majority of the tags still work ...
1
vote
1answer
293 views

Conflict between breqn, bm and pslatex packages

If I use bm, breqn and pslatex packages together, whenever I type a symbol using \bm, it prints it three times in different sizes. For example, the following code (I'm using online latex editor - ...
1
vote
0answers
53 views

Declare breaking and non-breaking symbols for breqn

How can I specify that a relation symbol is not available for breaking a formula? Furthermore, how can I specify that the punction . can be used as a breaking symbol? Ideally I would like to write ...
3
votes
1answer
109 views

Lualatex beamer breqn: Text appears four timestimestimestimes, why and how to mitigate? [duplicate]

In the following example, why does the word Spam appear four timestimestimestimes? $ cat mwe.tex \documentclass{beamer} \usepackage{breqn} \newcommand{\spam}{\textrm{Spam}} \begin{document} \begin{...
8
votes
1answer
989 views

Auto Breaking of Long Equations

There is the package breqn for automatically breaking long math equations. I have used it, but there are three problems that I am facing. First: How can I implement the "Drop Ladder Layout", ...
1
vote
1answer
433 views

Conflict between breqn and \dashint

If I use the following code to get an average integral \documentclass{article} \usepackage{scalerel} \usepackage[usestackEOL]{stackengine} \def\dashint{\,\ThisStyle{\ensurestackMath{% \...
4
votes
0answers
250 views

Latex complains about missing $ from listing of source code [closed]

This is the smallest example I can come up which shows this problem. Latex complain about missing $ and the error is pointing to a line in code listing ! This problem can be resolved by doing 3 ...
17
votes
2answers
973 views

Tex capacity exceeded compiling only 50 lines latex file (pdftex), seg. fault (lualatex)

This is one of the strangest things I've seen in Latex (and I have seen many strange things). 50 lines of code, almost all of it is verbatim. Any small change to the verbatim can cause the error to ...
2
votes
1answer
144 views

why is adding subdepth package makes lstlisting give Matlab error loading file?

If I have a dollar each time I find a conflict between Latex packages I would be a rich man. I added \usepackage[low-sup]{subdepth} and now I am starting to get errors from matlab-prettifier when ...
4
votes
1answer
131 views

tex capacity exceeded when using breqn package with a separate macro

I am trying to use a nice solution for one problem I have which is to break long math sequence with commas in them as given here allowing-line-break-at-in-inline-math-mode only to to find I get tex ...
1
vote
0answers
108 views

How to break long sequence of fractions in math mode? [duplicate]

I tried few solutions, such as using seqsplit and breqn but no success. splitting-very-big-numbers-over-several-lines I want to break long sequence of fractions. Here is MWE \documentclass[12pt]{...
2
votes
2answers
738 views

Problem compiling when I use symbols less than or greater than

I am writing a document with Texmaker and when I write some equation with the less than (<) or greater than (>) symbols, then it doesn't compile (it doesn't end compiling and I don't get error ...
1
vote
2answers
353 views

Auto Breaking of Long Math Equations

There is the package breqn for automatically breaking long math equations. I have used it, but there is a little problem that I am facing with it. When we have two different long equations that we ...
2
votes
1answer
84 views

Breaking long formula at specific characters

I have some rather long formulas that are not equations, and I would like LaTeX to break them automatically whenever necessary, preferably at the \vee symbol. I currently use the breqn package and the ...
3
votes
0answers
284 views

error when adding \usepackage{program}. Another breqn conflict. Bad character code (265)

Things were going ok for a day or 2 with no latex package conflicts, then I wanted to try the program package, but now I get strange errors. By trial and error it seems this happens because I am also ...
18
votes
1answer
272 views

Why does LuaTeX plus breqn quadruple output of \text{} when in display-math mode?

MWE needs to be compiled with LuaTeX to reproduce the problem: \documentclass[11pt]{report}% \usepackage{amsmath,mathtools} \usepackage{breqn} \begin{document} $J^{\ast} = \...