{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

0
votes
0answers
3 views

Make this look better

I have tried to search but I haven't found an answer that works here. . The code for the first block of the code is shown below \[X\left(n\right)\mathrm{=\ }\left\{\mathrm{\ } \begin{array}{c} \...
2
votes
1answer
31 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
10 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
32 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{...
6
votes
1answer
63 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
37 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{% \...
3
votes
0answers
42 views

Latex complains about missing $ from listing of source code

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
615 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
32 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
71 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 \documentclass[12pt]{...
2
votes
2answers
64 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
168 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
32 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
46 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 ...
16
votes
1answer
130 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
256 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
76 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
37 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
34 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
32 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
43 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
51 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
53 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
135 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
29 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. <...
3
votes
0answers
119 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
63 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
73 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
116 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
62 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
145 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
100 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
110 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
75 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} \...
6
votes
1answer
3k 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
113 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 \...
2
votes
0answers
93 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
92 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
188 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} \newcommand{\cat}[1]{\...
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
87 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
3k 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
271 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
175 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
3k 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 ...
4
votes
1answer
387 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} \begin{...
1
vote
0answers
185 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
133 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 ...