2
votes
2answers
128 views

Any way to check with a macro if an equation is too long to fit into a single line?

I have some very long equations which span a few lines. I'd like to Break lines automatically. Pagebreak. Have an equals sign both at the end of the first line and at the beginning of the second ...
0
votes
2answers
45 views

multiple aligns and line breaking

I am trying to have multiple alignment in my equation in addition to line breaking. Here is a mwe illustrating my problem: \documentclass[10pt]{article} \usepackage[T1]{fontenc} \usepackage{amsmath, ...
3
votes
2answers
64 views

How to remove unnecessary space in flalign* environment

This is the first time I've ever used TeX and I'm super confused as to why this is happening. When I used the flalign* environment within the enumerate environment, it leaves line break after the item ...
2
votes
1answer
55 views

\tag{} causes line break in align environment. how to prevent?

while using the leqno and fleqn options of amsmath package tags tend to cause line-breaks: MWE: \documentclass{article} \usepackage[leqno, fleqn]{amsmath} \usepackage{mhchem} \begin{document} ...
4
votes
4answers
267 views

Breaking and aligning equations

I have the following MWE \documentclass[10pt, a4paper]{article} \usepackage{amsfonts, amsmath, amssymb, amsfonts} \begin{document} \begin{align} \sum_i{ c_i} &= \cos \sin\cos \sin\cos ...
7
votes
3answers
227 views

How to break long equations while keeping alignment?

I have the following long equations: \documentclass[]{article} \usepackage{amsmath} \begin{document} \begin{displaymath} \begin{aligned} (\chi_1|\chi_1) ...
1
vote
2answers
115 views

Line break in large formula and error message in align?

I have a very long align formula and I do not know how to optimally (that it looks good and is accetable with LaTeX rules) line-break this. Currently I have \begin{align*} ...
5
votes
2answers
145 views

Conditional linebreak in align environment

I have a large document to typeset in two different page formats. Some of the equation lines are too long in the small format so I wanted to break some equation lines conditioned on whether the macro ...
1
vote
2answers
96 views

Unable to split a long equation

I want this equation to break into different lines at each of the line breaks indicated below. f = c_{A1}x_{A1}+c_{A2}x_{A2}+c_{A3}x_{A3}+c_{B1}x_{B1}+c_{B2}x_{B2}+c_{B3}x_{B3} \\ + ...
4
votes
1answer
67 views

Specify number of columns in brqalign

Some time ago David Carlisle wrote an awesome brqalign function in this answer: http://tex.stackexchange.com/a/51543/4011. See the cited code below. How to modify the brqalign environment such that ...
4
votes
1answer
298 views

Suppressing line break in enumerate environment

I'm using the gather environment within the enumerate environment. After creating an item/before entering the gather environment, LaTeX adds a linebreak which I don't like. \begin{enumerate}[(a)] ...
3
votes
1answer
68 views

Add space in `brqalign`

Some time ago David Carlisle wrote an awesome brqalign function in this answer: http://tex.stackexchange.com/a/51543/4011. See the cited code below. How can I add space between the rows of brqalign? ...
3
votes
2answers
228 views

Right-align the prebreak symbol in a listings environment

I’m using the breaklines and prebreak option with listings, but I find it visually not very pleasing that the prebreak-symbols are not vertically aligned. I’d prefer if they were all on the very right ...
5
votes
1answer
511 views

Automatic linebreak in align environment in macros

I have given a selfdefined command like \newcommand{\AND}[2]{\left(#1 \vee #2 \right)} which makes sure that I always give the correct number of parameters to my formula and which handles the ...
6
votes
1answer
211 views

Breaking equation in align enviroment to put textwidth matrix in separate line

I have to put a textwidth pmatrix into an align environment. When using split, it destroys the centered alignment of the other equation. Pseudocode: \begin{align} \vec{a} &= \vec{b} + \vec{c} ...
2
votes
2answers
425 views

\noalign without line break / additional spacing

I need a non-breaking version/redefinition of \noalign to use it at the end of an environment (in this case align). So far I searched for the standard definition of \noalign to write a redefinition ...
17
votes
3answers
16k views

Aligned equations in LaTeX

I have a long equation in LaTeX, which I need to break up into more lines. I've done this, although its not quite what I was looking for. Here is a MWE showing my problem: ...
16
votes
1answer
1k views

Automatic line break in alignat

Consider the following example from http://tex.stackexchange.com/a/12782/4011 \documentclass{article} \usepackage{amsmath} \newcounter{eqn} \renewcommand*{\theeqn}{\alph{eqn})} ...
10
votes
2answers
2k views

Force line break inside a \lim argument in align environment

Inside an align environment I have a \lim with two variables which should be displayed in two lines: \begin{align} ... f & = \lim _ {a \rightarrow -\infty \linebreak b \rightarrow \infty} ... \\ ...
9
votes
1answer
964 views

\overbrace split accross multiple lines

Is there a way to split the overbrace so that it appears in two halves over a multi-line equation. Something like /-----------Overbrace Label---- Equation over which to place ...