{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.

learn more… | top users | synonyms

16
votes
2answers
579 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
28 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 ...
5
votes
1answer
66 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
25 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 ...
2
votes
2answers
62 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
155 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
27 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 ...
2
votes
0answers
29 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 ...
13
votes
1answer
116 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} = ...
7
votes
4answers
253 views

How to make an operator (not relation) = sign

I am formatting a long formula (the result of a computation) using breqn. It looks great if I replace the = sign with an operator like \times. But when I put the = in, I don't like the output. I ...
2
votes
2answers
58 views

How to split a very long equation (using AMSMATH package)?

I'm trying to split up the following equation so that it fits the margins of my document, so far I have: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation} 0 = n_1^3 ...
1
vote
1answer
30 views

Incompatibility between “breqn” package and bold box symbol (\Box)

Using a bold \Box symbol from the amssymb package leads to a strange output showing three consecutive bold box symbols of decreasing size when breqn package was loaded. This effect appears with the ...
1
vote
0answers
30 views

Automatic linebreaks for equations in tabular environment?

I have so far tested the breqn's dmath environment example here but it does not work with tabular in rotating's sidewaystable, resulting into \cr errors in wrong place. So How can you automatically ...
3
votes
1answer
30 views

Spacing around equal sign with breqn

In the following minimal example, the spacing around the equal sign is wrong. How can I fix this? It is rendered as x =0 instead of x = 0. Changing to align* instead of dmath* works fine. ...
3
votes
1answer
39 views

prevdepth related error only in case of abscence of whitespace

In the file given below, I am using macros for equations and their environment. The equations use breqn package for breaking them when the width available is not sufficient. I am getting the error ...
1
vote
0answers
50 views

breqn giving “Double subscript” error

I have this line: $$\boldsymbol{X_{ijk}=I\{z_i\text{ is compared with }z_j\text{ sometime during the execution of the algorithm to find }z_k\}.}$$ which compiles perfectly. However, the equation is ...
3
votes
1answer
51 views

How to combine breqn and dcolumn package?

is there a way to use both breqn and dcolumn packages? I constantly get an error message ('Missing } inserted'). Or is there any other package that breaks up equations and sets the equation number in ...
2
votes
1answer
98 views

Use \multicolumn in array environment in Lyx

I want to break an equation in a longer equation array in Lyx. In pure Latex I can do something like \documentclass[a4paper,10pt]{article} \usepackage{amsmath} \begin{document} \begin{eqnarray} ...
3
votes
1answer
27 views

Breqn+Babel can't handle minus signs

I can't get this to compile: \documentclass{article} \usepackage[czech]{babel} \usepackage{breqn} \begin{document} - \end{document} This is the error I'm receiving: ! Missing $ inserted. ...
2
votes
0answers
98 views

breqn and \coloneq

The breqn documentation says (pg. 10) • The notation := must be written with the command \coloneq. Otherwise the : and the = will be treated as two separate relation symbols with an “empty RHS” ...
3
votes
1answer
54 views

pdfcomment and breqn

I'm trying to use \pdfmarkupcomment from pdfcomment inside a dmath environment from breqn, but they appear to be incompatible. Here is a simple example where it fails: \documentclass{article} ...
0
votes
0answers
12 views

How to get Line breaking in Math Tuple in a definition [duplicate]

See the MWE below. The tuple falls outside the margin. If I make the sentence a bit shorter or longer then it works fine. So this is unreliable. Now I can off course force line break before the ...
1
vote
1answer
60 views

why is adding `breqn` package breaks `etoolbox` command?

I was trying egreg nice answer here in my main document, and I found it does not work there. It turned out it is because I happened to be using another package which is breqn which I really need. I ...
4
votes
1answer
99 views

Using hepparticles with breqn

I want to use the two packages hepparticles and breqn together in the same document. But the hepparticles package does not seem to work well with breqn. Here is a minimal not-working example. ...
2
votes
0answers
56 views

sagetex with breqn ? break line sagetex equations

When using sagetex, it often produces very long equations that are not visible anymore because they go over the page width. How to fix that? I could work around it by loading the .sagetex.sage into ...
4
votes
2answers
135 views

Breqn package is causing \mathcal to not work when used along with \overset

I am trying to place \mathcal{U} over and under the symbol \gtrless using the following code: $\overset{\mathcal{U}_0}{\underset{\overline{\mathcal{U}_0}}{\gtrless}}$ However, what I am seeing is ...
1
vote
1answer
89 views

Caption in dmath* equation

I have the following equation which I need to reference elsewhere in the paper. It is for a paper in IEEE double-column format which dmath* seems to make the equation fit very well. I do however need ...
2
votes
1answer
97 views

newtxmath and breqn problem: Viewing capital Greek math incorrectly

I am writing a document with too many long equations and I adopted the use of breqn package for its simplicity in writing such long equations when alignment is not a big restriction. The problem is ...
4
votes
1answer
66 views

autoref to dmath (from breqn package) generates wrong link text

In the following minimal example, what is wrong with my dmath equation? Why does hyperref call it a Figure, while autoref gets the link text correct for an equation defined with \begin{equation} ...
5
votes
1answer
1k views

