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

0
votes
0answers
27 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
287 views

OCR PDF/Image to LaTeX (math) [on hold]

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
41 views

how to typeset 'maximum - subject to' relation?

How to type the following formula inside an algorithm in latex?
2
votes
2answers
29 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
48 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
161 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
36 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
42 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?
99
votes
5answers
213k 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
201 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
12 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
27 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 ...
1
vote
1answer
2k 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
39 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} ...
23
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
29 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 ...
-2
votes
2answers
50 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 ...
0
votes
0answers
35 views

How to write a system of equations in sharelatex.com?

Every search for system of equations that I put on that site will break and not render properly.
33
votes
4answers
70k 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} ...
1
vote
1answer
50 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
42 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
30 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
43 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
11 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
52 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
55 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
34 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
431 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
61 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
42 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
41 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
29 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
35 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
41 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
66 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
161 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
348 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
62 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
48 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
81 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
44 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
80 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 ...
0
votes
2answers
365 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
38 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
45 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
91 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
29 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
30 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
38 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. ...