{equations} is about the various environments to typeset displaystyle mathematics, e.g. equation and {align}. For general questions about mathematical typesetting use {math-mode}. Both tags are possible on the same question.

learn more… | top users | synonyms (1)

1
vote
2answers
37 views

Equation on multiple line [duplicate]

I have a mathematical expression, I try to write it in multiple line. I tried: multline, equation + split, align .. . $\text{max} \left ...
1
vote
1answer
45 views

How to refer back to equations [duplicate]

I am using \begin{equation} \end{equation} to number my equations in my text. But I normally mention these equations in the further text. E.g., In equation 3 .... But if I change the former equation ...
1
vote
1answer
43 views

Multiline equation environment coloring changes from one line to the other?

Does there exist a multiline equation environment which automatically shows the changes from one line to the other? I am thinking of an environment that would take inputs like E[d] & = ...
1
vote
3answers
77 views

Two equations in one line

I have a problem how can I write these two equations in a same row: ∀i,j 1≤i,j≤n and cij = ∑ aikbkj Thank you
3
votes
2answers
169 views

How to give some text an equation number

I want to be able to write the following in LaTeX We make the further assumption that \begin{equation} \label{eqn:assumption} There is a bounded linear operator $B:X\to X^*$ such that ...
8
votes
4answers
365 views

Nice display of proof steps without eqnarray

This is a follow-up question to: Is eqnarray really obsolete? The background is that I want to follow the general advice to avoid eqnarray. However, while working on old documents still containing ...
1
vote
1answer
94 views

Left align text in equation environment (no use of align environment)

I understand that you can left-align text using \intertext{...} inside \begin{align}...\end{align} environment, e.g. this answer. Is it possible to do the same but inside ...
2
votes
2answers
76 views

Conditional equations with with one curly bracket in LaTex?

How would I code something like this I've got the code \begin{equation} L = \begin{cases} 1 & \text{if $i = j$ and $deg_j \neq 0 $} \\ stuff & ...
6
votes
3answers
88 views

How to align equations in two columns?

Well, my problem is I'm trying to find a way to write many equations and divide these into columns as you would when writing on paper, cut in some part and continue. I have achieved almost using the ...
4
votes
1answer
46 views

Breaking equations with different alignments

Suppose I have an equation which is too long for one line and I would like to split it over two lines. However, I would like the first line to be left-aligned and the second to be right-aligned w.r.t. ...
2
votes
2answers
86 views

Align 2 (multiple) element in same equation

I have a lot of equations which are too big to fit in a line, like this: So basically I have to align '=' for a set of equations and '+' inside the equation when it enters a new line. I'm trying ...
1
vote
2answers
483 views

Pandoc equation numbering style

I use pandoc to render .pdf files from markdown. Example input: #Fudamental matrix ##Epipolar constraint in pixels (@) $$(K_{0}^{-1}x)^{T}E(K_{1}^{-1}x')=0$$ (@) ...
1
vote
1answer
52 views

lineno skips some lines containing equation environments

I am using TeXworks 0.5 r.1350 (Debian). My tex source is \documentclass[a4paper,11pt]{article} \usepackage{amsmath} % needed to get the command equation* to work \usepackage[a4paper]{geometry} % ...
3
votes
1answer
60 views

How to add a footnote to an equation number?

I would like to add a footnote to an equation number. For example, it should look like: (This figure is taken from MS word.) Does anyone know how to do this in latex? I have tried the following ...
4
votes
1answer
99 views

Remove jumping of equation between slides

How can i remove jumping of equation between slides? I would like that the \leq, \geq are on both slides at the same position even if the variables change. \documentclass{beamer} ...
2
votes
2answers
30 views

Alignment of two equations

How can i make that the units are right under the corresponding term? \documentclass[11pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[ngerman]{babel} ...
1
vote
1answer
39 views

Error when using align ''Missing } inserted. <inserted text> } l.47 \end{align}''

I get ''Missing } inserted. } l.47 \end{align}'' when i'm using the align function to align multiple equations. The code works if i remove \begin{align} , \end{align} and the & symbols before ...
1
vote
3answers
42 views

