{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
1answer
40 views

missing $ inserted error for equation

I get the missing $ inserted error for the following code: \begin{equation} C = $ \frac{2}{\omega^2N^2\mu\pia} $ \end{equation} I have tried out different changes based on Googling for this ...
2
votes
1answer
49 views

I'm trying to write an econometric equation and I haven't figured what is wrong with the code in LaTeX

It is a fairly simple question, it might sound stupid to some, but I am in urgency. The code it is just below: \begin{equation} \[Y_{it}=\beta_0+\beta_1K_{it}+\sum_f \alpha_fR_{fit}^T+\sum_g ...
1
vote
1answer
38 views

Boxed equation on the right and its verbatim on the left

How to write a verbatim form of an equation on the left and its output form on the right inside a box?
5
votes
3answers
101 views

Tricky alignment within an equation with a case environment

I couldn't figure out how to do the following alignment: \begin{equation} \begin{aligned} \textrm{Row I:} \qquad & A = 1, \quad j = 1, 2, \ldots, N \\ \textrm{Row II:} \qquad & A = ...
2
votes
1answer
83 views

Paragraph overfull hbox

First off all: I must write with twocolumns. The major problem is the overfull hbox at some equations: from 6pt to 12pt too much. I don't know what to do. So what do you do when you write your ...
4
votes
1answer
52 views

\overset and \implies not working right when combined

I'm trying to make an implies arrow with an 'n' above it. I have no trouble with $A \implies B$ $A \overset{n}{ \rightarrow } B$ but when I try to use $A \overset{n}{ \implies } B$ I get the ...
0
votes
1answer
101 views

Package amsmath Error: Multiple \label's: label '{33}' will be lost

I have this code and Package amsmath Error: Multiple \label's: label '{33}' will be lost. error: can anyone help me? \begin{align} \label{33} \begin{split} ...
2
votes
1answer
46 views

Add right flushed verse number to last line of verse

I'm using the custom Verse environment provided in this answer for producing horizontally centered verses. I would like to add a verse number to the last line of a verse and I would like just the ...
2
votes
4answers
112 views

split and align long equation

The following code is used to split a long in-equation. \begin{align} (\sum^n_{i,j=1}\frac{(S_{t})_{ij}\norm{W^T_{t+1}x_i-W^T_{t+1}x_j}_2^2}{2\norm{W^T_{t}x_i-W^T_{t}x_j}_2} - \nonumber \\ ...
1
vote
2answers
43 views

How can I decrease distance between equations?

I have this code and I want to decrease the vertical distance between equations? Can anyone help me? \begin{equation}\label{20} P_{\ell}^k\geq -P_\ell^{\max}\cdot Z_\ell^k~~\forall ...
2
votes
2answers
1k views

Problem with cross referencing using gather environment

I am using gather environment to write bunch of equations. When I try to cross-reference those equations, the equation number doesn't show up. Here is my code \documentclass[12 pt]{article} ...
3
votes
2answers
41 views

Putting a tag in aligned enviroment

I want to set a counter in the following two lines (to the right) \[ \left\{ \begin{aligned} & u_t = H(x,t,Du)&\text{ in }& \mathbb{R}^n\times (0,T) \\\\ & u(x,0)=u_0(x) & \text{ ...
2
votes
0answers
25 views

problem using subscripts with sansmath

I have had to (hastily) adapt some Latex to sans serif and I have had some small problems. I cobbled a preamble together (lifting some stuff from the web) which seems to work, except for some small ...
3
votes
2answers
89 views

Normal font in math mode?

I got a problem with formatting text in math mode. I made a commmand that moves the unit in the end of the equations all the way to the right. It looks like that ...
4
votes
3answers
116 views

How can I change the position of equation number locally if I am not using the amsmath package?

I am writing a book and I want to show the formats of equation numbering; I mean, I want to tell the students that they can put the numbering at the beginning or at the end of the formula's line in ...
3
votes
2answers
98 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 ...
0
votes
0answers
45 views

Reducing space & Auto coloring equations in gather environment

Following the solution in Problem with vertical spacing of equations in itemize after the first \item, I have another (side-effect) problem in colouring equations. Please help. The problem is ...
19
votes
3answers
3k views

Exporting all equations from a document as individual svg files

I'm currently a presentation based on a paper originally written in Latex. Currently, I use Kile and Ubuntu for my work. What I'm finding is that I need a large number of the equations from the ...
2
votes
2answers
503 views

Number equations in pandoc by default

How to get equations written in $$...$$ numbered when markdown document is compiled to PDF file. I do not need to make references for equations.
2
votes
1answer
61 views

Problem with vertical spacing of equations in itemize after the first \item

I found one similar thread here (Removing strange vertical space after first (customized) \item), but I still could not resolve my problem. Please help. Description of the problem: I used beamer ...
1
vote
1answer
36 views
1
vote
2answers
64 views

Group of equations with bracket and equation numbering

I have 10 equations which are arranged as shown below. These equations should be arranged in groups of three brackets and aligned. They should be given equation numbering.
3
votes
4answers
126 views

How avoid that the Underbrace Outside the delimiters $| |$ appear inside the delimiters

I have this code. \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[spanish]{babel} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{pgf,tikz} ...
0
votes
1answer
56 views

Several lines in equation

I would like to get in LaTeX what the following code produces on Math.SE: $$\pi(X,Y)\to HoM(X,Y)\\\ [f]\mapsto[RQf]$$ And if I wanted to have an equation number to the right of the two lines, ...
3
votes
1answer
43 views

How do I number the equations locally?

To write equations, I use the \begin{align*} ... \end{align*} commands. I type my equations inside it. I add lines of text or paragraphs in between using the command \intertext. Now my question is how ...
1
vote
2answers
96 views

Multi line parentheses in latex

I would like to have more than on line in a big paranthesis, how can I do that. I have test this code but doesnt work for me: \begin{equation} p \big[ i, j \big]=min\Bigg( p \big[i-1, j-1 \big] + 2 ...
3
votes
1answer
35 views

Referencing equations with multiple labels

I want to typeset an equation that's equivalent (but not identical) to a previous equation, numbering both of them individually but acknowledging the equivalence. I'm doing this as follows: ...
2
votes
1answer
59 views

Wrapping lines of an equation with \left and \right parentheses

I am having trouble formatting the following mathematical expression: \begin{align*} A &= \left(\left(\frac{1}{2},\frac{1}{2}\right) + \sqrt{2}Rot_{-\pi/4}\left\langle 0, \frac{1}{2} ...
3
votes
2answers
161 views

Aligning equals signs across Beamer blocks

I've got a Beamer frame consisting of two blocks that contain some equations: \begin{frame} \frametitle{Modell} \begin{block}{A $(X_{t})$} \begin{align*} X_{t} = \epsilon_{t} \quad ...
3
votes
2answers
93 views

How can i adjust vertical distance between formulation?

I want to formulation not to stick together, somehow have reasonable distance. How can i do that? \begin{equation} P_{ng}\geq P_g^{min}~~\forall g\in\Omega^{G-n},\forall ...
4
votes
2answers
106 views

Distance between plus/minus sign and summation symbol

I am trying to write this code. It is compiled without an error, but I want to reduce the distance between plus/minus sign and \sum sign. How can I do that? Can anyone help me? \begin{gather} ...
1
vote
1answer
86 views

An image processing algorithm that can convert hand written formulae to LaTeX [duplicate]

I have witnessed first hand the beautiful math typesetting LaTeX can produce and also the enormous effort that goes into writing formulae in LateX. So I was wondering that an image processing software ...
3
votes
4answers
113 views

Have boundary (using numcases) facing outward towards right

I have the following code: \begin{numcases}{text}{\hat{\alpha}_{j}\,=\,} 2 \pi R\bigl[q_x-p_x,q_y-p_y\bigr] \\ 0 \end{numcases} How can I change it so that I have something like this(not ...
4
votes
1answer
183 views

The equation is too long to fit in the beamer frame, but split environment does not work

The main code is as follow: \begin{frame} \frametitle{Householder Transformation} \begin{equation} %\onslide<1-> \mathop{ \begin{pmatrix} \times & \times &\times \\ ...
4
votes
1answer
56 views

Error trying to typeset array

I am trying to typeset the following array: \begin{gather*} \begin{array} $(u_{n+k})- (u_{n})$ & =\sum\limits_{p=1}^{p=k} \dfrac{1}{(n+p)!}$ \\ & $\preceq \dfrac{1}{n!} ...
2
votes
1answer
69 views

How can I justify equations?

I want these equations be justified. How can I do that? I mean all equation started at the same margin. Can anyone help me? S.t. \begin{equation} \alpha_{ng}^{min}-\alpha_{ng}^{max}+\gamma_n\leq ...
3
votes
1answer
34 views

missing { inserted. <inserted text> \end{gather}

I try to write this code but I have a Missing { inserted error. Can anyone help me? \begin{gather} \begin{split} \mathop{\min}\limits_{P_{ng},P_l,R_n,Z_l,\theta _n \in \,\,\Omega ^{OTS}} & ...
4
votes
1answer
5k views

Numbering equations with LyX

I am using LyX with layout report for my thesis. I would like to have numbering on my equations but dont know how to do it. I'd like the first number to show the chapter and the second one the number ...
0
votes
0answers
30 views

How do I include figure or equation references inside algorithm environment in Lyx?

I would like to cross reference figures (and also maybe equations) inside the algorithm environment in Lyx but could not figure out how to do this. Help please?
4
votes
3answers
223 views

Math equation with cases and division signs

\begin{equation*} \theta({P,\bar{Cl}}) = \begin{cases} S(P,\widehat{Cl}) + (S(P,\widehat{Cl}) \times ((\bar{R}-\widehat{R})/\bar{R})) & \widehat{Cl} \textless \bar{Cl} \\ ...
1
vote
1answer
41 views

Align equation multiple columns

Is it possible to align an equation like this: I tried this, but: \begin{align*} & u_a(t) &= u_e(t) - u_{R1}(t) \\ & &= u_e(t) - R_1 \cdot i_1(t) = u_e(t) - ...
0
votes
1answer
33 views

Multiline equation in cases with special symbols

\begin{equation*} $\theta$ = \begin{cases} $\eta$ & \text{$\widehat{P} \textless \bar{P}$}\\ $\eta$ & \text{$\widehat{P} \textgreater \bar{P}$} \end{cases} \label{eq: ...
1
vote
1answer
107 views

Write Mathematical Equation

Im writing fraction in an equation. But then when I inserted $\frac{1}{2}$ inside the align*, error says missing }. I don't get it. Removing the code fraction will make my code work. \begin{align*} ...
6
votes
3answers
2k views

Errors in matrix equation?

I'm getting errors in a matrix equation. When I compile it looks fine, but I'd like to fix them so I don't have to press return for every error at compile time. The code for the equation is: ...
5
votes
2answers
40 views

How to use the inline equation format in the equation environment

I have a very long equation and have to use a equation environment to get a equation number. But I still want the equation to use the inline equation format, which automatically do line breaks and is ...
0
votes
1answer
95 views

How to put a multi line equation inside a box

I have a multi-line equation; \begin{align} \label{eq:er25} F(\gamma) &= aaaaa \nonumber\\ &+ bbbbbb \nonumber\\ &- cccccc \end{align} How I can put this equation inside a ...
0
votes
0answers
31 views

LaTeX converter issue with formula

I had problem with MS Word 2010 when converting it to LaTeX using Michael's converter. The system works well with simple text-based files. But a simple formula makes it keep working (busy with ...
1
vote
1answer
114 views

Double backslash \\ does not work in equation environment

My problem is that inside equation environment double backslash \\ does not seem to work as expected to force a line break: \begin{equation*} \fontsize{12}{15} \text{1. (a) State the ...
1
vote
1answer
40 views

How to obtain even space between variables in math mode?

When I combine numbers and several variables in an equation, the spacing between the numbers and variables are not even. What is the correct way to display the equation? The red box highlight the ...
6
votes
1answer
65 views

Number quote environment like an equation

I want to put an equation number to the right of a quote (the environment) as if it was an equation. I have looked at Equations with only text in them, How can I make LaTeX number my quotes and How ...