{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
0answers
8 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 ...
2
votes
1answer
20 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{ ...
3
votes
2answers
64 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 ...
3
votes
2answers
58 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 ...
0
votes
1answer
31 views

Justified alignment for equations

I am writing a IEEE journal paper full of equations and with center alignment the paper looks so messy. I needed to justified align at least those that are coming successively one after another. I ...
0
votes
0answers
27 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 ...
2
votes
1answer
33 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
28 views

Specific Equations in Latex [duplicate]

How could I get that equation?
3
votes
4answers
102 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
42 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, ...
2
votes
1answer
27 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
40 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
24 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: ...
3
votes
3answers
70 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
40 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
33 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
85 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
56 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
94 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
120 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
41 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
79 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
51 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
19 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
24 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
32 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
162 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
26 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
92 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
34 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
49 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
81 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
36 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
36 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 ...
1
vote
1answer
45 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
70 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
73 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
85 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
141 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
64 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
44 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
112 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
49 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
41 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
38 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
30 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)} ...