Linked Questions

230
votes
6answers
662k views

How can I split an equation over two (or more) lines

I am having the following equation: \begin{equation} Q(\lambda,\hat{\lambda}) = -\frac{1}{2} P(O \mid \lambda ) \sum_s \sum_m \sum_t \gamma_m^{(s)} (t) \left( n \log(2 \pi ) + \log \left| C_m^{(s)} ...
3
votes
2answers
20k 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
1answer
443 views

Line break in formula [duplicate]

I have a math, that is too long for only one line. Now I want it to break like this: f(x) = x + ... Or what is the mathematic right way to break such a long formula into several line? Thanks ...
1
vote
3answers
82 views

Not able to see the complete equation [duplicate]

I am trying to write an equation using this LaTeX code \begin{equation} \frac{n_d}{m_d}.\psi\left(x+1,y\right)+\frac{n_d}{m_d}.\psi\left(x-1,y\right)-2.\left(\frac{n_d}{m_d}+\frac{m_d}{n_d}\right).\...
0
votes
1answer
80 views

I have a long equation but long enough to occupy two lines. I want to break it to improve readability. How can I break it? [duplicate]

\begin{eqnarray} \lim_{n\rightarrow +\infty }d(SAx_n,A^{2}x_n) \leq \frac{1}{3}\left[ \lim_{n\rightarrow +\infty }d(SAx_n,St)+\lim_{n\rightarrow +\infty }d(St,S^{2}x_n) + \lim_{n\rightarrow +\infty }...
188
votes
5answers
404k views

eqnarray vs align

Motivation I want to include a list of related equations, say, for a proof, in my LaTeX document. As far as I know, I have two good options, eqnarray and align. Question What is the difference ...
14
votes
3answers
43k views

Fitting unbreakable large equation on one line in a twocolumn layout

I have an equation in my document which is unbreakable and does not fit on one line using the twocolumn global option. Am I forced to shrink the text size here? And how do I go about doing it? \...
4
votes
4answers
5k views

Splitting lines for long equations

I am copying large formulas from a sympy session into Texmaker. These are along the lines of : \documentclass[]{article} \usepackage{amsmath} \begin{document} $$X''(x) = \left(- 2 C_{1} \sqrt{\lambda}...
6
votes
3answers
1k 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) &=\frac{1}{24}\left(\left(\chi_1(1)\right)...
1
vote
2answers
24k views

split equation in multiple lines

I am a new Latex user,I have loaded these two math equation in my Latex documents and i want to split an equation i have into multiple line \usepackage{amssymb} \usepackage{amsthm} I am reading this ...
8
votes
1answer
2k views

breqn and hyperref breaking subnumcases environment when used together

I have an issue when using cases, breqn and hyperref together. This is my MWE \documentclass[preview]{standalone} \usepackage{cases} \usepackage{breqn} % For line breaks in some really long equations ...
5
votes
1answer
2k 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 ...
2
votes
3answers
843 views

How to break a long equation with multi-alignment (two-column)

This question was asked before: How to break a long equation? How can I split an equation over two lines But what I want to ask is a bit complicated than both. \begin{equation}\label{eq:...
2
votes
5answers
341 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 ...
1
vote
1answer
623 views

overfull hbox in equation, can't work out why?

I'm getting an "overfull hbox" error on the follow code,..I've tried line breaks in all kinds of places but I can't seem to fix it. Please help! \begin{equation} \frac{\partial M_u}{\partial z} = E_u ...

15 30 50 per page