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

13
votes
4answers
1k 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
2answers
48k views

How do you make numbered equations in latex?

I would like to put in a code that automatically assigns a number to the equations in my documents preferably aligned on the right hand side. How can I go about this? ...
13
votes
2answers
253 views

Automatically replace environment align by equation+aligned combination

I would like to automatically replace the align environment by an equation + aligned combination. Specifically, whenever \begin{align} occurs, it should automatically read it as ...
13
votes
2answers
3k views

Displaystyle fractions in a system of equations

I'm trying to define an environment to use with equations' systems. So far, the best solution was \newenironment{eqsys}{\begin{equation}\begin{cases}}{\end{cases}\end{equation}} but I noticed that ...
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
35k views

Multiline equation without number

I am trying to have a multiline equation without any numbering, even not in the last one. \begin{align} a = x \nonumber \\ b = y \end{align} However, this is producing a line number in the last ...
13
votes
1answer
428 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 ...
13
votes
1answer
164 views

How can we detect that we are right after display math mode? (for vertical spacing)

I need a "\smartmedskip" feature/macro in plain TeX which is in usual identical to \medskip, however, if we are right after display math mode, then it should be just "disabled", i.e. it should then ...
13
votes
2answers
5k views

Increase spacing in split environment

I'm writing long equations with the split environment: \begin{equation} \begin{split} ... \\ ... \\ ... \end{split} \end{equation} The problem is that the single lines are a bit high, and there is ...
13
votes
2answers
535 views

Which packages/practices are relevant for writing Structured Derivations? (similar to Dijkstra's calculational style of proofs)

Does anyone know of any packages that support this style of writing proofs? The only things that I've found are: tex-ewd, a bunch of plain TeX macros on CTAN written specifically with Dijkstra in ...
13
votes
1answer
4k views

Multiline \text in an equation

There are a number of possibilities to have multiline equations, but I am looking for multiline \text{...} elements. For example: \documentclass{article} \usepackage{amsmath} \begin{document} ...
13
votes
1answer
910 views

Put equation numbers in the sidemargin with Tufte-Latex class

In Tufte-Latex all captions etc. are in the side margin. I want to put the equation numbers there as well. Is it possible to do this?
13
votes
2answers
14k views

A lateral brace to group a set of equations with labels

I have a set of equations that I'd like to display together (as an example, the Maxwell's equations). Requirement #1: I'd like to have them labelled like in an align environment \begin{align} ...
13
votes
3answers
685 views

Displaymath environment that can align equations and squeezes math

I have a long equation to align. Without squeezing the math, it is just barely longer than \textwidth. However, the align environment doesn't squeeze the math at all, which results in a badbox. ...
12
votes
4answers
2k views

Align denominator of fraction to left

The highlighted part has the equation centred, which looks rather imbalance with the top equation, is it possible to align the highlighted part to the left? Below is the code I am using. ...
12
votes
2answers
11k views

How to place and number 3 short equations in one line?

I have 3 short equations which consume much vertical space, if each one is typeset in a separate line. How can I typeset them in one line in a "mathematically correct" way? I do not necessarily need ...
12
votes
3answers
11k views

To write this norm equation better?

