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

4
votes
1answer
2k views

How to move the whole block of {align*} to the left?

I use {align*} a lot, it seems that the block of {align*} are automatically centered. How could I move the block to the left margin?
8
votes
1answer
8k views

How to change equation numbering style

Here is my MWE: \documentclass[a4paper, 12pt]{report} \usepackage{amssymb, amscd} \begin{document} \chapter{Test} \begin{table}[h] \center \caption{Test} ...
7
votes
1answer
27k views

using subequations

I have an equation consisting of two parts and would like to use subequation for that. Here's the code: \usepackage{amsmath} \begin{subequations} \begin{equation} \operatorname{min}_{a,b,c} ...
6
votes
3answers
2k views

Left-aligned text inside an equation

Inside an equation-like environment, I'd like to have some text that is aligned to the left margin of the text block, something like \intertext, but in the same line as the equation Something like ...
6
votes
2answers
3k views

Writing steps in an equation

What is the "best LaTeX practices" for writing equations with multiple steps? Feel free to recommend packages that might help. Do these methods work just as well within an enumeration? Here is what ...
6
votes
3answers
452 views

Uneven vertical spacing displaymath

I would like to ask you why we have uneven vertical skips between the first two and last two vectors, coming from the source: \documentclass{article} \begin{document} \[(a,b,c,d,e,f,g,h)\] ...
4
votes
3answers
136 views

Equation numbers are shown in reverse parentheses

I am using \begin{equation} a = b \end{equation} to write the equations in my paper. However, the problem is that the number related to each equation is not shown in the correct format like the ...
3
votes
1answer
209 views

How to put a text label *before* an equation?

currently I have an optimization problem defined in {equation} environment: I want to add a label (P) before equation (6). Currently, I had to use the first line "Optimization problem (P)" as a ...
3
votes
3answers
3k views

Numbering side-by-side equations or inline equations

I am trying to produce a two-column table of math equations, where each cell contains its own left-justified, numbered equation. I tried using \begin{equation} \end{equation} inside the tabular ...
2
votes
1answer
845 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 ...
17
votes
5answers
51k views

How to align a set of multiline equations

I am trying to align a set of long equations, that are themselves align environments as most of them are spreading on multiple lines. Currently I just have a sequence of align environments, with ...
18
votes
2answers
11k 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 ...
16
votes
2answers
705 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 ...
21
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 ...
19
votes
10answers
2k views

What useful web services are out there?

Looking at this question, I wonder what good and useful web services are out there. For example the LaTeX symbol classifier looks interesting. You can draw a symbol with your mouse and get back the ...
17
votes
2answers
715 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} ...
19
votes
2answers
2k views

Colored underbraces for annotating equations

I am trying to implement my previous Powerpoint presentation in beamer. I have a figure like I want to create something like this in beamer. I wrote a equation as follows but I couldn't write the ...
18
votes
2answers
6k 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 ...
18
votes
4answers
971 views

What to do with this hyperref note on amsmath?

http://www.ctan.org/tex-archive/macros/latex/contrib/hyperref/ has this note copied below: amsmath ------------- The environments equation and eqnarray are not supported too well. For ...
17
votes
2answers
4k 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 ...
13
votes
3answers
8k views

How to provide a definition for symbols in a LaTeX math equation?

Say I have an equation: x = R + E What's the best way to provide a definition for R and E? Is there a way to include a line under the equation saying what the variables mean (i.e. a "where" ...
20
votes
2answers
5k 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 ...
10
votes
1answer
2k views

Using braces to label parts of an equation

Given an equation, say Bayes' rule, $P(X \mid O) \propto P(X)P(O \mid X)$ how do I label the different parts of the equation using curly braces?
9
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 ...
10
votes
1answer
620 views

Correct alignment of multiple-line inequality

I want to display a set of inequalities to look like the code below this is the lower bound ≤ this is the thing to be bounded ≤ this is the upper bound My attempt to do this is the following: ...
9
votes
4answers
974 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. ...
8
votes
2answers
6k views

