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

18
votes
4answers
659 views

Inserting/Numbering/Labelling/Referencing several times the same equation written in various form

I'm looking for an automatic way in LaTeX to number a same equation that would be inserted several times (under different forms for instance). The output would look something like: some text x-y=0 ...
17
votes
3answers
848 views

Alignment of multiple variables in a linear system

I am trying to lay out a few linear equations, but with the different variables aligned in columns like this: x + y = 1 } x = 0 y + 2z = 1 } y = 1 x + z = 0 } z = 0 (with ...
17
votes
1answer
21k views

Symbol for Gaussian distribution

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

Add equation name underneath equation number

I am wondering if it is possible (and if so how) to add names to equations just underneath the equation number. I am just using the standard equation environment to display the equation centered in ...
17
votes
2answers
500 views

Equation numbers in outer margins on a two-sided document

I'm looking for a two-sided extension to the solution for this question: Put equation numbers in the sidemargin with Tufte-Latex class This post seems relevant: Equation tag in twoside-mode outer ...
17
votes
1answer
8k views

How can I add left aligned text to an equation?

I have a document I am trying to copy to learn TeX. Here is what I have encountered: How can I have the "or" in the equation. This is what I have right now: \[ f = ma; \] But $a$ is the change in ...
17
votes
2answers
2k 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 ...
17
votes
2answers
660 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} ...
16
votes
3answers
20k views

Show equation number only once in align environment

I want the equation number to be shown only at the last line, or better, somewhere in the middle of all. So instead of (1), (2), ... only (1). I use \begin{align} ... \end{align}
16
votes
5answers
586 views

Giving an equation between \[ \]'s a number

I usually use \[ ... \] to typeset equations in latex and sometimes I come back and realize that I want to have an equation number and label. I have been coming back and editing it to \begin{equation} ...
16
votes
1answer
1k views

Does a tool exist which can take a LaTeX equation and convert it to a format suitable for evaluation in Wolfram's Mathematica?

I use LaTeX to type up my homework, but as I work I often need to pop things into Mathematica (or manually type them in, or manually use my Ti-89, etc) Currently, I've been manually translating ...
16
votes
2answers
3k views

Period after math-mode equation

If I write If $x \rightarrow y$, then $y \rightarrow z$. it looks fine. But if the sentence is more involved and formulas longer, I tend to change $...$ to \[...\]. In many cases I think the result ...
16
votes
2answers
11k 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!
16
votes
2answers
5k views

Alignment of equals sign in multiple align environments

I have multiple align environments in my document, separated by a small paragraph of text: \begin{align*} foo &= something very very long compared to the other align \end{align*} explanation ...
16
votes
1answer
2k views

Aligned equations inside of TikZ node.

How can I create a tree node with an aligned math equations inside? \begin{align} \end{align} doesn't work \begin{minipage}{100} \begin{align} ... \end{align} \end{minipage} Gives a lot ...
16
votes
5answers
3k 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 ...
16
votes
2answers
26k views

Attractive Boxed Equations

I often used \boxed{...} from the AMS math package to place a box around important equations. However, this approach often produces somewhat awkward looking output. Consider \documentclass{article} ...
16
votes
2answers
584 views

Suppress equation number when not refered to [duplicate]

Is is possible to use only equation or align environments without the * and then automatically suppress the equation number if there is nothing refering to that equation? It would make the LaTeX-life ...
15
votes
4answers
795 views

Good typesetting practice for long equations

