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

5
votes
1answer
50 views

How to make hyperlinks point to the top of an equation?

I've got a system of equation splitted on multiple lines with the environment split and a reference to them, which I would like to point to the top of the system of equations. Here's my MWE: ...
5
votes
2answers
101 views

Environment aligned doesn't output first part in bracket

\begin{equation} \begin{aligned} [c\mathbf{v}+c'\mathbf{v}',\mathbf{w}]=&c[\mathbf{v},\mathbf{w}]+c'[\mathbf{v}',\mathbf{w}],\\ ...
8
votes
2answers
24k views

How to write partial differential equation (Ex. dQ/dt=ds/dt) with real partial derivative signs?

I would like to make a partial differential equation by using the following notation: dQ/dt (without / but with a real numerator and denomenator). Earlier today I got help from this page on how to ...
1
vote
1answer
65 views

Latex equation writing problem: equals appears as minus [closed]

\begin{equation} X=456 \end{equation} after compiling it is showed x-456 where the = symbol gone
5
votes
0answers
82 views

How can I comment out specific parts of both text and equations by a general command/switch?

I want to define a command or switch at the top of my document that will seamlessly include/exclude all the explanatory notes and lines of working that don't need to be in a final paper (but are handy ...
2
votes
1answer
38 views

Adding right brace and equation number

I have an eqnarray that consists of 4 lines. I would like to have a right brace } that spans the last two lines with equation number, first equation with equation number and second equation with ...
4
votes
2answers
47 views

Why is \smallskip so big after display math?

In the below MWE, why is \smallskip adding so much extra space after display math? (And how do I fix it?) \documentclass[12pt]{article} \usepackage[english]{babel} \usepackage{amsmath} ...
3
votes
2answers
86 views

equations automatically aligning to the left, how do I centre them?

I was under the impression that equations align to the centre. I'm using a pack \documentclass [twocolumn, final] {svjour3} which I am guessing is changing that. So for example this: ...
1
vote
3answers
70 views

How would I get custom-colored equation numbers as simply as possible?

In a continuation of efforts to create a complete SAE technical paper class file, I need a little help finding the easiest way to create colored equation numbers. In my class file, I already define ...
2
votes
1answer
47 views

Space lost after \newcommand [duplicate]

I use the initialism "CE" a lot in my thesis, both in an out of equations. I find that the letters are too far spaced for my liking when used in an equation, so I use the \! command to reduce the ...
34
votes
4answers
77k 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
97 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
40 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
89 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
79 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
42 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
151 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
399 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
35k 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
40 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
59 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
194 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
48 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
81 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?
108
votes
5answers
239k 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
215 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^ * ...
0
votes
0answers
46 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
42 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
30 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 ...
0
votes
2answers
64 views

Numbering equations within chapters without using the chapter number

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
58 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
64 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
59 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
69 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 ...
9
votes
4answers
502 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
69 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
1answer
96 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 ...