Tagged Questions

{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
31 views

Specific Equations in Latex [duplicate]

How could I get that equation?
3
votes
4answers
117 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
51 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
34 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
0answers
52 views

Reset equation numbering after each section

I would like to reset equation numbering after each section or subsection. Right now I use \setcounter{equation}{0} I saw in another page you could also reset it by adding the following line to the ...
3
votes
1answer
29 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: ...
4
votes
3answers
86 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 ...
1
vote
2answers
49 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 ...
2
votes
1answer
42 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
88 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 ...
1
vote
1answer
70 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
100 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
135 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
47 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
67 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 ...
4
votes
2answers
92 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
2answers
58 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
1answer
24 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}} & ...
0
votes
0answers
27 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?
1
vote
1answer
35 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) - ...
4
votes
3answers
175 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} \\ ...
0
votes
1answer
30 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
97 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*} ...
5
votes
2answers
36 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
61 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
30 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
93 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
37 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
48 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 ...
2
votes
1answer
56 views

How do I align the equations about the equal to sign, with lines of text in between? [duplicate]

I want to align unnumbered equations about the '=' sign having one or two lines of statements in between. And also, I want them to be centered. Here is what I did in my code: \begin{align*} T & ...
4
votes
3answers
85 views

beamer with equation or align : replace part of equation and keep alignment

I'm creating a presentation with the beamer class. Assume I want to write this : \begin{equation} f(x) \only<1>{= \cos(x)} \only<2>{= 2\cos(x)} \end{equation} I have a ...
3
votes
2answers
77 views

Graphical connection between a matrix and a label

I need to show the connection of an element of a matrix with a label, like this: This is some code that I write: \[ \mathrm{A^{(0)}}= \quad \left( \begin{array}{cccc:c@{}} 2 & 2 & 1 ...
3
votes
2answers
92 views

nested array with alignment

I am trying to generate latex output as given below. However, the types is not coming properly aligned. It looks like it subscribes to the previous array environment. Could you please point out the ...
2
votes
2answers
158 views

How to format a chain of equations using vertical arrows?

Basically, what I want to do is something like where each equation is separated by a space containing a single or double vertical arrow slightly to the left. However, if there is a another ...
1
vote
3answers
73 views

Aligning multiple places in equations using align

My question is simple. I've played around with the & symbol to align my equations neatly under each other, but I just can't get it to look nice. This is the closest I've got: ...
0
votes
0answers
45 views

Why are these Multiline equations not rendered?

Here: $$\begin{alignat}{2} x(t) & = X+v\cos \theta t \\ y(t)& =Y+c\sin \theta t-\dfrac{1}{2}gt^2 \\ \end{alignat}$$ MathJax doesn't renderes it and so ShareLatex.com. Is there any ...
5
votes
1answer
119 views

Display Mode without Math Mode

First I want to apologize if the answer to this question is well known. But after some searching, I couldn't uncover any similar questions. In my document, I would like to feature a regular sentence ...
2
votes
1answer
52 views

How to center an equation at the center of one column in a two-column paper

In a two columns paper, how can I center an equation to the center of one column? Originally, what I have is: \begin{equation} y = ax \end{equation} But this fits the equation to stay, as normal ...
2
votes
2answers
43 views

How to set the equation width to be contained within one colum

I am using a two-column layout in my latex source file, and I have a series of (inequality) equations to show, which I wanted to keep them inside the left column. However, with \begin{align*} ...
0
votes
1answer
40 views

How to keep increasing counters for content that is (optionally) hidden?

I have a framework for creating exercises, where the content of the solution to each subproblem is fed into a \solution-macro, which only displays its content if a global boolean is set to true. What ...
1
vote
1answer
30 views

How to not miss lines using equation enviroment

How can I stop the empty lines being put on - first between the itemization letter and the equation, and then between the two different equation \item \begin{equation} \begin{split} ...
3
votes
2answers
41 views

How can I stop the numbering of equations in the align command

With this code I have numbering of equations: \begin{align} U_{2} = - u_{2}(h) + x_{2},\label{eqn:foca1}\\ Y_{2} = x_{2} + T,\label{eqn:focb1}\\ u_{1}(h) + T \geq u_{1}(h^*) ...
1
vote
1answer
32 views

How do I number the equation as a text? [duplicate]

\begin{align} \mathcal{L}_{\lambda} = u_{1}(h) - u_{1}(h^{*}) + T \geq 0 \text{(foc$\lambda$)}, \label{eqn:foca1}\\ \mathcal{L}_{T} = -1 + \lambda = 0 \Leftrightarrow \lambda = 1 \text{(focT)} ...
4
votes
1answer
51 views

Adjusting the size of round parenthesis in an equation

I am not sure what is the common rule in adjusting parenthesis in equations. Let me illustrate my question by the following example \documentclass{article} \usepackage[T1]{fontenc} ...
1
vote
1answer
37 views

footnote not compiling [closed]

My problem is that I cannot compile the following equation in the footnote: $\sim10^{4} M_{\astrosun}pc^{-3} \stackrel{\sigma=60%}{<} M_{central} \stackrel{\sigma=95%}{<} \sim10^{5} ...
4
votes
2answers
261 views

Missing delimiter (. inserted). error

I'm trying to type up a fairly annoying closed form, and I don't understand why it isn't letting me typeset it. The equation is this: ...
1
vote
1answer
44 views

equation in enumerate environment to long

I have kind of a long math term in an enumerate environment. The problem is, it is too long, so it doesn't fit on the right side of the paper. Is there any opportunity to move it more to the left? As ...
5
votes
4answers
202 views

How to make a multi-line equation fit in a single column of a two-column document

I am trying to suit a formula to a two-column style document using cases in the flalign. It nearly fits if an unnecessary space would not prevent. Is their any option to remove it? ...
0
votes
0answers
44 views

Footnote after equation

Imagine I have an equation $$ x=1+3$$ \footnote{Hello World!} How can I put the number of the footnote right beside the equation? I've tried doing just $x=1+3$ \footnote{Hello World!}, but then the ...
4
votes
2answers
164 views

Huge Fraction that doesn't fit in page

I have a huge fraction that doesn't fit the page. I searched this forum and found only \begin{split}, or align*, etc but I don't think these are what I want. They split equations at signs, but in my ...