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

12
votes
5answers
6k views

Diagonal strikeout starting too low and ending too high

I want to strikeout an equation with diagonal line but I've not managed to get the diagonal line to draw as I want. The closest I've gotten is via the first example in Frédéric's answer of \cancel ...
12
votes
3answers
8k views

How to increase the spacing between equations in “gather”?

Is there a way to consistently increase the vertical spacing between equation lines in a gather (or gather*) environment from amsmath? Specifically, I want to produce something like \begin{gather*} ...
12
votes
3answers
986 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
3answers
6k 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
2answers
263 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
305 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
1answer
8k 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 ]]?
12
votes
1answer
8k views

Span formula over multiple pages.

I've looked through the search but I couldn't find what I specifically want. I have the following \begin{equation} \begin{split} Very long equation \end{split} \end{equation} Now, I have half a ...
12
votes
1answer
455 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
2answers
4k 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 ...
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} ...
12
votes
1answer
3k 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} ...
12
votes
3answers
581 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
1answer
6k 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
179 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
3answers
359 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
4answers
1k 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. ...
11
votes
4answers
303 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
3answers
31k views

How can I decrease spaces between equations?

\documentclass[12pt,a4paper]{mwrep} \renewcommand\baselinestretch{1.5} \begin{document} \chapter{Test} Text text text text text text text text text text \begin{equation} 1 + 2 + 3 = 6 ...
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
3answers
5k 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 ...
11
votes
4answers
8k 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
1answer
402 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 ...
11
votes
4answers
6k views

abovedisplayskip vs abovedisplayshortskip

What is the difference between these two? http://en.wikibooks.org/wiki/TeX/abovedisplayskip http://en.wikibooks.org/wiki/TeX/abovedisplayshortskip I don't know why, but it seems to work unusually. ...
11
votes
1answer
2k 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 ...
11
votes
4answers
431 views

Equation number for each row of a matrix equation

Is it possible to give an equation number to each row of a matrix equation? How could I have equation labels in the vein of subequation numbers, one for each row of the matrix equation? Here, I'd ...
11
votes
5answers
3k 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? ...
11
votes
1answer
231 views

Strip section number from equation range reference

I am trying to adjust equation range numbering from (1.10)-(1.15) to (1.10-15). By calling this in the preamble: \crefrangelabelformat{equation}{(#3#1#4-#5#2#6)} and then this in the document: ...
11
votes
2answers
732 views

Which is the preferred command for equations in LaTeX?

While browsing some of the older questions I learned that I should not use $$. I also learned that I blamed LaTeX for obscure error messages that can be prevented by using \( and \). I started to ...
11
votes
1answer
133 views

Aligning two fractions in the split environment

I have two equations: \begin{equation} \begin{split} d_1 & =\frac{aaaaaaaaaa}{b}\\ d_2 & =\frac{aaaaaa}{b} \end{split} \end{equation} I want the fraction lines to ...
11
votes
2answers
5k 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} ...
11
votes
1answer
21k 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 ...
11
votes
1answer
12k 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 + ...
11
votes
1answer
2k views

Referencing subequations with cleveref

I try to refer to the parent number of subequations with \cref from the cleveref package. However, I would like to change the output "eq. (...)" into "eqs. (...)" when I refer to parent numbers ...
11
votes
1answer
2k views

Describing steps in an equation

I am always describing the steps on how a formula is achieved or describing the underlying Mathematical principles taken to solve a problem in the align environment. But the descriptions are not ...
11
votes
1answer
261 views

Writing Notes, want my equations organized at the end of document

I'm writing up my textbook notes in LateX. As I am writing paragraphs, I am inserting equations while I'm writing. I want to somehow display all of my numbered equations at the end of my document ...
11
votes
2answers
203 views

How do I make “gather” object, place its self in the text, the same way as an equation object?

Assuming the amsmath package is installed. I found a difference between the way that an equation object and a gather object is embedded within the text. If an equation is beneath a line of text that ...
11
votes
1answer
5k views

Vertical spacing before and after equation environment: empty line or not?

The vertical spacing in front of and behind the amsmath equation environment is different whether I insert a blank line or not (im using KOMA-Script with parskip=half if this is important). I'd like ...
11
votes
2answers
388 views

Equation number enclosing parentheses misplaced with Polyglossia+Hebrew+amsmath

I am compiling the following MWE using XeLatex within TeXnicCenter and get a garbled equation number: \documentclass{article} \usepackage{amsmath} \usepackage{polyglossia} \setmainlanguage{hebrew} ...
11
votes
1answer
208 views

Adding arrows with values over an expression

I'm trying to add arrows to math expressions (especially within limits) to note that there's a value assigned to certain term when solving a limit. I've come across the cancel package and its command ...
11
votes
1answer
159 views

Split up several equations into smaller ones?

I've tried to search for it, but I couldn't seem to find an answer to my question, so here goes. Let's say I'm writing a report of some sort. I'm up 50 pages or so, and at least 100 equations. Then, ...
10
votes
3answers
342 views

“Escaping” Linux kernel version in latex

I'm trying to include a kernel version info (i.e. \texttt{2.6.40.4-5.fc15.x86_64}) in my LaTeX document. However, LaTeX keeps trying to put it into "math-text" ("Missing $ inserted" and so on). How ...
10
votes
4answers
5k views

Coding an equation with description

I want to code this equation in LaTeX: I'd like to know how to code the equation and the description below it with a reference as well.
10
votes
5answers
3k 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} \\ = ...
10
votes
4answers
11k views

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

Which one should I use: \begin{align} or \begin{aligned}?
10
votes
3answers
403 views

Boxed equation with number

My minimum working example: \documentclass{report} \usepackage{amsmath} \begin{document} \begin{center} \boxed{K_{k+1}=P_ka_{k+1}^T(a_{k+1}P_ka_{k+1}^T+I_N)^{-1}} \end{center} \end{document} ...
10
votes
3answers
2k views

How can I number a few equations together

i would like to write few equations, but all the equations will get only once numbered and in the middle (right side) of the equations. e.q. if i write 3 equations, the number will be to the right of ...
10
votes
4answers
359 views

Splitting a formula

What is the best way to split an overlong formula such as the following one to multiple lines: \documentclass{scrartcl} \usepackage{amsmath} \begin{document} \begin{eqnarray} P2‘‘ &=& ...
10
votes
2answers
2k views

How to format Maxwell equations?

Is there a variant of split environment from amsmath package which would allow for two aligned equations in a row? I want to format two pairs of Maxwell equations in two rows and put single equation ...
10
votes
2answers
1k views

Labelled in-line equation

I searched the internet but I cant find a solution for my problem. I want a numbered and labelled equation inside the text.Something like: The equation a+1=b (2.1) does ... The equation a+1=b ...