Can I give equations the same number if they are in different chapters?

I have a document with several chapters. When I label the equations I get the chapter number and the equation label. Am I able to label an equation in a different chapter with the same label? e.g. ...
6
votes
2answers
3k views

Is it possible to re-insert a LaTeX equation by label?

Is it possible to re-insert an equation in LaTeX via referencing the original equation by label? I already know, it is possible to: reuse the original equation numbering via \tag{} as described here ...
3
votes
3answers
107 views

Temporarily Change Equation Margin

Let's say I have a document with a narrow text width and lots of margin to spare. If I had a particularly long equation that failed to fit into the given width, the general solution would be to break ...
16
votes
3answers
5k views

Can I insert an image into an equation?

I would like to use a small image in an equation, where a symbol like \alpha might otherwise be. Is there a nice way to do this?
22
votes
2answers
578 views

Is eqnarray really obsolete?

I just learned in eqnarray vs align that eqnarray should be avoided in general. Ok, so I started looking at my documents to get rid of it and (as suggested) use some environment of the amsmath package ...
14
votes
1answer
13k views

Double square brackets

In many equation editors (e.g. MS Word 2007 and Daum Equation Editor), there's a double square bracket. Is there a TeX equivalent for [[, ((, )), and ]]?
1
vote
1answer
40 views

Align a cases equation with another equation vertically on the same line

I am using the following to align the two equations. However, they are not vertically on the same level. How should I fix it? \documentclass{article} \usepackage{amsmath} \begin{document} ...
3
votes
1answer
40 views

Make equation readable using align or multiline

i am at the moment trying to make this equation more readable by splitting it but can't seem to it using the mentioned packages, i tried using dmath but that messed up other parts of the equations.. ...
1
vote
2answers
250 views

How to write two small equations in the same line?

I am trying to write equations x=a and x=b in the same line. \begin{eqnarray} \end{eqnarray} does not provide the solution. Kindly help me.
5
votes
3answers
233 views

Cannot split equation

I do not seem to be able to split this very long equation. I've tried multline, align, dmath, split and a few other possibilities but none of them have worked; it might be a stupid mistake, but I ...
3
votes
1answer
28 views

Special full stop with subequations

With this code: Si scriverà, pertanto: \begin{subequations} \label{eq:laplace-2} \begin{align} & Z (s^2 M + s C_s + K_s) = Z_u (s C_s + K_s)\\ & Z_u (s^2 m + s C_s + K_s + K_t) = ...
1
vote
1answer
197 views

Undefined control sequence error \end{split} [closed]

I tried to split an equation, such that it alligns under the = sign. I get an error message using this code. Could someone tell me what's wrong? Undefined control sequence. <argument> ...
4
votes
1answer
44 views

Need to break the 2nd line of the equation

% preamble \newcommand{\wa}{\mathbf{w}_a^H} \newcommand{\ga}{\mathbf{g}_{a_k}} \newcommand{\fa}{\mathbf{f}_{a_p}} \newcommand{\fak}{\mathbf{\overline{f}}_{a_k}} ...
5
votes
2answers
162 views

Dashed version of \boxed

Is there an easy way of putting an equation inside a dashed box? Ideally similar to \boxed from amsmath. The output should look something like this:
1
vote
1answer
59 views

equations arrangment

\documentclass[12pt, letterpaper]{article} \usepackage[a4paper,top=1 in,bottom=1 in,left=0.7 in,right=0.7 in]{geometry} \usepackage[utf8]{inputenc} \usepackage[misc]{ifsym} \usepackage{amsmath} ...
4
votes
2answers
121 views

Equations not aligned properly

I'm trying to align multiple questions below each other. I'm using the following file. \documentclass[11pt]{article} %comments %pdflatex, bibtex, pdflatex, pdflatex ...
6
votes
1answer
184 views

Why do these three changes fix this equation-numbering error?

