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

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
10k 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 + ...
10
votes
2answers
528 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
761 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: ...
10
votes
2answers
545 views

equation, equation number and itemize bullet all on the same line

I think the following sample says it all. I need to get the item bullet in the right place on the same line as the equation, and have this followed by an normal equation number. Someone asked the ...
10
votes
2answers
743 views

Horizontal alignment within an equation using Tikz

I am trying to center horizontally the first terms of a system of equations inside the alignat environment. I don't know if Tikz is the right way to go, but as I might have to add some other ...
10
votes
1answer
416 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$. ...
10
votes
2answers
4k 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). ...
10
votes
1answer
623 views

Center over-long equations between both margins

I understand the reasoning behind the fairly narrow textwidth in a default LaTeX article. 60-80 characters per line and all that. However, I am preparing a document that features many lengthy ...
10
votes
1answer
332 views

Double subscript problem

The code \DeclareMathOperator*{\FAggregate}{F} \begin{equation} q_k'(e) = \FAggregate\limits_{a \in R}_a (q_k(S(a))) \end{equation} causes a problem with an additional _a. What I want is the a to ...
10
votes
2answers
424 views

Modify eqnarray to match that of amsmath's align

This is a follow-up question to \eqnarray vs \align. Sadly, some journals (and their accompanying document classes) still require the use of eqnarray to arrange a number of equations in a single ...
10
votes
1answer
4k 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 ...
10
votes
2answers
9k 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} ...
10
votes
1answer
714 views

Automated generation of equation key

