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

23
votes
2answers
3k views

Should one use thousands separators in equations?

I understand that this is not strictly a TeX question but I have recently been asked to correct an equation presented as the first example in the image below to that of the second example i.e., to use ...
41
votes
1answer
6k views

Breaking equations with breqn

I am new to using the breqn package. It looks good, but I get an odd behaviour when an equation can almost fit in the page but not quite: the alignment gets completely wrong. Is there a way to fix ...
2
votes
1answer
866 views

Align number from enumerate with equation

I'm trying to have an equation as the first line of one of my items in an enumerate environment. Example: \begin{enumerate} \item \[ x \] \end{enumerate} I want the $x$ to have the same ...
6
votes
3answers
3k 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
4answers
7k views

Centering split equation

I am quite new to TeX. I want that each line in the following equation be centered, but I cannot find how to do it. \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation} ...
6
votes
1answer
3k views

Of parallel texts, lists and display equations

In previous question concerned about taking notes while reading journal articles, I received an excellent answer proposing the use of parallel, parcolumns, and ledpar packages. However, I have the ...
8
votes
1answer
8k 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= ...
3
votes
1answer
4k views

Equation var with apostrophes?

So I wrote this: $\{m'_{i}\}$ Without success, (I get errors/warning) How do I write the apostrophe in Latex? Thanks;)
17
votes
2answers
735 views

How do I discard a portion of an equation number when cross-referencing?

I am writing a LaTeX document in which I number equations within sections. Thus, in my preamble I have \makeatletter \@addtoreset {equation}{section} ...
68
votes
5answers
157k views

How to break a long equation?

I have a long equation but long enough to occupy two lines. I want to break it to improve readability. How can I break it? \begin{equation} F = \{F_{x} \in F_{c} : (|S| > |C|) \cap (minPixels ...
9
votes
4answers
10k views

Which one should I use: \begin{align} or \begin{aligned}?

Which one should I use: \begin{align} or \begin{aligned}?
3
votes
1answer
823 views

How to change the color of text inside equation environments in Kile?

The default color of fonts and symbols inside the equation environments in Kile is pale green, which is not very pleasant to my eyes... Is there an easy way to change this?
7
votes
1answer
655 views

Change the equation font locally

I want to change the equation font to mathbf in a single equation environment, equation or align. How do I do that? I tried \begin{align} \begin{mathbf} equation1 \\ equation2 \end{mathbf} ...
3
votes
3answers
1k 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} ...
31
votes
3answers
101k views

How do you center equations?

I can't seem to center equations without causing some weird formatting problem. The following results in the R being dropped: \begin{center} E(R_{i,t})=E(\alpha_i)+E(\beta_{i,F_1 } ...
7
votes
2answers
902 views

Is there an addon for thunderbird to render LaTeX equations on display?

I mean, if an email contains something like $\mathcal L = -\frac14 F_{\mu\nu}F^{\mu\nu}$, is there an addon to have this rendered into something nicer to read? Or one to have equations rendered to ...
8
votes
2answers
821 views

Spacing before punctuation in displayed equations

What is the correct spacing before punctuation in a displayed equation? I have the habit of writing Let \begin{equation} y = f(x) \,, \end{equation} where \begin{equation} x = 3 \,. ...
2
votes
2answers
190 views

How Do I Horizontally Center An Operator Relative To Aligned Equations Above and Below

I want to achieve the following effect in a new enviornment I'm defining where the stuff inside what's supposed to be delimeters is a \begin{aligned} \end{aligned} block. \begin{equation} ...
9
votes
1answer
3k views

Placing equation number on left with reqno option in amsart document class

Is there a way to force individual equations to place their equation numbers (or more specifically the result of a \tag*{blah}) on a specific side of the page regardless of the options to amsart. I ...
7
votes
2answers
1k views

multline inside gather?

I have 3 related equations, two of them do not fit on a single line. I want to present them in a gather-environment, but how to do linebreaks inside equations? multline does not work inside gather. ...
29
votes
3answers
7k views

Centering \vdots in a system of many equations

I have a system of equations with an arbitrary number of equations (k). I'd like to use \vdots to compactly describe the system, like so: \begin{align*} R(-1) &= \sum_{i=1}^m A(i)R(i-1) \\ ...
29
votes
6answers
3k views

For formal articles, should a displayed equation be followed by a punctuation to conform to the language grammar ?

For formal articles, should a displayed equation be followed by a punctuation to conform to the language grammar ? For example: The most well-known physics formula is \[E=mc^2.\] %should I put ...
4
votes
2answers
1k views

Complicated alignment within multiline equation

I'm having trouble getting the desired alignment behavior in a set of "sets" that I'm typesetting. I have a bunch of set definitions of the form $$U = \{\text{$x$ $|$ $x$ satisfies some ...
3
votes
2answers
804 views

How to turn equation tags off by default?

I'm writing a document in which very few of the equations actually need tags. So instead of using starred environments, I would much prefer to exchange the meaning of the starred with the non-starred ...
0
votes
2answers
2k views

Trouble with multicol

I'm trying to use multicol to create a formula sheet with two columns. I have specified the use of such columns, and their position, but when I compile they come out one after the other rather than ...
25
votes
1answer
36k views

Symbol for Gaussian distribution

What is the symbol for the normal density function in LaTeX?
23
votes
5answers
3k views

Multicol layout for systems of (linear) equations

How can a similar arrangement be archived (with ams*, aligned, multicol, etc) 1.2.3 Solve the following system of equations: a) x - 2y - 4z = 1 b) -23x + 43y = 22 3x - ...
7
votes
2answers
928 views

Equation environment definition

Where is the full definition of the equation environment? I cannot find it in the .cls files. Is this in latex.ltx? Or something?
3
votes
1answer
2k views

An environment to change the vertical space around a formula

Specially in beamer presentations, I use a custom environment to change the vertical space around a formula. The code is: \newenvironment{shrinkeq}[1] { \bgroup ...
13
votes
2answers
1k views

Two-Headed Arrow Over Formula

I have a quantified formula. I want to show what happens when the order of quantifiers is reversed. To do this, I like to use a two-headed arrow over the formula, like this: Is it possible? I don't ...
62
votes
2answers
13k views

Two letter variable names

In math mode, TeX assumes "hidden multiplication" (so that two variable names put nearby have invisible multiplication between), so that, AFAICT, expressions like $ABC$ are rendered with small ...
6
votes
2answers
233 views

How to get the equation to look in a required format?

I am still new in LaTeX - beginner. How can I have the equation to look like this (the example is shown in ms word): Lexical level: f o x + plural (‘+’ is a morpheme boundary) Surface level: ...
20
votes
2answers
6k views

Is there a difference between the `displaymath` and `equation*` environments?

The amsmath documentation says Basic LaTeX doesn’t provide an equation* environment, but rather a functionally equivalent environment named displaymath. Are they really the same or is there a ...
0
votes
2answers
6k views

\label inside an align environment [closed]

It seems like whenever I use \label{an-label} inside the align environment, and then use to refer to it using \refeq{an-label}, I get the section number instead of the equation number. This does not ...
18
votes
2answers
7k views

Left/Right across multi-line equation

I have a multi-line equation that I want to have matching sized parentheses. The advice I read online was to use \left( equation \right. \\ left. rest-of-equation \right) . However, this syntax leaves ...
12
votes
2answers
4k 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} ...
2
votes
1answer
761 views

why mathtools does not work for showing only equations which are referred to in the text?

I am using mathtools in the following way: \usepackage{mathtools} \mathtoolsset{showonlyrefs,showmanualtags} Then, to refer to equations I use \refeq{equation}. What happens is that there is a ...
8
votes
1answer
752 views

How to centre my display math overfull hboxes?

I have an overfull hbox which I've decided to live with. Actually, several. However, since they're in \[…\], it would look better if they could remain centered, i.e. overflowing the margins equally ...
40
votes
4answers
69k views

How can I change the font size in math equations?

I find that whenever I'm typing some equations into a document, and the equation gets a bit complex (let's say a fraction in a parentheses, squared, inside a square root, inside a fraction), the ...
9
votes
2answers
4k 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 ...
0
votes
0answers
341 views

How do I give an equation a name instead of a number? [duplicate]

Possible Duplicate: Custom equations' names I'd like to label a couple of equations by name, right-aligned, where the (number) would normally appear in the document: how do I do this?
22
votes
2answers
3k views

Table of Equations

I've looked around for this, and haven't been able to find a satisfactory answer; How would one go about producing (automatically) a table of equations, just a numbered list of used equations, ...
17
votes
2answers
15k views

Custom equations' names

Do you know ho can i call a reference to an equation using \ref or \eqref and obtain (name of the equation) instead of the standard counter? Thanks!
51
votes
2answers
4k views

How do I number equations only if they are referred to in the text?

I have a paper where all equations are numbered, but I want to number equations only if they are actually referred to in the .tex file using \ref{}. How can I make that happen? Alternatively, how can ...
4
votes
2answers
3k views

Equation numbers messed up

I'm writing a thesis as a collection of different articles. I'm treating each article as a chapter. The first article has Equations numbering A.1, A.2 etc and the second article has equation numbering ...
7
votes
1answer
5k views

aligning a multiline formula with the bullet of itemize

I would like to use a multiline equation into an itemized list, but such that the bullet of the list is aligned with the first line of my equation. The current code I use is like this: ...
24
votes
3answers
2k views

Getting a tikz picture to have an equation number

I make a lot of commutative diagrams and am trying to switch to Tikz from amcd,diagrams, etc. I often have to refer to these diagrams in the text and would rather have them as equations (i.e. with and ...
16
votes
6answers
5k views

Align two inequalities

I am trying to align two inequlities vertically. The \le signs should have the same horizontal positions and the term in the should be centered. My first attempt: \begin{align*} \sum a &\le \sum ...
10
votes
1answer
2k views

Does amsmath provide any medium to auto-break equations?

I'm writing large equations in texlive with amsmath, and I want them to be automatically broken at the end of the line. Is there any way to do that with amsmath? What would you recommend me to do ...
76
votes
4answers
149k views

How can I split an equation over two lines

I am having the following equation: \begin{equation} Q(\lambda,\hat{\lambda}) = -\frac{1}{2} P(O \mid \lambda ) \sum_s \sum_m \sum_t \gamma_m^{(s)} (t) \left( n \log(2 \pi ) + \log \left| C_m^{(s)} ...