When I use \equation...\endequation instead of \begin{equation}...\end{equation}, all equations have the same number (I know this isn't best practice for environments; I'm trying to understand the ...
5
votes
1answer
50 views

Problem getting expression of formula to compile

I am trying to write a line of a formula as follows: {\emph{P}($\emph{c}\mid\emph{d}$) =} \emph{P}(\emph{c})\prod \textsubscript{\emph{w}\in$\emph{d}}\emph{P}($\emph{w}\mid\emph{c}$) ...
1
vote
0answers
64 views

Centering of equations in classicthesis style [closed]

I'm using the classicthesis package. Unlike math in $$, an equation is not centered: \begin{equation} mod(\zeta, G) := \sum_{C \in \zeta} \left ( \frac{\omega(C)}{\omega(E)} - \frac{vol(C)^2}{4 ...
4
votes
1answer
68 views

Repeating an equation including its content and number

I would like to re-use equations with the same content and number. I know that the thmtools package has a restatable environment to do this for environments (like in this answer), but I would also ...
5
votes
1answer
65 views

Numbering only the last equation in a set of equations

I have the following long equation: \begin{align} F\bigl(\mathbf{u};z \;\vert\; Z(\mathbf{u}') \leq z'\bigr) &= \prob\bigl\{ Z(\textbf{u}) \leq z,Z(\mathbf{u}') \leq z'\bigr\} \\ &= ...
1
vote
2answers
93 views

Equation alignment “with offset”?

With LaTeX, how do I achieve the following aligned equation? Dashed lines indicate desired alignments. Solid boxes denote some random expressions.
1
vote
0answers
49 views

Labeling math equations [closed]

In .tex documents, when I am displaying an equation I do this: \begin{equation} a^2+b^2=c^2 \end{equation} And it displays with an equation number off to the right. But when displaying proofs ...
1
vote
1answer
59 views

Error while running code containing equation

\underline{y}={(y_{111}&plus;y_{112}&plus;...&plus;y_{ijk})}^{T} ! Missing $ inserted. $ l.97 ...i, B = j, C = k and let \underline{y}={(y_ ...
2
votes
2answers
46 views

How to “align” the LyX aligned math environment

I frequently use the aligned math environment in LyX to typeset my equations. However, if I want to save space on the page and set two equations simultaneously in the same aligned math environment, ...
4
votes
2answers
47 views

Not getting alignment that I want in an alignat environment

In the following display, $+ \frac{1}{4!}$ in the third line of the alignat environment should be aligned directly below $+ \frac{1}{2!}$ in the second line. Depending on the spacing in the corrected ...
4
votes
1answer
64 views

Reference equations with \eqref while using different tag forms throughout document

I'm trying to reference equation by \eqref when I use different tags form throughout document, but the output can't display the tag form that I want. As mentioned in mathtools package usage, "be ...
0
votes
2answers
76 views

How to write the equations with conditions in two lines?

I want to write the boundary condition in the following form. Need your help to write the below equations in two lines
2
votes
2answers
98 views

Undefined control sequence while writing equation

I am writing an equation in LYX and I get the error "Undefined control sequence" With the message "The control sequence at the end of the top line of your error message was never \def'ed. If ...
5
votes
1answer
74 views

\shortintertext gives wrong equation numbering when used with hyperref package

The following code works fine \documentclass[english]{article} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage{amstext} \usepackage{mathtools} \usepackage{babel} ...
5
votes
1answer
52 views

Underbrace overlapping text

I am trying to type the equation in the figure below. The text on the brace is long and it does not wrap around. Can you help me to solve the problem? Thanks. Equation: \documentclass{article} ...
11
votes
3answers
4k views

Why doesn't lineno number a paragraph when it is followed by an indented equation?

While searching for the source of missing line numbers, I realized that paragraphs followed immediately by an equation have no line number, but this is fixed when a space is included, e.g. the ...
1
vote
2answers
75 views

Number the equations [closed]

I am a new user of latex, and I have the follow question. How can enumerate the equations that I write in a document ad during the text write the number to a specific equation Currently I can write ...