{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
3answers
46 views

\IEEEeqnarraymulticol and long equations

I am trying to set a long equation using IEEEeqnarray and \IEEEeqnarraymulticol. A simple example is below. \documentclass[12pt]{article} \usepackage{amsmath} \usepackage{amsthm} \usepackage{amssymb} ...
1
vote
1answer
66 views

Local equation numbering inside proofs

According to the question asked here and a possible suggestion to the problem which equations should be numbered given here I want to ask following question; I find it a good solution to number all ...
2
votes
1answer
36 views

How to make the distance between two rows larger in array?

I found a mathematical formula in mathdesign document, it looks good and elegant When I try to type it as it looks, what I got is always not as good as origin. The code I use is ...
3
votes
2answers
58 views

Non-continuous Equation Counters (increment per equation type)

I'm trying to have two separate equation counters, one for TypeA equations and another of TypeB equations. They shouldn't share a counter, but pick up the counter from whichever type they are within. ...
0
votes
0answers
8 views

how to refer to an equation so that its label appears with mathtools? [duplicate]

I am using showonlyrefs=true with mathtools, so only references with refeq actually appear in the document. However, there is one case in which I want to have an equation include a (x.y) label, even ...
1
vote
0answers
13 views

Locally reduce space between equation and qed / placement of qed [duplicate]

If (using amsthm) I have a proof which ends on an equation, and after that some text goes on, I have something like: text / (bit of space) / equation / (bit of space which looks huge because there ...
1
vote
1answer
60 views

Adding a equation number to a matrix

I do have a matrix but I can't add a reference number for it as shown in read in the photo below .. any help? \[ A= \begin{pmatrix} 0.3 & 0.4 & 0.3 & 0.0 \\ 0.4 & 0.3 ...
3
votes
1answer
70 views

setlength is not working (distance between equations)

First of all I would like to emphasise that I have read all the questions about this topic with no solution to my problem. I will write all that I have before \begin{document} just to make sure the ...
2
votes
2answers
41 views

How to center an index or variable under an expression or word in math-mode

How can I get the the term shown in the picture: $\underline{x_a}$ should be centered under max. What I know is the structure below, but this is not what I am looking for: $max_{\atop ...
3
votes
1answer
71 views

\neq prints as '='

When I try \neq the output looks like =. I found a similar problem - \neq (not equal) command does not work anymore. Doesn't look like my case (see below for details), and don't know how to follow the ...
2
votes
2answers
53 views

How to insert words into equation numbering

I would like to produce equations that have numbers on the right hand side in the style of (eqn 1) rather (1). How would I do this, presumably using a user defined command, but I am having trouble ...
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
46 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
101 views

How to align multiple equation using tcolorbox in latex enviroment for Rmarkdown

I have the following latex inside Rmarkdown: \begin{tcolorbox} \begin{equation} \sigma = \beta_{0} \label{eq:Model0} \end ...
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
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 ...
2
votes
2answers
77 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 ...
1
vote
1answer
97 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 ...
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 ...
3
votes
1answer
62 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
100 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
41 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. ...
1
vote
1answer
53 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
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 ...
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
251 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
203 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
163 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
60 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
122 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
187 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
51 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}$) ...
22
votes
2answers
579 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 ...
1
vote
0answers
66 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
96 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_ ...
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 ...
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
47 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, ...