{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
4k 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
758 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
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
4answers
9k views

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

Which one should I use: \begin{align} or \begin{aligned}?
9
votes
4answers
948 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
183 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
952 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 ...
9
votes
3answers
526 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
197 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
10k 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
2answers
263 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
493 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
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
278 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
7k 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
588 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
4k 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
4answers
327 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
2answers
318 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
127 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
410 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
106 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
268 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
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 ...
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
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
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
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. ...
9
votes
1answer
137 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
625 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
13k 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
10k 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
2answers
6k 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
3answers
11k views

List of Equations / Table of Equations

After finding Table of Equations and http://www.latex-community.org/forum/viewtopic.php?f=5&t=428, I set about making a List of Equations for my document. The catch here is that we already have a ...
9
votes
2answers
927 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
309 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
7k 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
1k 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
136 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
3k 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
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
400 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
489 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
260 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
530 views

Hide solution when using xlop

I'm using xlop to display primary school style addition/subtraction/mul/div problems. When using \opadd{1}{2} for example, It will solve the equation. How do you hide the solution so it is suitable ...
9
votes
1answer
1k 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} ...