4
votes
2answers
84 views

Align split equation to the margins

How to align a two-lined equation such that the first line left aligns with the surrounding text and the second line right aligns with the surrounding text? Example (where the pipes denote the left ...
0
votes
2answers
42 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, ...
1
vote
0answers
48 views

Extremely long equations giving overfull hbox

I am using wxMaxima for doing homework. I have extremely long mathematical equations. I exported my work to a .tex file. But now I have several overfull bad box warnings. I tried to use geometry ...
5
votes
4answers
203 views

How to add a line break in math mode but number the whole as one formula?

I am trying to get the following formula on two lines like this: \begin{equation} W \in \mathbf{M}_N \rightarrow W' \in \mathbf{M}_{N+1}\\ (w_{ij})_{1\leq i,j\leq N} \mapsto (w_{ij})_{1\leq i,j\leq ...
0
votes
0answers
52 views

Why Latex cannot compile when I add “\left[ ]\right” [duplicate]

Successful code: \documentclass[a4paper,cs4size,UTF8]{ctexart} \usepackage{amsmath} \usepackage{mathtools} \usepackage{amssymb} \begin{document} ...
2
votes
2answers
77 views

Simple newline in equation [duplicate]

I'm trying to line-break in the middle of a series of defined matrices. The code looks like: \begin{equation} I = \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}, X = \begin{pmatrix} 0 & 1 ...
1
vote
5answers
98 views

Line breaking in equation

This is the equation I want to write in LaTex: I have read these advices, but for split and multilined commands it says that they are undefined (and also for multiline, but nevertheless this is not ...
6
votes
1answer
66 views

Linebreaking with \eqref and long tags

When using a long tag for an equation, is there a way to have an equivalent of \eqref that would allow LaTeX to break the reference between words, or even within words. In the example below I get ...
13
votes
5answers
608 views

How to split a long formula and make it beautiful?

My method: \documentclass[UTF8]{ctexart} \usepackage{amsmath} \usepackage{amssymb} \usepackage{graphicx} \usepackage{epstopdf} \usepackage{inputenc} \begin{document} \begin{equation} \begin{split} ...
1
vote
0answers
63 views

Extra spacing before an equation when line nearly breaks

I am having difficulty with producing an MWE, but let me describe the issue. I have a large document with tons of equations and run into issues with spacing. Most of the time it is fine, everything ...
4
votes
2answers
162 views

When splitting an equation, why do parentheses appear in different sizes?

I have the following equation which I have split in two lines, why do I get the ( after = to be smaller that the closing )? \begin{equation}\label{testequation} \begin{split} d_{m}^{\sim ...
3
votes
2answers
110 views

Splitting the equation on two lines

I have the following equation (as you can see I have used split): \begin{equation}\label{testequation} \begin{split} d_{m}^{\phi}\left(A,f\right)=\sqrt[m]{\mid ...
0
votes
0answers
29 views

Inserting a line break in a formula [duplicate]

I have the following formula in LaTeX: \begin{equation} =\sqrt[m]{\mid C_{new}\left(pi\right)-f\left(pi\right)\mid^{m}-\mid C_{k}\left(pi\right)-f\left(pi\right)\mid^{m} ...
5
votes
2answers
253 views

Breaking very long equations

This is a frequent question, so let me specify a bit more what the problem is. I have equations with very long fractions that are within integrals, \begin{equation} \int A \int \frac{A B C D E ...
7
votes
3answers
211 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) ...
5
votes
2answers
154 views

Russian (Czech, Polish, etc.) tradition of equations breaking [duplicate]

According to the Russian (Czech, Polish, etc.) typesetting tradition, we have the following rules of equation breaking: If an equation cannot be fit into one line, a typesetter should put part of ...
0
votes
2answers
172 views

continuing equation under the equal sign [duplicate]

how to continued the equation under the equal sign? I want to do it like this
5
votes
2answers
139 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 ...
2
votes
1answer
102 views

breaking many long numbered equations

I am having trouble with listing a couple of hundreds of long equations. Most of them need to be broken. The equations should be numbered. I tried many things such as eqnarray in combination with ...
2
votes
1answer
329 views

Extra } or missing \right

I'm having this error each time i try to build the file "Missing \right or extra } error". I tried to figure it out but I could not know in which part is the error. I need break line because without ...
1
vote
2answers
92 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} \\ + ...
11
votes
1answer
151 views

Split up several equations into smaller ones?

I've tried to search for it, but I couldn't seem to find an answer to my question, so here goes. Let's say I'm writing a report of some sort. I'm up 50 pages or so, and at least 100 equations. Then, ...
3
votes
1answer
139 views

Discretionary equation breaking at a particular symbol

I have long equations that I want LaTeX to break automatically. After some extensive searching I have been unable to work out how to achieve this effect. I have breqn in my package list, however it ...
5
votes
2answers
458 views

Correct line-breaking of long math expression

What is the correct way of breaking such unnumbered equation into multiple lines? \begin{equation*} \lim_{\bigtriangleup t \to 0^+}\int_{\bigtriangleup t}^{T} \! \int_{\Omega} \! D(t_1,x) ...
1
vote
1answer
157 views

Using split to break a long equation

I am trying to break a long equation over multiple lines. It is here as follows: \begin{equation} \begin{split} L(\textbf{q})=&\prod_{t=0}^{36}{q_{1}^{iB(t)sB(t+1)+iC(t)sC(t+1)}\\ &\quad\cdot ...
2
votes
1answer
364 views

Long equations breaking without using breqn

How to achieve nice (non-automatic) long equations breaking, like dmath environment from breqn package does automatically, but using a more common environment, e.g., multline, multlined (from ...
2
votes
2answers
406 views

Split environment wrong braces dimensions

I have to split a quite long formula. I used a nested split environment but I have to break curly braces from one line to another using \right. and \left. The curly braces I get have different ...
4
votes
2answers
3k views

Equation does NOT go new lines, while using \newline

I've been trying to typset an equation which, at a certain point, spans several lines, but is a single step (so no numbering may occur). For this I used newline, but this doesn't seem to work. How do ...
3
votes
2answers
354 views

inline equation outside margin

My inline equation falls outside the margin. I was wondering if there is any solution for that? Here is the MWE: \documentclass[12pt,letterpaper]{article} \usepackage[utf8]{inputenc} ...
3
votes
1answer
299 views

Displaying a really long chain of inequalities

I'm trying to enter a long chain of inequalities in math display mode. If I enter the expressions as I want them to, LyX will continue displaying them off the screen - so that they don't show up when ...
2
votes
0answers
36 views

Auto-breaking of Equation [duplicate]

Possible Duplicate: How can I split an equation over two lines I want to make my own class file having a two columns. I just want to ask if there's a possibility where we can automatically ...
1
vote
1answer
213 views

Linebreaking gather (equation) environment?

Please help me to line break this gather environment. You can clearly see which line I want broken by where I've placed the split environment in my code. It's too long for 1 line. I also want it ...
17
votes
3answers
13k 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: ...
5
votes
2answers
104 views

Tie an inline math environment to be in the same line

How should I put command so that my inline math environment could be together. For example 0<x<1 is break up into two parts, 0< and x<1 in the next line.
7
votes
3answers
2k views

How to split optimisation problem over two lines?

I have this expression involving minimisation. How do I split it over two lines? The problem is \min seems to be separated from the objective function. breqn does not seem to work, as this is not an ...
3
votes
1answer
4k views

formula transfer to a new line

How I can make a transfer of a long math equation in a new line? I suppose there are at least two methods: manually by hands and adjust math container to do that automatically. Can you show me, please ...
3
votes
2answers
1k views

Breaking long equation after a certain left bracket

I am typing a long equation which needs to be broken just after the left bracket and three dots are placed at the end of the left bracket same line. Here is an example, in which, I need the third left ...
8
votes
2answers
5k views

How do I keep a string of text together without it doing a line break?

I'm writing up a long paper, in which in prose I have various equations. However, I do not want a line break to occur within the equation - I want the equation to stick together. I want to do this ...
6
votes
1answer
414 views

How do I create an automatic break in long math expressions

Is there a way to allow long math expressions to break automatically, whenever (and only) in situations where they extend beyond the body text of a document? For example, I would like something like ...
1
vote
2answers
813 views

How to break inline formulas?

I would like to obtain a split formula like this: Latex example on Wikipedia, that is to say with a sort of tab after the "equals" sign, but for an inline formula (between \( and \) ). Or, as an ...
22
votes
1answer
305 views

Does \\ in the last line of an array have any effect?

Consider the following example: \begin{array}{l} line 1 \\ line 2 \\ \end{array} Is the \\ in the last line completely optional or are there circumstances under which it has any effect?
8
votes
2answers
623 views

How to punctuate multiline equations?

This might be off topic, yet I wouldn't know where else to ask. I want to keep up with the good habit of punctuating displayed equations. For example I know the comma (,) is compulsory in Here, we ...
2
votes
1answer
274 views

Unwanted line breaks after equation tag when using fleqn and leqno

When you use fleqn and leqno and assign your own equations tags with \tag to equations in environments such as gather and align and you assign a tag with a certain length, then there's a line break ...
5
votes
1answer
15k views

New line in math mode and indent this line

How can I have a indented new line in math mode? The line after \newindentedline should be indented and start in a new line. \[ X \subset Y \Rightarrow \forall x \in X: x \in Y \newindentedline ...
3
votes
1answer
303 views

Automatically breaking formulas [duplicate]

Possible Duplicate: How can I split an equation over two lines I am trying to compile my papers into Kindle readable PDF files. I can get pretty good outputs by just changing the height and ...
4
votes
2answers
3k views

Formula out of margin

I got some issues while writing a formula in LaTeX. I have to print this in my document: \textit{P3ACM}: $ \left \langle \left \langle ( 09.00, 18.00 ) , \{ Monday, Tuesday, Wednesday, Thursady, ...
9
votes
1answer
931 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 ...
3
votes
2answers
4k views

How can I break a long equation?

Upon compiling, one of my equations extends out of my column width in my final output. Options I tried-- breqn package asks for expl3.sty file which the compiler is unable to locate, (would have ...
1
vote
2answers
589 views

Linebreak in equations

I have a very simple LaTeX problem with the following LaTeX fragment: The function computes: \[ e \leftarrow (((x||a) + (y||b)) \oplus y,\\ r \leftarrow x + y \] The result should then be in ...
1
vote
1answer
518 views

Breaking formulas before and after binary operators

Page 195 of the TeXBook reads: Although formulas within a paragraph always break after binary operations and relations, displayed formulas always break before binary operations and relations. ...