I have this norm \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation} \lVert f \rVert_{L_{2}(\Omega)} = \text{sup}_{ \begin{cases} v \in L_{2}(\Omega) \\ v \not= 0 ...
12
votes
2answers
863 views

How to draw a double-ended arrow between the numerator and denominator in a frac inside a sqrt, and an arrow labeled by an otimes pointing to that?

Here's what I have, and I've hand drawn what I seeking: I'm after (a) a double-ended arrow with the two ends pointing to the numerator and denominator of a fraction under a square root, and (b) an ...
12
votes
2answers
432 views

diagonal text in math mode w/ vertical equality

The goal is a code where one can label elements in math mode in the following way: without having to manually position each letter of each word as a node in tikz. Preferably, other than the stacks ...
12
votes
4answers
7k views

Aligning plain `align` and `cases`?

The cases environment works very well for enumerating cases within a large left bracket. I'd like to be able to combine it with the align environment so that equals-signs and conditions also line up: ...
12
votes
3answers
912 views

Replace the `$$ … $$` macro with the `\[ … \]` macros? - Prefer the way LaTeX lays it out, but `$` are faster to write

Is there a way to replace the $$ ... $$ macro with the \[ ... \] macros? (and replace inline mathmode as well) I realised the only way I can write the \sum_{i=1}^{10} t_i is between the \[ ... \] ...
12
votes
2answers
2k views

How do I produce Theorems and equations which are numbered by hand?

I'd like to be able to write a LaTex document with numbered theorems and equations, but I would like not to have them numbered automatically, but rather put in by hand. Ideally, I'd like to be able ...
12
votes
3answers
22k views

LaTeX locally change equation numbering

I want my document to look like this: Normal document text. equation (1) Definition Definition text. equation (D1) More definition text. Normal ...
12
votes
3answers
14k views

How to draw the calculation of a determinant?

I'm trying to reproduce the following calculation of a determinant in latex: Any ideas? I thought of using the tabular environment but unfortunately I'm not able to align the "=" correctly.
12
votes
2answers
346 views

TikZ figure inside equation?

I was wondering if it is possible to have a TikZ graphic inside an equation, to produce something similar to
12
votes
3answers
19k views

How can I box multiple aligned equations?

This question is two-fold. In my document, I currently have boxes around single equations like so: \documentclass[11pt]{article} \usepackage{amsmath} \begin{document} \begin{equation} ...
12
votes
2answers
8k views

Putting equations in \intertext to annotate a proof

I'm trying to typeset a proof with Latex. When I do proofs, I like to alternate between a line of text, to explain each step, and the resulting equation. I also like to have the equations align at the ...
12
votes
3answers
1k views

polytopes as inequalities sistem solutions in R3 (x-y-z) cartesian space

i'm here to ask if there's a TikZ/pgf support to draw areas resulting from a system of linear inequalities, into a xyz cartesian space. i found examples of my needs for xy plan at How to plot polygon ...
12
votes
1answer
3k views

Blank lines in align environment

Is there a way to insert a blank line between two equations in align environment? From what I understand a blank line is interpreted as \par and \par is not allowed in align. Can I disable this ...
12
votes
1answer
206 views

When is `\[` preferred over equation* environment? [duplicate]

When is it preferable to use \[ instead of equation*? I find I often use the equation* environment in the following way: \begin{equation*} some expression \end{equation*} Should I instead be using ...
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 ...
12
votes
5answers
4k views

Moving the equation number up

In what's below, the equation numbering is annoying and forcing it to move up would be a solution. Anyway what are your suggestions to fix this without modifying the equations? ...
12
votes
2answers
331 views

Input manually a number into \eqref

Often while writing papers I find the need to cite particular equations from other papers. For example, the landmark paper by Einstein, Newton, and White (2015) lays out the theory of everything in ...
12
votes
4answers
331 views

How can I nicely show an absolute value with the “divides” function, |?

Right now, I am using \lvert,\rvert, and \mid to display \documentclass[border=3pt]{standalone} \usepackage{amsmath} \begin{document} $\lvert x \rvert \mid y$ \end{document} Is there a better ...
12
votes
2answers
8k views

Change appearance of equation numbers locally

In the MWE below, I would like to have the equation numbers in the Chapter "Appendix" (but only there!) being displayed as follows: (A.1), (A.2), (A.3) ... \documentclass{book} ...
12
votes
1answer
483 views

How can I extract equations from one document for use in another?

I have a LaTeX document that includes many equations. I would like to create a separate "quick reference" sheet that includes many of these equations. Instead of copy-and-pasting the equations from ...
12
votes
1answer
92k views

Align equation left

Here is my split equation: \documentclass{article} \usepackage{asmath} \begin{document} \begin{equation} \begin{split} a_{ijk} =& \frac {Pr(M_{I} =2 \& M_J=1 \& M_K =1 | I=i , J=j , ...
12
votes
1answer
10k 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 ...
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} ...
12
votes
1answer
15k views

Beamer - Uncover within Equation Mode

I have an equation and I would like to uncover part of it at a time. Take y = 2x + 3. \begin{equation*} y = 2x + 3 \end{equation*} I would like to uncover the 3 \begin{equation*} y = 2x + ...
12
votes
1answer
7k views

LaTeX in CorelDRAW

What is a good way to get LaTeX formulas into CorelDRAW figures? I will provide a solution below, based on a rather old macro adapted to work on 64 bit systems as well as 32 bit - it works well, but ...
12
votes
1answer
200 views

First reference to equation underlined

In these days I'm writing at my Bachelor's Thesis and I've got a new problem. I have to underline the first reference to figures, tables and equations. By searching in the Internet I've already found ...
11
votes
5answers
7k views

How to align the equal signs in this equation such that the first line and last 2 lines align

so I have an equation below. My latex code for it is: \begin{align*} CoJPoD_{ \{I_1, \cdots, I_{k-1}, I_{k+1}, \cdots, I_{n}\} | I_{k} } = CoJPoD_{ \{system \backslash I_{k}\} | I_k} \\ = ...
11
votes
3answers
390 views

Alignment in math equations

How can I align my equations as in the image below? I know \begin{equation} \begin{split} x_1'(t) &= x_1(t)+2 x_2(t) \\ x_2'(t) &= 3 x_1(t) \end{split} ...
11
votes
3answers
13k views

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

Which one should I use: \begin{align} or \begin{aligned}?
11
votes
4answers
327 views

Curve Integral typeset problem

I would like typeset equation on the figure below: I've tried code: \begin{equation}\label{fyz:eq_fey_curveint1} \Psi(2)-\Psi(1) = \begin{array}{l} ...
11
votes
4answers
3k views

Writing an equation with the units positioned off right

Okay so I have a have a lot of equations in the document I am writing and I am trying to display the units of an equation off to the right. I was wondering how I can achieve this? Right now, all I ...
11
votes
3answers
1k views

Too long equation without splitting

I am writing an equaition which is too long-wide. I don't want it to split. I tried to change the fontsize within the equation enviroment but it didn't work. I am using \documentclass[11pt]{article} ...
11
votes
4answers
11k views

How to show two groups of equations side by side: one implies the other?

I would like to show a bunch of equations can imply another bunch of equations, with double right arrow in between. Here are two trials of mine: one is to use another level of math mode to enclose the ...
11
votes
3answers
2k views

Writing equation in LaTeX: some part are mysterious to me :)

I would like to write in LaTeX two equations: and I do not know how to do that...Particularly, how to write stuff underneath the max function. And also how to have this line over Wi or Wj. PS: ...