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

9
votes
1answer
3k views

How can I add numbers to specific equations in an eqnarray*?

I know how to use \nonumber or \notag in \begin{eqnarray} \end{eqnarray} environment. But is there something like \addnumber or \addtag in \begin{eqnarray*} \end{eqnarray*} environment ? For ...
8
votes
1answer
137 views

Switch between leqno and reqno options (of amsmath) in the same document

I'd like to know if it is possible switch between the leqno and reqno options in the same document keeping the numbering of the equations. Namely i use the reqno option (default for amsmath and the ...
8
votes
1answer
5k views

Double square brackets

In many equation editors (e.g. MS Word 2007 and Daum Equation Editor), there's a double square bracket. Is there a TeX equivalent for [[, ((, )), and ]]?
8
votes
1answer
2k views

Coloured equation number (without changing colour of reference using hyperref)

I am working on a file where I am using the package hyperref so that the references to equations are linked and coloured. Here is a MWE: \documentclass{article} \usepackage{amsmath} ...
8
votes
6answers
3k views

Setting a single equation in a paragraph in a smaller font

I'm trying to figure out the best way of making a single equation just a little bit smaller. Of course, I could try and break up the equation into pieces and proceed that way, but I'd like to ...
8
votes
2answers
3k views

What are the Open source WYSIWYG Independent Web Equation Editors available on LaTeX/MathML

