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

9
votes
2answers
189 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
2answers
237 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
3answers
351 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 ...
9
votes
2answers
2k 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
260 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
6k 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
1k 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
5answers
4k 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 ...
9
votes
2answers
471 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
3k 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
2answers
291 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
3answers
116 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
296 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
101 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
3answers
258 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
1answer
72k views

How to left align a set of equations.

I wanted to left align a set of equations. I've tried the solution provided in aligning to the left. It worked. But, I wanted to have a single equation number for the entire flalign in order to refer ...
9
votes
4answers
8k 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
1answer
1k 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 ...
9
votes
2answers
197 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: ...
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

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 ...
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
123 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
535 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
3answers
11k 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 ...
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 ...
9
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
2answers
5k views

Mixed (sub)equation numbering within an array

I am trying to use subequations inside an array environment. Specifically, I am trying to create an array that has both regular numbered equations and subequations. I am looking to create an array ...
9
votes
2answers
863 views

Changing the font for equation numbering

I know that I can change the font for the equation numbers by redefining the \theequation command by, say, \renewcommand{\theequation}{{\sffamily\arabic{equation}}} I am wondering if there's a ...
9
votes
1answer
265 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
6k views

Error in align environment - runaway argument? [duplicate]

Possible Duplicate: Blank lines in align environment \documentclass[12pt,a4paper]{article} \usepackage[version=3]{mhchem} \usepackage{siunitx} \begin{document} \begin{align*} \ce{K_a} ...
9
votes
1answer
922 views

\overbrace split accross multiple lines

Is there a way to split the overbrace so that it appears in two halves over a multi-line equation. Something like /-----------Overbrace Label---- Equation over which to place ...
9
votes
2answers
2k views

Override default equation numbering in Beamer?

I need to override the default equation numbering behavior. I want the numbers next to equations in my Beamer slide presentation to match with the numbers of the same equations in my paper. so ...
9
votes
2answers
97 views

Incorrect reference to the equation number in algorithm2e

I want equation number in an algorithm with chapter number included. Here is my code. \documentclass{book} \usepackage{amsmath,amssymb,amsthm, latexsym,float,epsfig,subfig} ...
9
votes
2answers
2k 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} ...
9
votes
1answer
1k 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 ...
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 ...
9
votes
2answers
289 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 ...
9
votes
2answers
372 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 ...
9
votes
1answer
250 views

How to improve the looks of a fraction?

We may notice that the numerator and denominator in the following fraction are not aligned. And, to me it does not look good. How to align the numerator and denominator? \documentclass{article} ...
9
votes
1answer
817 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} ...
9
votes
1answer
608 views

How can I an place a figure next to an equation?

I'm new to LaTeX. This is my first script, an exercise. I'm try to place a 4 figures (SCfigure) I already charted with KmPlot next to its correspondent equations, but they always appear on the next ...
9
votes
2answers
147 views

Cleveref: Parentheses around references to subequations using \labelcref

Using the Cleveref package (v0.19) i have a problem with missing parentheses when referencing to subequations, using the \labelcref command. Here is a MWE: \documentclass{article} ...
9
votes
1answer
797 views

One-line equation with two columns

I try to write an equation with two similar formulas, i.e. \begin{equation} \qquad A_1 = B + C \qquad A_2 = D + E \qquad \end{equation} Of course, instead of \qquads I want to use something like ...
9
votes
1answer
3k views

Extra vertical space between aligned equations in ConTeXt?

In LaTeX, I can use \\[3mm] for example, to put extra vertical space, if I think it will improve the readability of displayed, aligned equations. And in fact I find I do this quite a bit. But what ...
9
votes
1answer
8k 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 ...
9
votes
1answer
2k 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 ...
9
votes
2answers
495 views

How to create an equation library, to be called like bibtex?

I am newby in LateX, but I want to create an stand alone document to be used as a equation library where I can select my equations by calling them by name, and finally produce a list of equations used ...
8
votes
4answers
3k 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.
8
votes
4answers
1k views

Most Efficient Way of Creating Left Aligned Item/Equation List

What is the best way to achieve a list where items are seamlessly aligned either left, centered, or right. I am more so interested in the items being left aligned, (for instance a series or (system) ...