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

11
votes
2answers
802 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
143 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
667 views

Label variables of equation using tikz without using itemize

I'm trying to use tikz to label the variables of an equation. I know of a similar question (Itemized Equation) but the answer uses itemize to label the variables. I would like to do something similar ...
11
votes
1answer
14k 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
6k 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
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
2answers
6k views

Horizontal Line Separating Steps in Aligned Equation

I have an equation that I'm trying to display with horizontal line separation. The result I'm looking for is similar to this question, but I'm not sure how to apply it to my equation (below). ...
11
votes
2answers
1k views

Text mode commands/symbols in math mode

I am fairly new to LaTeX, and have run into a problem with commands apparently only available in text mode, where I would like to use them in math mode as well (e.g. integrated in equations). One of ...
11
votes
1answer
3k 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
264 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
208 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
17k views

Aligning the right parts in multiple \begin{cases}

Is there an intelligent way to left-align the parts right of & of the two cases environments shown below (if x >= 0, otherwise, if y < 0, otherwise). I wonder if there is a better way than ...
11
votes
1answer
6k views

Vertical alignment of dots in equation

Consider the following example: \documentclass{article} \usepackage{mathtools} \begin{document} \begin{alignat*}{6} 1 && 2 && ...
11
votes
2answers
452 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
2answers
1k views

What's the difference between split and aligned?

I don't understand the difference between the split and aligned environments introduced by amsmath, so I'm posting this question as a place to collect what subtle details there may be. One thing ...
11
votes
1answer
220 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
161 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
4answers
6k 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
3answers
344 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
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
3answers
503 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
2answers
4k views

Using the same number for repeated use of the same equation

I'm a LyX beginner so please don't worry about stating the obvious. I'm numbering equations by section in my document. That's working fine. However, when I refer to the same equation later on in the ...
10
votes
4answers
369 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
4answers
18k views

side-by-side equations, with equation numbers for each

The align command from amsmath allows me to put two equations side-by-side: \begin{align} x = y && a = b \end{align} Unfortunately for my purposes, this shows both equations under one ...
10
votes
4answers
60k views

Bold text and newlines inside equations.

What I'm doing: \usepackage{amsmath} \usepackage{amsthm} \usepackage{eucal} \usepackage{amssymb} \usepackage{mathrsfs} % don't know what some of those do, but i think all the math related ones are % ...
10
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: ...
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
3answers
2k 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 ...
10
votes
4answers
371 views

Depth and height confusion

I create two equations: $x \notin \mathbb{N}$; and $x \in \mathbb{N}$. As it turns out, both have the same depth value: Depth = 0.39098pt Height = 7.5pt Depth = 0.39098pt Height = 6.88889pt ...
10
votes
3answers
6k views

Modify \eqref command

I want to edit the \eqref command so that \eqref will produce Eq. (1), for example, instead of (1). Of course, I could define \newcommand{\reff}{Eq.~\eqref} but then I lose my editor's ability to ...
10
votes
4answers
977 views

Highlighting equation with arrow

I want to create an equation with highlighting as shown bellow. But using following code: \documentclass[10pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} ...
10
votes
3answers
5k 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 ...
10
votes
2answers
3k 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 ...
10
votes
3answers
310 views

Which math environment use to make a table layout?

I'd like to typeset math in table layout, which is stretched to page width e.g.: \begin{flalign*} a)\, \lim_{n\to\infty} \frac{1000n}{n^2+1} && b)\, \lim_{n\to\infty} \left( ...
10
votes
2answers
40k 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? ...
10
votes
1answer
18k views

Left align (to the page) displayed math

How can I left align the display math environment (either $$ or \[)? I keep running into people asking about the align environment; but I just want to change displayed math from center to left align ...
10
votes
2answers
360 views

Tikz figure inside equation with braces that are too large

I'm currently trying to include a tree, visualized using Tikz-qtree and Tikz into an equation. The problem I'm having is that the curly braces are way too large. The code I'm using at the moment is: ...
10
votes
1answer
345 views

How can I add circles and arrows in linear equation systems?

How can I write a linear equation system that uses circles and arrows to indicate what should be added on each line. This is what I have so far: $S = \begin{cases} x_1+2x_2 - 2x_3 = 1 \\ ...
10
votes
3answers
8k views

Uncover a multiline equation with beamer

I am using the beamer class for a presentation and amsmath package for the math mode. If I uncover the formula in the following way, the formula jumps between slides, which is not intended. ...
10
votes
1answer
146 views

Is this a known issue with the centering of eqnarray?

In this example, \documentclass{article} \begin{document} \begin{eqnarray*} A&=&B,\\ C&=&D,\\ E&=&F, \end{eqnarray*} \begin{eqnarray*} A&=&\mathord{B,}\\ ...
10
votes
1answer
11k 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= ...
10
votes
1answer
3k 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 ...
10
votes
1answer
1k views

How to organize labels when there are too many equations?

I'm writing a moderately long text using LaTeX, and it's great to be able to organize chapters, sections, appendices, and everything else almost automatically. One thing has been bothering me though. ...
10
votes
1answer
516 views

Chemical equation with “●” symbol

How to write this equation (the ● is like the +). I'm using {chemist} package for ordinary equations. ROO● + AH → ROOH + A●
10
votes
2answers
975 views

Custom alignment of columns in align environment

I need to typeset two columns of equations, each row typeset with an equation number to the right as with an ordinary equation. The first column must be centered, and the second column must be ...
10
votes
2answers
658 views

Automatically number inequalities

I have a long chain of inequalities and I would like to add some explanation for some of the steps under those inequalities. I have seen people do this like \stackrel{(i)}{\leq}. This is what I would ...
10
votes
1answer
745 views

Bad position equation number Lualatex

If a math display is too wide, then the \eqno appears on the next line on the left instead of on the right as it should. Does anyone know how to solve this problem? This is an example: ...
10
votes
1answer
1k views

How to show work on binary number addition/conversion

I'm doing various operations with binary numbers for my Discrete Mathematics hw and I'm not quite sure how to render it because I need to show my work. This is an image of something I've been trying ...
10
votes
1answer
3k views

Long equation does not page break

I have a series of equations steps, about 20 lines or so. I would like to have it automatically decide page break when necessary, but it resists and always tries to stay in a whole page, rendering the ...
10
votes
1answer
7k 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 ...