I am looking for a solution of an Equation Editor to be added to my site. The equation editor should be open source, WYSIWYG (users should be able to type out Equations as if in MS Equation Editor or ...
7
votes
3answers
923 views

A vertically centered equation number on a multline environment

The multline environment does exactly what I want in splitting a long formula between lines by utilizing the horizontal space to the fullest. (I don't want the alignment features of the align ...
7
votes
3answers
3k views

How to use the command \autoref to implement the same effect when use the command \eqref?

For example, the first equation of Section 1 in a tex file is numbered in the form (1.1), When we use the commands \autoref and \eqref for referring it, the compiled pdf file will show Equation 1.1 ...
7
votes
2answers
623 views

Excess vertical space in mdframed ending with display math environment

When the mdframed environment ends with an align there is excess vertical spacing at the bottom. I would like to adjust the MyBoxedEnvironment environment such that the vertical space at the bottom ...
6
votes
2answers
717 views

Changing the formatting of equation numbers

How can I change equation numbering so that the chapter number is outside the parenthesis like this: 1(1) instead of (1.1)
5
votes
1answer
151 views

Set a minimum space above and below displayed math

NOTE: This question is specifically about adding vertical space that increases to compensate for tall symbols. Thus, it is not a duplicate of How can I change the whitespace above and below math ...
5
votes
1answer
109 views

Labeling Multiple Equations Per Row of a Table

I am trying to create a table with two columns of independently labelled equations (1-6). Unfortunately, everything I have found so far either has not worked or would number them as sub-equations (1a, ...
5
votes
3answers
920 views

How to number equations with a list environment

Hi I wish to number equations with a list environment \begin{itemize} \item Lol \begin{equation} y_t=h_t(\hat{x}_{t|t-1}) \end{equation} \end{itemize} I want y_t=h_t(\hat{x}_{t|t-1}) in the same ...
5
votes
1answer
4k views

Different spacing around equation and align

In my document, I use align and equation, depending on the length of the equation. They are spaced differently, as you can see on the picture below. I read that comments in the empty lines would ...
4
votes
1answer
197 views

Add \par only if last paragraph did not end with displayed math

Background: I have named "sections" (sections for rest of this question) which are conditionally displayed or suppressed based on parameters. To simplify the test case below, these are controlled by ...
4
votes
2answers
4k views

Sub-numbering equations within array

I'm using the array environment to give multiple definitions of some value, let's call it x. I can easily get a reference to all 3 definitions together, but I want each one to have its own reference. ...
4
votes
2answers
270 views

Problem with equation format when starting equation with \dot and \ddot

I am having problems with equation formatting inside the equation environment when the equations begin with \dot or \ddot When I write: \begin{equation} \ddot{\theta} + \frac{g}{l}\sin(\theta) ...
2
votes
1answer
99 views

What is the best way to automatically replace $$ … $$ by \[ … \] in multiple files? [duplicate]

Thanks to this great site I've learned that in LaTeX one should always use \[...\] pair for equations typesetting instead of $$...$$. Unfortunately it is too late: I already have a big text with this ...
2
votes
2answers
174 views

Align equations inside tabular

How can I align equations inside tabular? I want to place few lines of equation by side of the picture. But it turns out that I cannot use \& in order to shift equals signs to be one under ...
1
vote
2answers
852 views

Linebreak in equations

I have a very simple LaTeX problem with the following LaTeX fragment: The function computes: \[ e \leftarrow (((x||a) + (y||b)) \oplus y,\\ r \leftarrow x + y \] The result should then be in ...
19
votes
4answers
3k views

How to break a long expression in the denominator of a fraction?

I used the split command to break my equation but I receive the error: ! Missing } inserted. <inserted text> } l. \end {split} The code in .tex file is as follows: ...
16
votes
1answer
11k views

Placing equation numbers on the right

I am new to TeX and am using scribtex to write a maths paper. When I put the followng code, the equation number is automatically displayed on the left, instead of in the right as is usually done. What ...
13
votes
2answers
9k views

Multiple subequation labels in one \ref

I'm trying to write a macro that puts subequations' labels in parentheses in a compact form. For example, if I have \begin{subequations} \begin{align} y - ax &= b \label{subeq1}\\ x^2 + ...
11
votes
1answer
332 views

Text in an equation

This is best explained by example. Suppose I have the following: \[ \begin{align*} C_3 \rightarrow 6 automorphisms\\ C_4 \rightarrow 8 automorphisms\\ C_5 \rightarrow 10 automorphisms ...
10
votes
2answers
2k views

Equations and Double Spacing

If a document (in any class) is double spaced, how do you redefine the spacing around centered equations as if there was single spacing? Whenever I use double spacing, I feel like the space before and ...
8
votes
2answers
218 views

How to align multiple symbols for a long equation?

\documentclass[11pt]{article} \usepackage{xfrac, array, tabu, multirow, graphicx, setspace, dcolumn, tikz} \usepackage[fleqn]{mathtools} %the argument for d specifies the maximum number of decimal ...
8
votes
2answers
698 views

Smartly omit chapter number in equation numbering

In my thesis I use chapters, sections and subsection. I like to have my equations numbered with respect to section, but I want the displayed equations numbers not to include the chapter number. ...
8
votes
2answers
521 views

Equation with Large Matrix Dimension

I'm trying to code this matrix equation below, I'm not an expert in latex, but I've been successful dealing with other matrix equations. However with this one, I can't achieve it. The alignment of ...
8
votes
3answers
263 views

Changing the number of figure or equation automatically in text by changing the places of figures and equations

Is it possible to automatically reference a figure and equations in text? I meant sth like bibliography references. Moreover, by changing the place of the figures or equations relevant figure or ...
7
votes
2answers
782 views

Typesetting double brackets and double parentheses

I need the LaTeX equation with double square bracket and double paranthesis. Can anyone suggest me the proper code? Here, I had attached the screenshots.
7
votes
3answers
2k views

How to split optimisation problem over two lines?

I have this expression involving minimisation. How do I split it over two lines? The problem is \min seems to be separated from the objective function. breqn does not seem to work, as this is not an ...
7
votes
2answers
570 views

How do I format this equation in LaTeX?

I want to write this equation in Latex. Sorry, I don't know what's the specific name of this kind of equation. I know title is so general.
6
votes
1answer
617 views

Equation number too close to my equation

My equation number is being placed directly below my equation, so close they're almost touching and it looks really bad. Is there any way that I can get it to move down a little bit? Here's a picture. ...
6
votes
2answers
292 views

LaTex Error Help- Math Related

I'm trying to make an equation array \begin{eqnarray*} f^{(a)} (0) &=& \frac{a!}{2 \pi i} \oint_{ |z| = \frac{\varepsilon}{r}} \frac{f(z)}{(z)^{a+1}} dz &=& &=& ...
6
votes
1answer
397 views

Equation tag in twoside-mode outer

At the moment I thinking about the following think. When I use the twoside mode to write a book I want to print the number of the equation outer. I can modify it manually with these two commands: ...
5
votes
2answers
180 views

How can I vertically align the numerators of two fractions?

I am writing the following formula: % arara: lualatex \documentclass{article} \usepackage{mathtools} \usepackage{unicode-math} \begin{document} ...
5
votes
1answer
3k views

Automatic equation numbering in LyX

I would like to create automatic numbering of equations in LyX. when I entered \renewcommand\[{\begin{equation}} \renewcommand\]{\end{equation}} for the "equation" environment it worked. However, ...
5
votes
1answer
7k views

aligning split equation

I am new to Latex ;) I split my equation like this: \begin{equation} \begin{split} \tilde{m}=P\tilde{M} \\ \quad = K(R^1R^2R^3t) \begin{pmatrix} X \\ Y \\ 0 \\ 1 \end{pmatrix} \\ \quad= ...
4
votes
1answer
162 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
3answers
5k views

amsmath - multiple labels in one equation

I would like to use multiple labels in the same equation when using amsmath. Basic latex already has this feature, but not amsmath, which seems to manipulate labels in complicated ways. Is it possible ...
4
votes
2answers
898 views

How to make equations, figures and theorems use the same numbering scheme

It was asked a while ago how to make equation use the same counter as a theorem for example and one solution was to make the theorem counter use the equation instead by using ...
3
votes
1answer
83 views

Equations with only text in them

I would like to include equations in my article which have only text in them (in some cases there may be a little math) so that it keeps proper formatting. I tried using \mbox but then the text is so ...
3
votes
1answer
7k views

Latex question “Missing $ inserted

I want to write this simple equation in latex 2/|w| In which |w| is the norm of w,, I tried with \frac{2}{\|w\|} And get error "Missing $ inserted" then I use this ...
3
votes
2answers
371 views

Write this equation

I want to write this equation in this way down but I have been unsuccessful. How can I improve this codes in order to get the equation below? \[ DeltaC{t} = \left\{ \begin{array}{ll} -1.40- ...
3
votes
1answer
90 views

To have nice tabbed text next to equations?

I want I have at the moment by \documentclass{article} \usepackage{amsmath} \begin{document} \begin{subequations} \begin{equation} \omega_c = \sqrt{\omega_{0}^{2} - \mu^{2}}, \mu < ...
3
votes
1answer
238 views

Align all equal signs in the document

Is there a way to align all the equal signs in all equations all over the document? I write a theses (scrbook) and like all equal signs to line up. At least in a chapter if not possible for the whole ...
3
votes
1answer
6k views

Problem putting matrix operations in an equation [duplicate]

Possible Duplicate: Errors in matrix equation? I'm trying to use official equation container for the first time, and it's giving me some trouble. I have this equation of a simple matrix ...
3
votes
3answers
977 views

How to vertically center `\begin{equation}…\end{equation}` in a table cell?

How to vertically center \begin{equation}...\end{equation} in a table cell? Minimal Code (I cannot minimize anymore) \documentclass{article} \usepackage{array,longtable,calc,amsmath} ...
2
votes
6answers
116 views

how to write a multi-row equation with a lot of material in each row

\[ \frac{1}{z^p}\left[ f(z)*\left( \frac{z^p - D z^{p+1}}{(1-z)^{2}} + \frac{\beta e^{i\theta}(D-1)z^{p+1}}{(1-z)^{2}}\right) \right] \] \[ =\frac{1}{z^p}\left[ f(z)*\left( z^p + \sum ...
2
votes
2answers
1k views

Break Large Equation Between Parenthesis Using Multline

I have a very large equation that I need to write in multiple lines, but multiline is not working between parenthesis. This is my LaTeX code: \begin{multline} e^{-y \lambda_n} \left( ...