I have read several line-breaking inside align environment but I fail to deal with the bracket {}. LaTex seems not recognize \left\{ and \right\} belong to the same equation when I break the line.    \begin{align*}     s_{percent-log} (y,y') &amp;= \frac{1}{3} \left\{ \frac{\min[\log(0+1),\log(1+1)]}{\max[\log(0+1),\log(1+1)]} \\     &amp; \qquad + \frac{\min[\log(5+1),\log(4+1)]}{\max[\log(5+1),\log(4+1)]} \\     &amp; \qquad + \frac{\min[\log(2+1),\log(2+1)]}{\max[\log(2+1),\log(2+1)]} \right\} \\     &amp;\approx 0.46387 \\     d_{percent-log} (y,y') &amp;\approx 0.53613  \end{align*}
10375
I have a very long equation that must be separated into two lines, and it has several pairs of nesting \left \right delimiters. Unfortunately, it seems that they need to be on the same line in order for them to work.  Also I'm using the align environment because I need the aligning functionality. Is there a way to have the size of delimiters automatically adjusted over multiple lines?
35158
Consider this:  \left( x-1 \right) \underbrace{ \left( ? \right) }_{ \text{what is this?} }   The label is longer than the braced portion, which causes unwanted space between the parentheses.  Is there a way around that, so that the parentheses "touch" as they would normally?  Please note that I just started on LaTeX, and I'm using TexMaths inside LibreOffice Writer.
108644
I'm writing my thesis with latex and I have a problem with this table setting. I would like to have all the equations aligned on the left and also the first and the last rows less height. Here is my code  \begin{table}\centering \begin{tabular}{ m{3cm} m{10cm} }\hline Continuity &amp; {\begin{equation} \frac{\partial \rho}{\partial t}+\nabla\cdot\left ( \rho\mathbf{V}\right )   =0\label{continuity_1}\end{equation}}\\ x-momentum\newline\newline y-momentum\newline\newline z-momentum &amp; {\begin{subequations}\begin{align} &amp;\frac{\left ( \partial \rho u\right ) }{\partial t}+\nabla\cdot\left ( \rho u\mathbf{V}\right ) = -\frac{\partial p}{\partial x}+\nabla\cdot\left ( \mu\nabla u\right ) +S_{Mx}\\ &amp;\frac{\left ( \partial \rho v\right ) }{\partial t}+\nabla\cdot\left ( \rho v\mathbf{V}\right ) = -\frac{\partial p}{\partial y}+\nabla\cdot\left ( \mu\nabla v\right ) +S_{My}\\ &amp;\frac{\left ( \partial \rho w\right ) }{\partial t}+\nabla\cdot\left ( \rho w\mathbf{V}\right ) = -\frac{\partial p}{\partial z}+\nabla\cdot\left ( \mu\nabla w\right ) +S_{Mz} \end{align}\label{NS_eq1}\end{subequations}}\\ Energy &amp; {\begin{equation} \frac{\left ( \partial \rho e\right ) }{\partial t}+\nabla\cdot\left ( \rho e\mathbf{V}\right ) =-p\nabla\cdot\mathbf{V}+\nabla\left ( k\nabla T \right ) + \Phi + S_{i} \label{energy_1}\end{equation}}\\ \hline\end{tabular}\caption{Governing equations of flow for a Newtonian fluid}\label{NS_eqt}\end{table}   This is the result
5909
I want to align equations (using the align environment from the amsmath package) inside matching \left( and \right) commands. For example:  \documentclass[a4paper,12pt]{article}  \usepackage{amsmath}  \begin{document}  \begin{align}     a \left( b &amp;= c \right)\\     d \left( e &amp;= f \right) \end{align}  \end{document}   But that code gives this error:     Extra }, or forgotten \right.   The error disappears when I remove the delimiters. Is there a workaround for this?
102104
I am writing some proofs using LaTeX, and following the standard procedure in the ConTeXt, I need to write something as follows:    However, I have no idea how to create the "double bracket", like the one includes x := y + z...  Could anyone give me some help on this?
100297
I wanted to type an equation in LaTeX. But it is too long to fit into one line. It involves big arrays with many columns so I cannot split it. I wanted to reduce the font size so that it can fit in one line. However, \small doesn't work in the equation environment.
107201
I'm just starting to learn LaTeX. I tried typing \begin{equation*}  (math goes here)  \end{equation*}  and I got a whole bunch of errors. It seems LaTeX interpreted the empty line as the equation: when it saw nothing there, I guess it just ended math mode? It then said my other commands needed $'s so I assume that's what happened. When I typed \begin{equation*} (math goes here) \end{equation*}  everything was fine. So I'm confused. If LaTeX sees an empty line in an environment, does it just interpret this as me changing my mind, and deciding not to use the declared environment?
4521
When I compile my document in LaTeX, some formulas in the document in math mode, between $ $, go into the right margin area beyond all the text.  Is there a way to fix this aesthetic problem?
31096
I have a long line in equation. I want to split it properly in two or three lines. I've been using \begin{split} and \end{split}, but still it is not in good position. The equation's code is below.  \begin{equation} \begin{split} \frac{r(r-1)c_{0}}{z} + \\ &amp;  \sum_{0}^{\infty}[[(j+r)(j+r+1)c_{j+1} - [(j+r)(j+r-1) - l(l+1)]c_{j}] \\ &amp;= 0, \end{split} \end{equation}
23639
In the inline math mode ($...$), if the formula is too long, LaTeX will try to break it on operators, e.g.  very long text followed by a very long equation like $a+b+c+d+e+f+g+h+i+j+k+l$ etc   may be rendered as  very long text followed by a very long equation like a+b+c+d+e+f+g+h+i+ j+k+l etc   However, the break won't happen if they are separated by commas, e.g.  very long text followed by a very long equation like $a,b,c,d,e,f,g,h,i,j,k,l$ etc   will overflow the page like  very long text followed by a very long equation like a,b,c,d,e,f,g,h,i,j,k,l etc   How to make LaTeX able to insert line breaks after a comma too?
75261
I'm trying to put equation numbers next to text as if said text was an equation. If I use \text{} in an align* environment, it typesets the text right-aligned and the whole environment centered, but that's not what I want. I would like the text to look like in an itemize or enumerate environment (for example, indented), but still with an equation number behind it. And that equation number should come from the regular equation number "pool".  Ideally, it would look like this:  We have to make sure that:   A is very b,             (1)   A is not c.              (2)   How can I write this in LaTeX?
41622
If I am using align to display an equation and have each line numbered, how do I reset the align counter?  As is, even if I use \end{align} and later in the document have a second \begin{align}, the counter continues from where it left off, instead of starting at 1.  Is there any simple way to do this? Or would I be better off creating my own counter and not using align?  Edit: More specifically, I am this to show lines/steps on a solution to homework problems. Separate occurrences of (1) will be in answers to different problems, so there should not be any trouble distinguishing.
91233
I need the LaTeX equation with double square bracket and double paranthesis. Can anyone suggest me the proper code? Here, I had attached the screenshots.
738
I have an equation like this:     \begin{align}       P(A \cup B) = \sum_{\omega \in A \cup B} P(\omega) = \sum_{\omega \in A} P(\omega) + \sum_{\omega \in B} P(\omega)       = P(A) + P(B)     \end{align}   For some reason, LaTeX is automatically labeling the equation. How do I turn that off? Secondly how do I write something in LaTeX on this site. I tried enclosing in '$' but it doesn't work.
925
I have the following code  \begin{align} s'(t) &amp;= -\beta s(t) i(t)\\ i'(t) &amp;= \beta s(t) i(t) - \gamma i(t)\\ r'(t) &amp;= \gamma i(t), \end{align}   and I want to enclose this with a bracket like a case, but maintaining the numbered equations.
25136
I am new to Latex ;) I split my equation like this:  \begin{equation} \begin{split}     \tilde{m}=P\tilde{M} \\     \quad = K(R^1R^2R^3t) \begin{pmatrix} X \\ Y \\ 0 \\ 1 \end{pmatrix} \\     \quad= K(R^1R^2t)\begin{pmatrix} X \\ Y \\ 1 \end{pmatrix} \\     \quad= H \begin{pmatrix} X \\ Y \\ 1 \end{pmatrix}  \end{split} \end{equation}   which gives me this:   but, actually, I want it to be aligned like this:   How do I align them so it looks like the right side is always aligned?  Thanks
122336
I have nested gather and align according to  \begin{gather}        \sum\limits_{i=1}^n i + \text{expression} = \dfrac{n(n-1)}{2} \label{l1}\\        \begin{align}             a+\text{expression}&amp;=b \\ %\label{l2} doesnt work             c&amp;=d+\text{expression} \\             e+\text{long expression}&amp;=f-\text{expression}        \end{align}  \end{gather}   to get an output looking like this:   The problem is that it is not possible to label all equations separately. The problem is identical to that discussed in , except  that in my problem the first line needs to be centered.  Thanks for any help.