{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)

37
votes
4answers
79k views

Attractive Boxed Equations

I often used \boxed{...} from the AMS math package to place a box around important equations. However, this approach often produces somewhat awkward looking output. Consider \documentclass{article} ...
5
votes
4answers
73 views

Vertical Alignment of Equations in a Table

I am writing up a university project, and I want to create a table with the left column containing Feynman diagrams (which I have drawn using the feynmp package) and the right column containing ...
0
votes
1answer
112 views

Break up long equation with square brackets into multiple lines

I'm having trouble splitting the portion of the equation within square brackets into two lines. How can it be done? \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} \ ...
2
votes
3answers
44 views

Right-justifying a comment for an equation that uses leqno

I'm unable to get the formatting correct when attempting to add a comment to an equation that uses leqno. Ideally, I'd like the equation to remain centered regardless of whether or not it is numbered. ...
3
votes
2answers
90 views

Simple equation editing

I am writing a simple equation in my thesis: \begin{equation} \begin{align} y &= x^{k}\\ \log(y) &= \log(x^{y})\\ \log(y) &= y\log(x)\\ \frac{\log(y)}{\log(x)} &= y \end{align} ...
6
votes
2answers
89 views

How to reduce the space enclosed in parentheses?

The following lines gives me more space below E^2 inside the parentheses. How to reduce this extra space. Also, the square (2) is above enclosing parentheses. \begin{equation*} ...
3
votes
1answer
42 views

Equations in different part of the text not aligned

I have a problem, in my document I have two sets of similar equations but they do not align. This is the text: If $\tilde{\mathbf{p}}$ is first combined with the system of Eq.\ref{inplane:eq7} and ...
1
vote
0answers
47 views

LaTeXIt Image Width

I'm not much of a LaTeX jockey, but I use it to typeset equations via LaTeXIt. I'm noticing that LaTeXIt will cut off the typeset image if it exceeds a certain width - I've looked for a document ...
4
votes
3answers
160 views

Multiline equation inside a split environment

I have a series of equations aligned at = inside a split environment. (They're all actually the same equation, so the left-hand-side is missing in all but the first equation.) Unfortunately the last ...
2
votes
2answers
416 views

OCR PDF/Image to LaTeX (math) [closed]

I would love to have an OCR who could translate my PDF-file to a TeX-file. It doesn't have to be "good looking". I only need it to a) copy some text from time to time and b) especially to copy the ...
0
votes
1answer
51 views

superscript bug

I don't know if you guys can help me here but I do subscript when a value is superscripted then it isn't showed in the right way? 2 shouldn't be shown under x but more like x_2 my code looks like ...
13
votes
1answer
37k views

Multiline equation without number

I am trying to have a multiline equation without any numbering, even not in the last one. \begin{align} a = x \nonumber \\ b = y \end{align} However, this is producing a line number in the last ...
0
votes
0answers
29 views

Equation number not in the same line with my equation [duplicate]

I'm new here, and I'm learning how to use LATEX. Please, I have a small problem in that the equation number appears an a new line. That is, it is not on the same line as the equation. ...
2
votes
2answers
43 views

Problem with align alignment

I have written the following code: \mathbb{R}^n\times\cdots\times\mathbb{R}^n&\rightarrow \mathbb{R}^m\times\cdots\times\mathbb{R}^m \rightarrow \mathbb{R}\\ (v_1,\cdots,v_k)&\mapsto ...
3
votes
1answer
65 views

sum in the same line as a fraction

I'm sorry if this has been asked. I'm new to this and to Latex. I have this piece of code: \[ e^{-\xi_1 Y_1^N} = \exp\left(-\frac{\xi_1}{N}\ \sum_{n\geq1}{}V_n^1 e^{-s_n}\1_{\{ s_n \leq ...
7
votes
5answers
206 views

Two labels on the same equation line

I would like to have a compact set of two equations on the same line, each one labeled, with both labels on the far right. The code would be something like: \documentclass{article} ...
2
votes
2answers
59 views

Complex conjugate for inner product

I am having trouble writing an inner product with a horizontal bar over it representing the complex conjugate. $\langle b_i, b_j \rangle=\bar{\langle b_j, b_i \rangle}$ doesn't do the trick Here is ...
7
votes
0answers
85 views

Advanced Math and braille

How does one go about typesetting math books in braille with all parenthesized subscripts and superscripts and are there braille signs for the AmsMath package special symbols?
114
votes
5answers
248k views

How can I split an equation over two 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)} ...
4
votes
4answers
217 views

split an equation

I have the following equation \documentclass{article} \begin{document} \begin{equation} \left\{\begin{array}{l} W_1=N_c^ * w_1^c + N_s^ * \left( {w_1^s + 2w_2^s + w_3^s} \right) \\ W_2= N_s^ * ...
1
vote
0answers
59 views

latex libreoffice preamble TexMaths extension

I am currently using the texmaths extension to insert latex formulas into a powerpoint presentation. (libreoffice impress). I have to use \usepackage{braket} for the equations to work. the problem ...
2
votes
1answer
38 views

Problems with \sum lower limit when in an exponent (displayed maths)

I just can't get the lower limit to be under the $\Sigma $ in an equation that has this: \begin{align*} e^{ - \sum_{x_n \leq t}{g(x_n)} \end{align*} I've tried \[ \] ,the align* environment; and ...
2
votes
1answer
3k views

Change equation number latex

I would like to quote a part of a paper and would like to keep the same numbering of equations. For example, suppose in a paper, the equation appears \begin{equation} 1 + 1 = 2 ...
1
vote
3answers
53 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} ...
24
votes
2answers
2k views

Why does no one fix eqnarray?

It seems to me that everyone agrees that no one should use the latex built-in eqnarray environment. So much so that packages have been made to fix it, and several alternatives have been made, ie. ...
1
vote
1answer
31 views

How to prevent the label of a long equation running into the right margin?

I have an equation of the form \begin{equation}\label{eq:master} f(x) = E \end{equation} where E is a long expression. The problem is that the label runs into the right margin. What is the proper ...
-1
votes
2answers
75 views

Numbering equations within chapters without using the chapter number [on hold]

Unfortunately, I'm running into the same problem for a couple of times now. I can't find the answer anywhere on this forum, so that is why I decided to post the question. What I am trying to do right ...
1
vote
1answer
66 views

Issue with ntheorem and \eqref

Whenever I try and label an equation in the following format \begin{equation}\label{eq:blah} blah \end{equation} and then reference this equation By \eqref{eq:blah} I get the usual (??) of an ...
1
vote
1answer
71 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
38 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
70 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
67 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
75 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
44 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 ...
9
votes
4answers
534 views

How can I have numbered verbatim environments?

How can I have an automatically numbered verbatim environment, just like equations? I tried putting it like this: \begin{equation} \begin{verbatim} bla... bla... bla... \end{verbatim} \end{equation} ...
3
votes
1answer
74 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
60 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
1answer
117 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
2answers
39 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
51 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
44 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
84 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
170 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
371 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
110 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
101 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
93 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. ...