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

Labeling equations or the use of subequations

I am using the tabbing environment for a list of 5 related equations. \begin{tabbing} \hspace{.5cm} \= \hspace{.3cm} \= \hspace{3cm} \= \kill \(\mathbf{\Omega}\) \> \(=\) \> \(\Omega\hat{\...
6
votes
1answer
287 views

Additional vertical space in an equation

I have this equation: \begin{equation} \mathbf{S}_o = \frac{ \sum\limits_{i=1}^{N} \left[ \left( \frac{\sum\limits_{k=1}^{J-1} \frac{\| P_k^Q - P_{k+1}^Q \|}{\| P_k^T - P_{k+1}^T \|} }{J-1} \...
3
votes
2answers
88 views

New commands for the equation environment

I'm trying to define a bra-ket command so that I can easily build things like: \langle e^+ | \gamma^\mu | e^-\rangle At the moment I have this: \newcommand{\brak}[3]{ \langle #1 \| \gamma^{#2} \| #...
8
votes
1answer
15k views

Using the flush left align environment flalign

When using the flalign, I either get LHS and the = on te far left and the RHS on the far right. \begin{flalign} x & = & 1 \end{flalign} Or I the equation centers itself when I try \...
1
vote
1answer
407 views

IEEEeqnarray: How can I force the number to follow the sections?

When using IEEEeqnarray, the numbering of the equations starts at 1. I would like the numbering to follow the sections. For instance, an equation in section 1 will go 1.1, 1.2, ... Is there ...
6
votes
1answer
216 views

Is there any more convenient way to insert Math-mode Accents?

Is there any more convenient (concise) way to insert Math-mode Accents? For example is it possible to use a syntax like following: a\^ %instead of \hat{a} a\- %instead of \bar{a} a\~ %instead of \...
1
vote
3answers
483 views

Equation line break up

\documentclass[12pt,a4paper]{article} \usepackage{amsmath}\usepackage{amssymb} \textwidth=16.5cm \oddsidemargin=-0.10cm \evensidemargin=-0.10cm \topmargin=-1.0cm \textheight=24.5cm \newcommand{\...
2
votes
1answer
166 views

$\cos \tau$ need to write in a different way

$$\frac{S \epsilon \text{Cos}[\tau ]}{\sqrt{\lambda }}+\frac{\text{g2} S^2 \epsilon ^2 (-3+\text{Cos}[2 \tau ])}{6 \lambda }+\epsilon ^3 \left(\frac{\left(-\frac{1}{54} \text{g2}^2 S \left(32+19 S^2\...
2
votes
3answers
158 views

Formatting an equation

\begin{align} \frac{1}{2} (1-\varepsilon^2)\left(\partial_\tau \phi\right)^2 = \frac{1}{2} \left(1-\epsilon ^2\right) \left( -\frac{S \epsilon \sin\tau }{\sqrt{\lambda }} -\frac{\text{g2} S^2 \...
2
votes
1answer
99 views

Follow up Question: Label and Reference Equation inside Enumerate Environment

I have seen the answers to How can I center text/math inside a list environment. The accepted solution there, however, does not allow me to reference displayed equations. Another solution given there ...
11
votes
4answers
68k views

Bold text and newlines inside equations.

What I'm doing: \usepackage{amsmath} \usepackage{amsthm} \usepackage{eucal} \usepackage{amssymb} \usepackage{mathrsfs} % don't know what some of those do, but i think all the math related ones are % ...
3
votes
2answers
4k views

Scale down a array contained in an equation - beamer

I have an array inside an equation in a beamer presentation. I tried scaling it down using resizebox but it gives me error : \begin{equation} \label{eq:recursive} \resizebox{\linewidth}{!}{ R_{k+1}(...
7
votes
1answer
11k views

Highlight terms in equation mode

I am trying to add a green box around the first two terms in my equation (beta_0 and b_i). I also want to add a circle around the second term (b_i). Is it possible to do this in LaTeX? My code is ...
1
vote
2answers
122 views

Unable to split a long equation

I want this equation to break into different lines at each of the line breaks indicated below. f = c_{A1}x_{A1}+c_{A2}x_{A2}+c_{A3}x_{A3}+c_{B1}x_{B1}+c_{B2}x_{B2}+c_{B3}x_{B3} \\ + c_{X1}[y_X,(W/S)...
13
votes
1answer
460 views

Equations with comment bubbles

Is it possible to have write equations accompanied with explanatory bubbles and comments? I am familiar with underbracket, overbracket, underbrace and overbrace but I have terms close together and I ...
2
votes
2answers
85 views

multi-alignments, any better solutions?

Please see my questions in the codes: \documentclass{article} \usepackage{amsmath,amsthm,mathtools} \begin{document} I am not sure align at the equal sign is a good idea, it looks weird to me. \...
3
votes
1answer
930 views

Numbering all lines of an array

I know there are already many topics about that but I couldn't find an appropriate answer (most of the time the given solutions are not adapted to my case). Here is my code (some command have been ...
3
votes
2answers
91 views

reshaping an letter in an equation

I need to put a letter under the min symbol in the equation below but i couldn't do it,It now looks like this: and I need it to look like this: \begin{document} \begin{equation} mina\sum^{N}_{i=1}...
1
vote
1answer
178 views

PCA equation problem

I am trying to create the equation shown below but i couldn't, any help ?
3
votes
1answer
60 views

How can I make a page which is no larger than the size of one equation? [duplicate]

I would like to output only one equation, not on a whole page, but document to fit size of the equation. Just like the image output from the codecogs website. How can I do this with LaTeX?
0
votes
1answer
211 views

How to change position of symbols that are moved by transposition sign in equation?

I have equation \begin{align} \textbf{P}(k+1|k) = \textbf{F}(k)\textbf{P}(k|k)\textbf{F}^T(k) + \textbf{Q}(k) \end{align} where the sign of transposition \textbf{F}^T makes second the time symbol (...
0
votes
1answer
229 views

Section numbering of equations without \section [closed]

I want to use the section numbering in the equations like (1.1), (1.2), ... (3.2). But I don't want to use \section command. How can I do this?
3
votes
2answers
1k views

Equation - Defining boundaries

What is a better way or method to define region boundaries. For example, the following piece of code. \begin{align} &2 \pi R\left[q_x-p_x,q_y-p_y\right].&\text{ for, } \left[p\leq Q_0\...
40
votes
4answers
17k views

How can I get rid of indentation after an equation?

I'm a total newbie to LaTeX and I get very annoyed about this. Every time I write an equation, the text following the equation has some indentation but I don't want it to be there! Look at the ...
3
votes
1answer
4k views

How to number an inline-math equation? [duplicate]

I want to add an equation number in a formula, but I've got an error: "You can't use `\eqno' in math mode.". This is my code: $e_{33} = 0 \eqno(4.4)$ How I can fix it?
3
votes
1answer
101 views

Setting \predisplaypenalty to allow pages to have displayed equations at the top

If you're okay with letting pages have displayed equations at the top, what's a good value less than 10000 to set \predisplaypenalty to? I mean a value that allows pages to have displayed equations at ...
1
vote
1answer
318 views

Prevent multiple equation numbers when using \allowdisplaybreak with align

I have a very long equation of the following format \begingroup \allowdisplaybreaks \begin{align} a &= very long expression here\\ + & another long expression here\\ + & another long ...
6
votes
2answers
217 views

Nested begin-math symbols

I am facing a problem while displaying a mathematical expression. The code looks like this : \textit{$f_{1}$} $\succ$ \textit{$f_{2}$} if $\begin{cases} \textit{dz_{f_{1}}} \supseteq \textit{dz_{f_{...
5
votes
1answer
388 views

Aligning a split up equation not at equal sign

I currently have the following equation: \begin{align} \begin{split} \left| \Psi \left( t \right) \right\rangle _{I}^{3}&=-\frac{1}{{{\hbar}^{2}}}\int_{0}^{t}{\hat{H}_{1}^{I}\left( t' \right)\,}\...
2
votes
1answer
2k views

Writing equations with fractions and greek letters [closed]

I'm trying to write this equation below and using the \usepackage{amsmath}, but I'm getting the error ! Argument of \frac has an extra } so I still don't know what I did wrong. And how can I make ...
3
votes
1answer
257 views

Automatic arrangement of equations with comments

This question led to a new package: conteq I am writing a paper with multiple chains of equations or inequalities, with optional explanations. Depending on the size of the equations, I use one of ...
5
votes
2answers
14k views

multiple column align equation environments

Can I get this three column arrangement in the equation environment without using three align environments? The problem I am having is the amsmath error "erroneous nesting of equations" occurs and I ...
3
votes
1answer
551 views

Multiline equation with cases

I am trying to get a system of equations, that will have cases only on some of the equations. I made this: \documentclass[a4paper]{article} \usepackage{amsmath} \usepackage{mathtools} \begin{document}...
1
vote
0answers
199 views

Name of length for equation number indent if [leqno] is set [closed]

I got a weird phenomenon as shown in the picture below. The equation numbering is indented. I tried the same thing in a fresh document and it produces the result I am looking for. For the other ...
6
votes
2answers
118 views

Modify Tag Command

Fairly sure this is something really obvious. Trying to redefine the \tag{...} command via: \let\tagOld\tag \renewcommand{\tag}[1]{\tagOld{#1$^*$}} In other words, it appends an asterisk to the ...
2
votes
1answer
155 views

How to left align an equation, with a brace as left delimiter? [duplicate]

This is my code: \begin{document} $$ \sigma(s,i) = \left\{ \begin{array}{ll} \tau_{si} & \mbox{si } \{s,i\} \in E \\ \infty & \mbox{sinon.} \end{array} \right. $$ \end{document} I ...
7
votes
2answers
356 views

Wrong vertical space in theorem environment closed by an equation

It happens that LaTeX, to fill a page vertically, adds extra spaces around equation environments (and other vertical spaces). Now suppose I have a theorem environment (using amsthm) which ends with an ...
0
votes
1answer
71 views

Equation problems

So I am trying to insert an equation. The output seems to be correct, but I get some error messages. \begin{equation} \centering \label{eg:homogeneity2} \begin{align} H(C) = - \sum\limits_{c=1}^{|...
12
votes
3answers
7k views

Chemistry Equations

I have the following Chemistry equation: 2LiOH(s) + CO2(g) -> Li2CO3(s) + H2O And I have the following LaTeX code: \ce{2LiOH_{(s)} + CO_{2(g)} -> Li_{2}CO_{3(s)}+ H_{2}O_{(g)}} But I ...
1
vote
1answer
233 views

Using split to break a long equation

I am trying to break a long equation over multiple lines. It is here as follows: \begin{equation} \begin{split} L(\textbf{q})=&\prod_{t=0}^{36}{q_{1}^{iB(t)sB(t+1)+iC(t)sC(t+1)}\\ &\quad\cdot ...
5
votes
3answers
127 views

Putting a header above the cases in an equation

This question is best illustrated by an example. Consider the following code Further we can show that \begin{equation*} P_{v}(T) = ...
2
votes
2answers
405 views

How to adjust the blank space between the top of the left curly brace and the contents?

I want to type a system of equations delimited by the left curly brace. And I tried using the \left{ with aligned, and cases, and array, and numcases. But there are some difference between the results ...
12
votes
2answers
5k views

what's a replacement for \lefteqn in the align environment?

I would like to avoid the use of eqnarray. I would like to use the align environment instead. However, I have an equation that I specify currently the following way: \begin{eqnarray} \lefteqn{f(a,b,...
10
votes
1answer
1k views

Automated generation of equation key

I am looking for a way to automatically create the legend for an equation (let's say embedded in the align environment). What I'm currently using is a semi automated to fully manual way. Let me ...
2
votes
4answers
1k views

Putting row of dots in an equation

Is it possible create a system of equations that will look like this: aX(x_0)+bX(x_0)+cX(x_0)=A dX(x_1)+eX(x_1)+fX(x_1)=B ......................... gX(x_n)+hX(x_n)+iX(x_n)=B I tried with this: ...
6
votes
1answer
344 views

Size Math font – Define different sizes for Display and Text Equations globally

I have a rather long document with plenty of maths and equations. As the equations are quite long I have chosen to use 8pt for equations in the display mode instead of the 10pt normal size. \...
3
votes
0answers
87 views

Is it possible to reprint an equation without actually rewriting it? [duplicate]

I have an equation like: \begin{equation} \label{whatever} x+y=1 \end{equation} I want to write it again, keeping the same number. I know I could do the following: \begin{equation} x+y=1 \tag{\...
3
votes
1answer
89 views

Equation and image in a row

I have example (defined as \newtheorem{example}{Example}[section]) and inside I have four-level equation of same size as an image ABC.png that I want to put on the right from the equation. But it is ...
5
votes
2answers
25k views

How to simply center equations using eqnarray*?

So I have this code here: \begin{eqnarray*} x + (y - 2)^4 = w^2 \\ (x - 9)^2 + y_2^2 = w^2 \\ x + (y - 2)^4 = w^2 = (x - 9)^2 + y_2^2 \\ \end{eqnarray*} As you can see, I get the ...
5
votes
1answer
503 views

Annotated equations

I need many of my equations to have annotations stating their domain of validity, or certain conditions for which the equation is true. Preferably, these would be flush right against the equation ...