I have the following (quite horrible) equation in my thesis: \begin{align*} \frac{\partial^2}{\partial t_1^2} f(t_0,t_1) = ( \delta+2t_0+2t_1)^{\alpha( w-t_0+t_1 )-1} \cdot \bigl( ...
15
votes
6answers
532 views

How do I produce an equation of mostly text that is not too long for the page?

So what I want is an equation something like the following: Volume of diluted cell suspension or number of Petri dishes = volume of undiluted X density of undiluted ...
15
votes
2answers
8k views

Multi-page equations — problem

I have a very long derivation, that needs to look like: A = B \\ = C \\ = D \\ etc. The derivation spans across many lines. I'm looking for a way to typeset it so that when it reaches the end of ...
15
votes
3answers
781 views

Guidelines for typesetting fractions

I realize that this question is to some extent subjective. However, I suspect that there are some common standards regarding how fractions ought to be typeset in mathematics. The guide Mathematical ...
15
votes
2answers
340 views

How to remove an unwanted white space at the last end of a horizontal curly brace?

You can see there is an unwanted white space at the last term below. \documentclass[border=12pt]{standalone} \usepackage{amsmath} \begin{document} $ ...
15
votes
3answers
2k views

Exporting all equations from a document as individual svg files

I'm currently a presentation based on a paper originally written in Latex. Currently, I use Kile and Ubuntu for my work. What I'm finding is that I need a large number of the equations from the ...
15
votes
2answers
11k views

One column equation in twocolumn document class

I am writing a paper (revtex4-1, reprint documentclass which I believe uses twocolumn) and need to have a long equation that needs to break the two column format. I've seen answers to this question ...
15
votes
1answer
2k views

What is the difference between \notag and \nonumber in align environment?

I use \notag or \nonumber in align environment but there seems no any difference when display. What is the difference between these two commands?
15
votes
1answer
7k views

Adding line numbers to latex and respecting equations

It's often convenient to add line numbers to a page automatically and the lineno package generally does the trick. But I've had two problems with it It doesn't seem to align the line numbers with ...
14
votes
3answers
1k views

How can I illustrate decimal to binary conversion?

As part of my homework for discrete math I need to convert different decimal values, both positive and negative, to 8-bit binary representations using signed magnitude, 1's complement, and 2's ...
14
votes
9answers
793 views

Looking for a more appropriate version of \cases

Often-times I find myself wanting to write something like, That is, a vertical brace followed by a table consisting of three columns, the first and the last are math, aligned where-ever I like, and ...
14
votes
5answers
1k views

Typesetting math: an optimisation problem (cost & constraints)

I really struggle to align a system of equation for an optimisation problem. It was all ok at the beginning until I started adding the constraint. I've got this code so far: \documentclass{article} ...
14
votes
3answers
510 views

Create \eqref* (\eqref without link, i.e. starred eqref)

I want to create a command \eqref*, which is the same like \eqref, but without a clickable link. There are similar commands for \ref (\ref*) and \autoref (\autoref*) which achieve this behaviour, but ...
14
votes
3answers
1k views

How to make a standalone document with one equation?

I was surprised to find that standalone package can not compile a document with an equation: \documentclass{standalone} \begin{document} \begin{equation} % not working! F(V, T) = E(V) + D(T) ...
14
votes
3answers
2k views

Can I insert an image into an equation?

I would like to use a small image in an equation, where a symbol like \alpha might otherwise be. Is there a nice way to do this?
14
votes
2answers
562 views

How do I show the equation formula again instead of its number of ref?

I have an equation: \begin{equation}\label{eq:equation} f(x)=x \end{equation} I would like to refer to this equation and show the whole formula again, and not only its number. In other words, I ...
14
votes
1answer
5k views

How to reference equations using letters and numbers

Sometimes it is convenient to refer to a group of equations by a letter and a number. For example: 2+1 (A1) 2+4 (A2) x^4 (B3) x^e (B4) Placing ...
14
votes
1answer
2k views

Is there a standard way to refer to a range of equations?

I have occasionally wanted to refer to a range of equations in my document. So far, I've been using Equations~\eqref{firstEquation}~--~\eqref{lastEquation}, which produces something like "Equations ...
14
votes
2answers
4k views

Left/Right across multiline equation

I have a multiline 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 ...
14
votes
3answers
5k views

Aligning across 'aligned' equation blocks

I'd like to format two groups of equations such that all their equal signs line up and such that I can put a big brace to the right of each block to annotate that block. The last part is easily ...
14
votes
2answers
660 views

Is it possible to have a “real” \belowdisplayshortskip?

I think this is a tough one. Have you ever wondered why TeX sometimes produces vertical spacing around equations that is far from satisfactory? An example: \documentclass{article} ...
13
votes
5answers
585 views

How to split a long formula and make it beautiful?

My method: \documentclass[UTF8]{ctexart} \usepackage{amsmath} \usepackage{amssymb} \usepackage{graphicx} \usepackage{epstopdf} \usepackage{inputenc} \begin{document} \begin{equation} \begin{split} ...
13
votes
4answers
290 views

Graphics equations: put text on equations

I have a big question that I cannot solve by myself. I would like to add text on my equations, but I like to have some graphics on those. For instance, I would like to explain why I am doing ...
13
votes
3answers
130 views

Question about the use of cleveref's \Crefrangeformat

I am trying to use the package cleveref to reference to a range of equations. I'd like to have the following result in the text: Eqs. (1)-(5) I want to be able to define the format once, using ...
13
votes
1answer
8k views

What is the difference between \eqref and \ref?

Is there any difference between \eqref and \ref? I used both of them in my document using the package classicthesis and saw no difference in the result. Is there any specific situation in which I ...
13
votes
4answers
433 views

How to move the equation numbers to bottom lines?

\documentclass[preview,border=12pt,varwidth]{standalone} \usepackage[a4paper,margin=1cm]{geometry} \usepackage{mathtools} \begin{document} \abovedisplayskip=0pt\relax \begin{align} ...
13
votes
4answers
4k views

Intertext vertical spacing

How do I reduce the vertical spacing of \intertext?
13
votes
3answers
9k views

Aligned equations in LaTeX

I have a long equation in LaTeX, which I need to break up into more lines. I've done this, although its not quite what I was looking for. Here is a MWE showing my problem: ...
13
votes
2answers
1k views

Image next to Equation

I am trying to make my first LaTeX file and have been reading syntax for a bit and have not been able to figure one thing out yet and don't seem to find anything about it online so I thought I might ...
13
votes
2answers
1k views

Align Equations Over Multiple Tabular Rows

I'm trying to set up a table with some equations in it, however I would like the equations on multiple rows to be aligned properly. So far I have \begin{tabular}{cc} \hline \multicolumn{1}{l}{Header ...
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 ...
13
votes
1answer
190 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 ...