What is the difference between `split`, `multline`, `align`, `breqn` for breaking an equation into multiple lines?

Sorry if this question sounds a bit amateurish but I haven't been able to find a good summary about the differences between these four environments for multi-lining an equation. Where do they differ ...
3
votes
1answer
109 views

Breqn and wrapfig incompatibilitiy

Hello I finally arrived to this awesome place :) , I noticed that breqn does not go very well with wrapfigure: \documentclass[]{article} \usepackage{mathtools} % Math packages ...
1
vote
0answers
84 views

Dimension too large. \end{dmath*} error when using breqn with \documentclass[10pt]. No error with 11 or 12 pt

I am trying to use breqn to help break results from computer algebra computation into multiple lines. I noticed I get errors: Dimension too large. \end{dmath*} In number of places. After much ...
2
votes
1answer
82 views

Breqn and xypic

\documentclass[a4paper,12pt]{scrbook} \usepackage[all,cmtip]{xy} \usepackage{breqn} \begin{document} \begin{displaymath} \xymatrix{ A \ar[r]^f & B } \end{displaymath} \end{document} ...
3
votes
1answer
168 views

breqn and subscripts and curly braces

When using the package breqn I got some compile errors. Without the package this works just fine. (I am using xelatex.) \documentclass[a4paper,12pt]{scrbook} \usepackage{breqn} ...
1
vote
1answer
2k views

error: breqn.sty and algorithm2e.sty not found

I've installed MikTex 2.9 for Windows 7, 64 bit. While trying to compile my Tex, I receive the following errors: LaTeX Error: File breqn.sty' not found. LaTeX Error: Filealgorithm2e.sty' not found. ...
6
votes
1answer
83 views

breqn not playing well with cleveref (or vice versa)

This is a little different from Cleveref and breqn packages don't play nice together, and may not have a simple answer. I was experimenting with breqn, and found some of my tagged equations were ...
3
votes
1answer
2k views

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 ...
0
votes
1answer
259 views

MikTeX cannot compile when breqn package included

I'm seeking for automatic line breaking of math expressions (the example bellow), best recommended option seems breqn package. After MikTeX installed mh packages, MikTeX cannot build an output (I use ...
1
vote
0answers
155 views

Problems in breqn package

I use XeLaTeX and while using the breqn package, although it breaks the equations in multiple lines I get badboxes. Why is that happening? The package isn't breaking automatically and correctly the ...
4
votes
1answer
2k views

Texmaker Hangs on Process started [closed]

When I try to run my script in Texmaker, Texmaker gives me the message "Process started" but hangs on it forever and never actually finishes compiling. I know these are long equations, but Texmaker ...
3
votes
1answer
367 views

error occurs when comma separated affiliation in revtex4-1 if breqn is loaded

I encountered an error trying to use the breqn package. First, the below snippet compiles fine without any problem. \documentclass[aps,prl,twocolumn,floatfix]{revtex4-1} \usepackage{breqn} ...
1
vote
0answers
172 views

Breaking equation through pages

In a former post I learnt how to break an align equation by using the \allowdisplaybreaks command on the preamble. However, I found the package breqn, which is impressive! So far I've been unable to ...
4
votes
1answer
125 views

Altering vertical space between lines of one breqn (dmath) equation

The breqn documentation says that It also makes it possible to specify different vertical space values for the space between lines of a long, broken equation and the space between separate ...
4
votes
1answer
48 views

Disabling enumeration for a document

I'd like to disable enumeration for my document. I'm using amsmath and breqn. I tried using \mathtoolsset{showonlyrefs=true}, but it doesn't work. \documentclass[a4paper,landscape]{article} ...
1
vote
0answers
186 views

Alternative for `\linebreak` in inline math mode [closed]

Looking at this question and the chat that followed it, I was wondering what would be considered best practise to include line breaks in inline math mode (breqn does not quite work; there's some ...
4
votes
1answer
457 views

dmath puts too many line breaks in

I've got the following code for an equation: \begin{dmath} x \in A - B \leftrightarrow x \in A \textrm{ and } x \not\in B \end{dmath} It produces the output: The equation really doesn't need ...
6
votes
1answer
226 views

Issue with bm and breqn packages - is there a way to use a package in only part of a document?

I am a long time stack exchange reader. I always found useful information here. This is however my first post. I have a little issue that I am working on that maybe someone can provide a quicker ...
3
votes
1answer
204 views

Errors using dmath for multiline equation breaking in a table with booktabs package?

I would appreciate if you can help me find a solution/way out to the following problem. I am using the booktabs package to get a nice looking table. I have a long equation in the table which I ...
3
votes
0answers
680 views

dmath inside dgroup writes over equation number

The following gives an output where the second eqaution writes over the equation number \documentclass{report} \usepackage{amssymb,amsmath} \usepackage{breqn} \begin{document} \begin{dgroup} ...
3
votes
1answer
91 views

\notimplies command error with breqn package

I'm trying to use this answer's "not imply" symbol. However I get the error: Argument of \mathpalette has an extra } Here is a MWE: \documentclass{article} \usepackage{amsmath} \usepackage{breqn} ...