How do I keep a string of text together without it doing a line break?

I'm writing up a long paper, in which in prose I have various equations. However, I do not want a line break to occur within the equation - I want the equation to stick together. I want to do this ...
8
votes
2answers
1k views

Equation numbering problems in AMSMath environments with \pause

I'm writing a beamer presentation, and trying (unsuccessfully) to use \pause to step through a numbered array of equations, with the equations appearing in turn, and the corresponding numbers ...
7
votes
2answers
1k views

Defining a new command for making functional lines / package

As you have probably guessed from the title my mother tounge is not English. Therefore I have no idea if "Functional lines" is the correct term for what I am looking for. Basically I am looking to ...
6
votes
1answer
723 views

Generating a worksheet

My objective is to be able to generate worksheets in categories like: Laws of Indices Simultaneous Linear equations and Quadratic equations When I say generate is to generate for example 20 ...
6
votes
2answers
5k views

Left-alignment like Fleqn-option only for specific equations

I want to left-align some equations. (Note: I want to align the equations themselves, not code inside of the equations.) I have the following example code: \documentclass{scrartcl} ...
18
votes
4answers
749 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 ...
16
votes
1answer
8k views

Multiple Alignment in equations

The following equations need to be aligned in two spots. If I use the align* environment then the second column of alignment is pushed to the right edge of the page. I googled this and saw that ...
14
votes
2answers
2k 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 ...
12
votes
3answers
861 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 ...
11
votes
2answers
3k 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 ...
9
votes
1answer
3k 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 ...
8
votes
2answers
416 views

Highlight and use arrows in an equation In a robust manner

I am trying to give a very simple analogy to what I am trying to do with LaTeX. I simply want to write two vectors, one below or next the other, and then, use nodes to link the last two elements of ...
8
votes
1answer
852 views

Black and white emphasis for \boxed?

I am using \boxed to place emphasis on important equations in an assignment I am typing up, and would like to give the final answer a bit of extra emphasis. I'm using \begin{equation} ... ...
8
votes
3answers
5k 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 ...
7
votes
1answer
1k views

Different space between \align and \equation

Why produce the align and the equation environment different space between the text. And what can I do, that it have the same? \documentclass{article} \usepackage{amsmath} \begin{document} Long ...
6
votes
2answers
856 views

Modifying \everydisplay causes the align* environment to stop working

I want all displayed mathematics in my document to be typeset in the style of inline mathematics. In his answer to this question, Matthew Leingang explains how to do the opposite (typeset all inline ...
4
votes
2answers
1k views

How to label text with equation number?

I'm trying to put equation numbers next to text as if said text was an equation. If I use \text{} in an align* environment, it typesets the text right-aligned and the whole environment centered, but ...
4
votes
2answers
421 views

How can I add size of Tikz drawing into size of equation?

This is slightly modified code from Frédéric's answer to How can I add clips above matrix? \documentclass{mwrep} \usepackage{amsmath} \usepackage{tikz} ...
11
votes
2answers
7k views

Linebreak between \left and \right [duplicate]

Possible Duplicate: How to make \left, \right pairs of delimiter work over multiple lines? I would like to type something like this: \begin{equation} \begin{split} \left( ba ba ba ...
11
votes
1answer
6k 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 ...
10
votes
2answers
845 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 ...
10
votes
1answer
407 views

What would be the appropriate technique for typesetting a “where” list of variable specifications after an equation?

I'm often finding I need to lay out an equation in a manner resembling the following source: \begin{align*} x = y + z \end{align*} where $y = $ the value of $y$; $z = $ the value of $z$. ...
9
votes
1answer
311 views

Spacing issue for newenvironment wrapper of equation environment

If I create a custom environment based on the equation environment, I get a spacing issue: the next line of text after my environment closes doesn't start on the left margin. Example code: ...
9
votes
1answer
2k views

Why doesn't lineno number a paragraph when it is followed by an indented equation?

While searching for the source of missing line numbers, I realized that paragraphs followed immediately by an equation have no line number, but this is fixed when a space is included, e.g. the ...