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.

Filter by
Sorted by
Tagged with
1
vote
1answer
17 views

breqn: dgroup environment not aligning properly

I'm trying to align a set of equations at the equal signs, with one of them breaking. This is the MWE. \documentclass{article} \usepackage{amsmath,mathtools,breqn} \usepackage{amssymb} \begin{...
0
votes
1answer
23 views

dgroup placing equation number on left side

I am using some equations that are auto-generated from a script and they are typeset using breqn functions. Using dgroup is causing my equation number to be on the left side instead of right. I call ...
1
vote
2answers
28 views

Breqn package fails to break equations on \DeclareMathOperator defined operators

I am writing code to automatically generate TeX files for biology paper supplementary materials. Specifically, long tables which list the genes in cellular genetic regulatory networks. These tables ...
1
vote
1answer
30 views

Affiliations appear in unspaced italics, possible math mode triggered by breqn package

I recently found out about the breqn package and have been using it profusely. However, I notice that my article's title section is thrown off by this package. Specifically, the affiliation part of my ...
1
vote
2answers
84 views

Extremely LONG equation with large fraction

I am trying to type this extremely long equation without success. I got this result out of Mathematica and copied it. For some reason, the parentheses are not changing their shape according to the ...
2
votes
1answer
36 views

Automatically break a very large formula through multiple pages, using package `breqn`

I have a document which contains very large sets, consisting of hundreds of large numbers, which have to be represented as products of their prime factors. So I need to use dseries* environment of the ...
2
votes
0answers
53 views

Problem with breqn

The minimal example: \documentclass[11pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{breqn} \begin{document} \begin{equation} \sigma_n(z) = \sum_{ k = 0 }^{ \lfloor ...
1
vote
1answer
83 views

babel and breqn packages generate error “! You can't use `the character ,' after \the.” [closed]

i'm using latex on a development version of ubuntu 20.04. in this environment, the babel and breqn packages generate error "! You can't use `the character ,' after \the." this did not happen before ...
0
votes
0answers
24 views

Why is the size of a phantom larger in a subscript of newcommand if I load breqn?

Here's a minimal working example: \documentclass{standalone} \usepackage{breqn} \newcommand{\testing}[3]{#1_{\phantom{#2}#3}} \begin{document} $\testing{a}{b}{c}^{\phantom{b}c}\quad a_{\phantom{b}c}^{...
0
votes
1answer
29 views

breqn override dgroup number

Is there a way to override the base number in breqn's dgroup environment? Take the following example: \documentclass{article} \usepackage{breqn} \begin{document} \begin{dgroup}[number={2}] \begin{...
6
votes
1answer
142 views

“Extra \else” error when combining breqn, thm-restate, and cleveref

I have a document that uses breqn, thm-restate (thmtools), and cleveref. I can't get it to compile. Here is a minimal example: \documentclass{article} \usepackage{thm-restate} \usepackage{breqn} \...
3
votes
1answer
73 views

How to make = work like + in breqn?

I want to write chains of equations like ugly formula = expanded = moving things around = simplified = nice formula and to have linebreaks in space-efficient places regardless of margin size and the ...
0
votes
0answers
51 views

error in breqn/flexisym.sty when using breqn with Libertinus font

I was just trying different fonts with Lualatex. I liked the following one given in MWE below. But I found it gives error in one file because that file uses breqn package as well. Is this known ...
0
votes
1answer
52 views

Disabling alignment in breqn

I use the breqn package and its dmath environment for multi-line equations so that I can have brackets across multi-line equations - eg a \left[ on one line, and a matching \right] on the next. By ...
6
votes
2answers
164 views

Bug using breqn and babel

I've hit a bug that I cannot fix (no warnings/errors in the logs). Here is a mwe: \documentclass{article} \usepackage[english,french]{babel} \usepackage{breqn} \begin{document} \[\{A, B, C\}\] ...
3
votes
2answers
90 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} \...
0
votes
0answers
110 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
111 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
257 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
199 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)\...
6
votes
1answer
172 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
29 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
172 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 - \...
3
votes
1answer
89 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
137 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
69 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
249 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
264 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
356 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
162 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
34 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
97 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
210 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
126 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} \...
2
votes
1answer
461 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
123 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
218 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: \...
2
votes
1answer
66 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
223 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
595 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
28 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
265 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
653 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
1k 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
86 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
28 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
87 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
562 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,...
4
votes
1answer
84 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
440 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 ...