I am looking for a way to automatically create the legend for an equation (let's say embedded in the align environment). What I'm currently using is a semi automated to fully manual way. Let me ...
10
votes
1answer
5k 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 ...
9
votes
5answers
2k views

How to subtract two equations?

I am trying to subtract one equation from another but I can't get it to display the way that I want. This is what I have right now. \begin{align*} &y&=2x+5\\ -&&\\ ...
9
votes
5answers
875 views

Mathematica equations to LaTeX but equation is too long, how to split it?

I am new user of LaTeX. I have a problem of splitting long equation which I generate by Mathematica. I tried to use \\, multiline, and split commands but it gives error. Is there way to export ...
9
votes
4answers
10k views

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

Which one should I use: \begin{align} or \begin{aligned}?
9
votes
3answers
27k 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 ...
9
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. ...
9
votes
4answers
284 views

Aligning mathematical inequalities

I want to align the following at the inequality signs, however it becomes very ugly: \begin{alignat*}{2} ...
9
votes
3answers
602 views

How do I typeset a chemical reaction equation? I want to have a long “=”

I am new to LaTeX. I searched ctan.org, but didn't find what I want. I want to typeset a chemical reaction equation. The = mark seems too short. I need a long one. I tried to add an option 2cm to get ...
9
votes
2answers
1k 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: ...
9
votes
2answers
203 views

Equation number in an array

I want to put the equation number at the right for the following code: \[ \log{y_{i}} = \left\{ \begin{array}{l l} y_{2i}^{*} & \quad \textrm{if $y_{2i}^{*}\succ0$}\\ 0 & \quad ...
9
votes
4answers
12k 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 ...
9
votes
5answers
535 views

centering a part of an equation

I am using \vdots in my equation, and I need it to be centered. As shown in the figure it is automatically left indented. I am not able to bring the dots to the center. I am providing MWE also. ...
9
votes
2answers
300 views

How to put a list and an equation side by side

I'd like to get a list and an equation side by side so that I fill the page width better for aesthetic reasons, I've tried the following but doesn't compile: \begin{tabular}{cc} Known values: ...
9
votes
4answers
46k 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 % ...
9
votes
2answers
3k views

Change equation font to Times New Roman?

How would I change equation font in the \begin{equation} environment to Times? For instance, I use this code in LaTeX: \begin{equation} \begin{split} {L_{CML}}\left( \theta \right) ...
9
votes
4answers
301 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 ...
9
votes
2answers
8k views

Horizontal spacing after equation

I have the following snipped in my LaTeX document: \begin{align} \sum_{j=1}^{m}x_{ij} &= 1 \text{ for } i = 1,2,...,n \sum_{i \in P_k}x_{ij} &\leq 1 \text{ for } j = 1,2,...,m \text{; } ...
9
votes
2answers
2k views

Compact collapsing of equations and paragraphs

I want to duplicate the compact look of G. K. Batchelor's fluid dynamics book. Where a paragraph terminates such that the mathematical expression can collapse up into the vertical space of the ...
9
votes
2answers
707 views

A large amount of text below the sum or product sign

I want some advice about how to format it better if I have to write a long text below a $\sum$ or a $\prod$ sign. Basically I want to explain the restriction over which the sum or the product is being ...
9
votes
2answers
5k 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 ...
9
votes
3answers
278 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( ...
9
votes
4answers
360 views

How do I avoid eqnarray?

We have been told to avoid eqnarray and use align instead. The output of eqnarray here: \newcommand{\Prob}{\operatorname{\mathbb{P}}} \newcommand{\tp}{\operatorname{tp}} ...
9
votes
3answers
138 views

what is the correct way to typeset equations with a leading indicator/marker on each

I am using \begin{align*} to typeset set of equations. I want to say that the first one applies to case of dimension [T] (time), and the second for [L] (length) and the third for [M] (mass). I want ...
9
votes
4answers
557 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} ...
9
votes
3answers
119 views

Cases environment without the brace

I want to vertically align one equation against two, similar to the cases environment but without the brace: e.g. similar environment to: There must be another solution to the alignment solution ...
9
votes
2answers
332 views

How to improve the style of this LaTeX line

I have the following line in TeX and my problem is that the backslash is too small and the text under the bigcup becomes very cumbersome: $$ess \ supp(f) = W \ \backslash \bigcup_{\Omega \subset W ...
9
votes
1answer
9k 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} ...
9
votes
4answers
3k views

Word-wrapping page-long polynomials in latex

I know that you can enter multiline equations using the align environment and line breaks (\\). I want to LaTeX multiple polynomials that are very long (up to a page in length, single-spaced and 12 ...
9
votes
1answer
5k views

Systems of equations with a single number

I want to write a numbered system of equations. Right now, this is what I do and I am satisfied with the output, but I have a feeling it's not the best way to do it. \begin{equation} ...
9
votes
1answer
12k 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 ...
9
votes
1answer
3k views

How can I add numbers to specific equations in an eqnarray*?

I know how to use \nonumber or \notag in \begin{eqnarray} \end{eqnarray} environment. But is there something like \addnumber or \addtag in \begin{eqnarray*} \end{eqnarray*} environment ? For ...
9
votes
1answer
147 views

Equation alignment

I'm a little new at this so bear with me. What I intend to get is this: I used the following code to obtain it: \begin{flalign*} \quad f(x) &= e^{x} - x - 1 ...
9
votes
1answer
716 views

Several \begin{equation} \end{equation} in columns

I have 3 elements of the following form (approx ~20 equations for each one) : \begin{equation} \begin{aligned} % LOTS OF EQUATIONS % \end{aligned} \end{equation} How to put display these 3 elements ...
9
votes
2answers
1k views

Avoid addition of spaces when using colorbox in equations

Colorbox adds some spaces when I use it in equations. E.g. in \documentclass[12pt]{article} \usepackage{xcolor} \begin{document} \colorbox{yellow}{${a^2}+b^2=c^2$} ...
9
votes
1answer
4k views

Adjust space between displayed equation and the following text

I often have displayed equations in the middle of a paragraph, so that the following text of the equation does not start on a new line but follows with a space. In such situations, I would like to ...
9
votes
3answers
16k views

Using \gather and \align together

I'm very picky regarding alignment inside my proofs. What's frustrating me right now is that I have some lines that I want to be center-aligned (using \begin{gather}) and others that I wish to align ...