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.

is a 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.

188 questions
12
votes
2 answers

Why does adding \usepackage{breqn}, even if not used, cause LaTeX compile errors in some places?

I have many LaTeX files that includes a common .tex file which has the preamble code. In this include file I added, at the end, this \usepackage{breqn} and then run make to build the whole tree. I see now new errors showing in files which compiled…
Nasser
  • 20,220
9
votes
2 answers

breqn does not automatically break lines

I am writing a two column journal in which I am listing the components of a vector. The vector is too long to fit in one column, and I am using the \left and \right around the brackets that enclose the vector. However the dmath environment does not…
Rich
  • 505
9
votes
2 answers

breqn with superscript in a newcommand

I am getting unfortunate behavior with the the most recent version of breqn.sty with regards to how it handles a newcommand that begins with a superscript. Considering the following…
qgp07
  • 1,026
7
votes
2 answers

breqn package is not working

I am using the breqn package, but it is not working. \begin{dmath} \sqrt {-{\frac {-4\,c-k_{{2}}{x}^{2}+{x}^{2}\sqrt {4\,c+{k_{{2}}}^{2}}}{c}}}\sqrt {{\frac {4\,c+k_{{2}}{x}^{2}+{x}^{2}\sqrt {4\,c+{k_{{2}}}^{2}}}{c}}}{\it EllipticF} \left(…
ashwa
  • 71
5
votes
1 answer

breqn and \brace

I was looking forward to using breqn, but it mysteriously fails with the following piece of code: \begin{dmath*} {2 \brace 3} \end{dmath*} However, this construct outputs a "Missing delimiter" error (\choose works without a hitch). What…
4
votes
0 answers

Braket and breqn formatting issues

I ran into a problem formatting things with breqn and the braket style file. A minimal example that illustrates the problem is: \documentclass{article} \usepackage{braket} \usepackage{breqn} \begin{document} This does not format…
qgp07
  • 1,026
3
votes
1 answer

different output from same tex file when using breqn. Linux with latest texlive vs. Windows with MikTeX

I was trying breqn again to see if I can use it. I found something strange. The same latex file produces different looking output when compiled with TL 2021 on linux vs. earlier TL versions. I found what seems to confuse it. It is the \left( and…
Nasser
  • 20,220
3
votes
1 answer

internal error in breqn package with dseries/dmath* pair

As an experiment, I took some equations that I'd manually split using aligned like so: \begin{equation}\label{eqn:fourierSeries:30} \begin{aligned} \int_a^b \phi(x) e^{-i \omega m x} dx &= \sum c_k \int_a^b e^{i \omega (k -m) x} dx \\ &= c_m (b - a)…
Peeter Joot
  • 3,025
  • 2
  • 25
  • 35
3
votes
1 answer

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 number of columns. I feel like the formulas…
acupoftea
  • 145
3
votes
1 answer

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 ]\left [25(x+2)^{2}- 20(x+2)(x- 5)+16(x-…
3
votes
1 answer

Package breqn is broken since MiKTeX removed package mh

I just updated my MiKTeX 2.9 installation and the package mh was removed as is outdated. Now the package breqn won't compile. Whenever I compile my document with breqn active, I'm prompted to download the package mh, which obviously isn't available…
2
votes
1 answer

breqn causes TeX capacity exceeded when using \neq in section title

Is there a workaround this problem? \documentclass[12pt]{book} \usepackage{amsmath} \usepackage{breqn} \usepackage{hyperref} \begin{document} \section{$\frac{\partial\phi}{\partial x}\neq p$ or dAlembert ode} A \end{document} And now lualatex…
Nasser
  • 20,220
2
votes
0 answers

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. Is there any way to fix this, short of manually…
2
votes
1 answer

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 one line below. I want to have a result such that…
1
vote
2 answers

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 - \frac{1}{n}\right)x^2 + \frac{1}{n}x - 2x^2 + x^2 =…
1
2