I tried to align the equation and have some text on the equal sign. But it turns out that the equal sign that has text over it is no longer aligned to previous one anymore (I believe it is the text "ccc" that is aligned). How do I fix the problem to let the equal sign aligned but not text over it?  \begin{equation} \begin{split}     a  &amp;= b \\                &amp;\overset{ccc}{=}d\\        &amp;= e\\ \end{split} \end{equation}
85096
Look at the following example  \begin{align}      &amp; x \\      \overset{\text{some long explanation}}= &amp; foo \\      &amp; = bar \end{align}   what is the best way to get the equal signs aligned? Now I have seen different solution such as adding \overset{\hphantom{\ţext{some long explanation}}}= to the beginning of every line, but I don't really think that is the best solution. Any better ideas?    UPDATE  I guess what i am actually after is   aligning the first column of the align environment right aligning the equal sign under the overset text right
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.
47235
I'm using scrreprt class and I'm having troubles with different behavior of $$ and \[ \]-written equations and equation environment. The problem is that alignment is not the same: $$ equations are centered while equations in equation environment are left aligned.  For example, the following code  Equations: \begin{equation}\label{nelineq} f(x)=0 \end{equation} \begin{equation*}\label{nelineq} f(x)=0 \end{equation*} $$ f(x)=0 $$ \[ f(x)=0 \]   produces   I would like to make all three usages consistent (not yet sure if centered or left aligned).  The question is, how to permanently change default alignments for all three cases? But without use of align or similar environments (dont want to edit all existing equations).  I know that $$ is deprecated, but what about other two methods?
25494
I always use align in my documents, and avoid equation. Is there anything wrong with that? My reasoning behind this: align > equation, so why not use it?
26214
I am trying to align a set of long equations, that are themselves align environments as most of them are spreading on multiple lines.   Currently I just have a sequence of align environments, with each equation inside in order to align the pieces of each equations. I am attaching a screenshot of the result:    What would like to get instead is something looking more like    which is the same set of equations after going through the copyediting office of a journal and looks much better.  Here is a MWE. I would like all three equations to align on the equal sign.  \documentclass{article} \usepackage{amsmath}  \begin{document} \begin{align} a &amp; =  b + c + d \nonumber \\   &amp; \qquad + e + f + g \label{eq:1} \end{align} \begin{align} k &amp; = l + m + n + m + n + m + n \nonumber \\   &amp; \qquad + o + p + q \label{eq:2} \end{align} \begin{equation} r = s + t (u + v + w) \label{eq:3} \end{equation} \end{document}
90273
Can someone tell me what's wrong with this? because i can't figure out where the missing \right( is.  \begin{equation}  \begin{split} Μ=&amp;-\pi \rho \frac{c^{2}}{4}    \left[c\left(\frac{α}{c}-\frac{1}{2}\right)\ddot{h}+Uc\left(\frac{3}{4}-     \frac{α}{c}\right)\dot{\alpha} +\frac{c^{2}}{4}\left(\frac{9}{8}+      \frac{4α^{2}}{c^{2}}-\frac{4α}{c}\right)\ddot{\alpha} \\  &amp;-\left(\frac{4α}{c}-1\right)U C(k) \left(-\dot{h} +U\alpha + c \left(\frac{3}{4}-\frac{α}{c}\right)\dot{\alpha}\right)\right]  \end{split} \end{equation}
85369
Is it possible to get a \neq but with a vertical bar instead of a slanted one? There are inequality operators like AMS's \gvertneqq that feature this kind of "not equal" but not without mixing it with other signs.  \documentclass[a5paper]{article} \usepackage{amssymb} \usepackage{amsmath} \begin{document} \begin{align*} a&amp;\gvertneqq b\\ C&amp;\neq \varnothing \end{align*} \end{document}     So what I basically would like to have is the isolated symbol under the > in the \gvertneqq above. Particularly because I don't like the different slopes of the slashes in the second line and "≠∅" is quite a common combination.
103197
Question : $$\begin{align}a+b+c &amp;= 0\\ a^3 +b^3 +c^3 &amp;= 12\\ a^5 +b^5 +c^5 &amp;= 40\end{align}$$ Then , $a^4 + b^4 + c^4 = ?$  My try : As a common perspective I just went to find any trick related to it and my first step is as usual as a common man will think $3abc = 12$ and got $abc = 4$ After that I am unable to link it with any other equation
123025
Can anyone help with this. I'm not sure at all what I'm doing wrong but i get an error Missing $ inserted.                   $ on the 2nd line with c)\  The rest of the text works fine and there are no $ signs that are not already paired in previous parts  \noindent c)\\ coordinates = (99,85),(190,220),(286,383)\\ \begin{align} error&amp;= \left | y-(a+bx) \right |\\ E&amp;= \left | y-(475.5+1.253x) \right |\\ (99,85): E&amp;=\left | 85-(475.5-1.253(99) \right |\\ &amp;=\left | 85-(351.5) \right |\\ &amp;=266.5\\ (190,220): E&amp;=\left | 220-(475.5-1.253(190) \right |\\ &amp;=\left | 220-(237.5) \right |\\ &amp;=17.5\\ (286,383): E&amp;=\left | 383-(475.5-1.253(286) \right |\\ &amp;=\left | 386-(117.2) \right |\\ &amp;=265.8\\ \end{align} $\therefore$ \text{Next location is "The Reservoir" at (190,220)} \end{document}
62089
I have a problem regarding alignment for my equations.  This dummy program shows the problem:  \documentclass{article} \usepackage{amsmath} \begin{document}  \begin{enumerate}     \item First do this     \begin{align}     c^2 &amp;= a^2 + b^2     \end{align}      \item Then do this      \begin{align}     variable &amp;= c^2     \end{align} \end{enumerate}  \end{document}     I would like the = to be aligned under each other, but still be able to list them inside the enumerate.  Any suggestions?
111985
I want to add some over-braces to a matrix to get the following output:    However, this this what I managed to get:      I don't know how to get the neuron 1 and neuron 2 headings...I was thinking of overbraces but not sure how to use it in this case. The stuff on the right of the matrix is not aligned properly...My equation number is moving to the next line as well..Can anyone help me please.  My code is as follows (I am using amsmath package):      \begin{equation}      \begin{matrix}      J      =      \begin{bmatrix}      \frac{\delta e_{1,1}}{\delta w_{1,1}}  &amp; \frac{\delta e_{1,1}}{\delta w_{1,2}} &amp;      \cdots &amp; \frac{\delta e_{1,1}}{\delta w_{j,1}}  &amp; \cdots \\[0.5em]       \frac{\delta e_{1,2}}{\delta w_{1,1}}  &amp; \frac{\delta e_{1,2}}{\delta w_{1,2}} &amp;       \cdots &amp; \frac{\delta e_{1,2}}{\delta w_{j,1}}  &amp; \cdots \\[0.5em]       \cdots &amp; \cdots &amp; \cdots &amp;      \cdots &amp; \cdots \\[0.5em]       \frac{\delta e_{1,M}}{\delta w_{1,1}}  &amp; \frac{\delta e_{1,M}}{\delta w_{1,2}} &amp;       \cdots &amp; \frac{\delta e_{1,M}}{\delta w_{j,1}}  &amp; \cdots \\[0.5em]       \cdots &amp; \cdots &amp; \cdots &amp;      \cdots &amp; \cdots \\[0.5em]       \frac{\delta e_{P,1}}{\delta w_{1,1}}  &amp; \frac{\delta e_{P,1}}{\delta w_{1,2}} &amp;       \cdots &amp; \frac{\delta e_{P,1}}{\delta w_{j,1}}  &amp; \cdots \\[0.5em]       \frac{\delta e_{P,1}}{\delta w_{1,1}}  &amp; \frac{\delta e_{np,2}}{\delta w_{1,2}} &amp;      \cdots &amp; \frac{\delta e_{P,2}}{\delta w_{j,1}}  &amp; \cdots \\[0.5em]       \cdots &amp; \cdots &amp; \cdots &amp;      \cdots &amp; \cdots \\[0.5em]        \frac{\delta e_{P,M}}{\delta w_{1,1}}  &amp; \frac{\delta e_{P,M}}{\delta w_{1,2}} &amp;        \cdots &amp; \frac{\delta e_{P,M}}{\delta w_{j,1}}  &amp; \cdots \\[0.5em]       \end{bmatrix} %\!\!        \begin{aligned}       &amp;\left.\begin{matrix}       m = 1  \\[0.5em]       m = 2  \\[0.5em]       \cdots \\[0.5em]       m = M  \\[0.5em]       \end{matrix} \right\} %       p = 1\\       &amp;\begin{matrix}       \phantom{\cdots}\cdots\\[0.5em]       \end{matrix}\\ %       &amp;\left.\begin{matrix}       m = 1  \\[0.5em]       m = 2  \\[0.5em]       \cdots \\[0.5em]       m = M\\[0.5em]       \end{matrix}\right\}%       p = P\\      \end{aligned}      \end{matrix}      \end{equation}
98383
In the following piece of code  \begin{align*} [x \mapsto s]x &amp;= s \\ [x \mapsto s]y &amp;= y \qquad \text{als } y\neq x \\ [x \mapsto s](\la{y}t_1) &amp;= \la{y}[x \mapsto s]t_1 \qquad \text{als } y \neq x \text{ en   } y \not \in FV(s) \\ [x \mapsto s](t_1 \; t_2)&amp;= ([x \mapsto s]t_1)\;([x \mapsto s]t_2) \end{align*}   I am currently only aligning on the = sign. Is it however also possible to align on more than one place in the environment? I would also like the \text to be aligned, as wel as the begining of each new line.
59966
Here is my code:   \begin{align*} (a-bu)e^{-\frac{1}{4}(v^2+u^2)(1+c)+\frac{1}{2}(1-c)u|v|}  &amp;=(a-bx-by)e^{-\frac{1}{4}((x-y)^2+(x+y)^2)(1+c)+\frac{1}{2}(1-c)(x+y)(y-x)}\\ &amp;=(a-bx-by)e^{-(x^2+cy^2)} \\ &amp;=f(x,y). \end{align*}   I have a long equation. My question is as follows: I want to isolate the expression   (a-bu)e^{-\frac{1}{4}(v^2+u^2)(1+c)+\frac{1}{2}(1-c)u|v|}   on the first line so that I don't have an equation on the first line and I want this expression left justified with the other lines (that have the equal sign). How can I do this?
46923
I would like to produce a new equal symbol looking like this. .  What is the best way to do that ? Pure TeX ? TiKz ?  I'm looking for ways to do that rather than to a ready to use solution such as to be able to other new symbols alone.
104760
How can I align equations inside tabular? I want to place few lines of equation by side of the picture. But it turns out that I cannot use \&amp; in order to shift equals signs to be one under another.  \documentclass{article}      % Specifies the document class  \usepackage{amsmath, amsfonts, mathtools, xfrac, empheq} \usepackage{caption}   \begin{document}       % End of preamble and beginning of text. \begin{tabular}{l r} \begin{minipage}{0.6\textwidth} \begin{align}     V^\pi = E_\pi \{ R_t \mid s_t = s \} \\     = E_\pi \left \{ \sum\limits_{k=0}^\infty \gamma^k r_{t+k+1} \mid s_t = s \right \}  \notag \\     = E_\pi \left \{ r_{t+1} + \gamma \sum_{k=0}^\infty \gamma^k r_{t+k+2} \mid s_t =s \right\} \notag \end{align} \end{minipage} &amp; \begin{minipage}{0.4\textwidth} %\includegraphics[width=\textwidth]{olcar_L11-8} \captionof{figure}{Backup diagram} \end{minipage} \end{tabular}  \end{document}   I would like it to like this:
108281
I tried to write a system of equations with all equations numerated, but they are not aligned:  \begin{empheq}[left=\empheqlbrace]{align} R_a = R_d\\  \frac{dq(t)}{dt} = ir - r_d(t) \\  q(0)=0 \\ r_d(t) = TTR(t) R_d \end{empheq}   How can I solve this problem?  Thank you very much in advance.
4058
I'd like to left align the -1 entry in the following matrix so that the 1s line up. Is there a way to get matrices to ignore signs in that way?  \begin{matrix}     1 &amp; 1  \\     1 &amp; -1 \\ \end{matrix}   Using \flushright{-1} doesn't seem to work.