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

1
vote
1answer
64 views

Multiline equations with one identifier

I have a two line equation, but the following code puts two numbers (e.g. (1) and (2)) \begin{alignat}{2} &E_{peer} = E_{miss} \\ &+ h_{3} \times ...
1
vote
1answer
225 views

Two columns of equations, aligned and just one number per column

I'm writing a two-column document, and I want to display two sets of large equations floating at the top. Each equation set should be aligned within the same column, and only the two top equations ...
17
votes
3answers
2k views

Guidelines for typesetting fractions

I realize that this question is to some extent subjective. However, I suspect that there are some common standards regarding how fractions ought to be typeset in mathematics. The guide Mathematical ...
13
votes
5answers
633 views

How to split a long formula and make it beautiful?

My method: \documentclass[UTF8]{ctexart} \usepackage{amsmath} \usepackage{amssymb} \usepackage{graphicx} \usepackage{epstopdf} \usepackage{inputenc} \begin{document} \begin{equation} \begin{split} ...
41
votes
1answer
5k views

Breaking equations with breqn

I am new to using the breqn package. It looks good, but I get an odd behaviour when an equation can almost fit in the page but not quite: the alignment gets completely wrong. Is there a way to fix ...
17
votes
1answer
3k views

Aligned equations inside of TikZ node.

How can I create a tree node with an aligned math equations inside? \begin{align} \end{align} doesn't work \begin{minipage}{100} \begin{align} ... \end{align} \end{minipage} Gives a lot ...
7
votes
1answer
846 views

Fancy box around equation

I am trying to get my equations to show up like: This is my attempt thus far: \documentclass[11pt,fleqn]{book} \usepackage[top=3cm,bottom=3cm,left=3.2cm,right=3.2cm,headsep=10pt,a4paper]{geometry} ...
21
votes
3answers
25k views

Adding letters to equation numbers

I want to number use a equation and add a letter to the equation number such as: f(x) =a x and g(x) = b x (3.1.1a,b) That is e.g. using \begin{equation} ... \label{eq} ...
17
votes
3answers
3k views

Add equation name underneath equation number

I am wondering if it is possible (and if so how) to add names to equations just underneath the equation number. I am just using the standard equation environment to display the equation centered in ...
16
votes
2answers
13k views

Custom equations' names

Do you know ho can i call a reference to an equation using \ref or \eqref and obtain (name of the equation) instead of the standard counter? Thanks!
14
votes
6answers
2k views

Which equations should be numbered? [closed]

Is the best practice to number all equations, or just those that will be referred to?
8
votes
3answers
848 views

Write more beautiful math equations, like a professional book

I want to write math equations more "beautiful". My equations are shown as follows: The vector looks ugly and disproportionate. And I like that they look it this way: The vector looks ...
5
votes
1answer
938 views

How to draw slope fields with all the possible solution curves in latex

Sorry, I have no code to submit, mostly because I have no idea how to do this. I want to type up my homework (I can do the homework by hand) and I am looking for a simple method that I can use ...
16
votes
5answers
752 views

Giving an equation between \[ \]'s a number

I usually use \[ ... \] to typeset equations in latex and sometimes I come back and realize that I want to have an equation number and label. I have been coming back and editing it to \begin{equation} ...
14
votes
1answer
3k views

Is there a standard way to refer to a range of equations?

I have occasionally wanted to refer to a range of equations in my document. So far, I've been using Equations~\eqref{firstEquation}~--~\eqref{lastEquation}, which produces something like "Equations ...
12
votes
2answers
828 views

\mathrm{} or \mbox{}? What is the convention when writing a equation?

When writing a equation, sometimes we need write letters non-italic. For example, let A be a matrix and its transpose should be A^{\mathrm{T}} instead of A^T. In addition, if a letter does not ...
11
votes
1answer
244 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
3answers
2k views

Why doesn't lineno number a paragraph when it is followed by an “align” equation environment without a space?

lineno skips the line numbering in this case: \documentclass[12pt]{article} \usepackage{amsmath} \usepackage{lineno} \linenumbers \begin{document} Lorem ipsum dolor sit amet, consectetur adipiscing ...
11
votes
4answers
5k views

Aligning plain `align` and `cases`?

The cases environment works very well for enumerating cases within a large left bracket. I'd like to be able to combine it with the align environment so that equals-signs and conditions also line up: ...
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} ...
8
votes
1answer
618 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 ...
7
votes
1answer
244 views

Highlight referenced equation number

I have to give a talk, and I am using a LaTeX paper that I will write onto the blackboard. However, it is quite annoying to write all equation numbers on the blackboard, but I do want to have them all ...
5
votes
3answers
3k views

An equation skip problem — amsmath package and \above/belowdisplayskip

I have been puzzled by a problem about math equation skip for days. I set the \lineskiplimit, \lineskip, \abovedisplayskip and others length macros before and after equations all to zero, but there ...
4
votes
2answers
749 views

Adding labels to a formula

I have a diagram like this, explaining a formula: \documentclass{article} \usepackage{stackrel} \begin{document} $\stackrel[e+f+g+h^i]{a^b}{c d}$ \end{document} For this example, I have removed ...
2
votes
1answer
187 views

Which one is recommended to split, continue and align a long equation?

In my investigation, the outputs are identical as follows. Version 1: Using aligned. \begin{align*} \framebox[6cm]{Top LHS}\\ \framebox[5cm]{Middle LHS}\\ \framebox[4cm]{Bottom LHS} &= \! ...
21
votes
1answer
406 views

Unicode in the equations: pros and cons

Is there any pros and cons for using of Unicode (and vice versa) in LaTeX equations? Consider two examples: \lim_{h→0}∫_{x_0}^{x_0 + h}\frac{f(t)}{h} = f(x_0) x_0 ⇔ ∀ 𝜀 > 0, ∃ 𝛿 > ...
20
votes
1answer
761 views

Highlight equations in a typographically correct manner

I am presenting a model composed of a dozens of equations, some of them requiring a somewhat lengthy derivation. The equation that continue the actual model appears progressively along the derivation ...
13
votes
2answers
12k views

Use of \small in the equation environment

My equations are a little too large for the normal eqnarray environment, so I've been using the \small delimiters around the \begin{eqnarray} ... \end{eqnarray}. Unfortunately, this causes the the ...
9
votes
2answers
401 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 ...
8
votes
2answers
8k views

How can I box multiple aligned equations?

This question is two-fold. In my document, I currently have boxes around single equations like so: \documentclass[11pt]{article} \usepackage{amsmath} \begin{document} \begin{equation} ...
7
votes
1answer
312 views

Image equation to TeX

Is there a tool for exporting equation images to TeX? Probably something related to OCR. I have a lot of image-equations in a word document that I'd like to convert to TeX. Note that the equations ...
25
votes
10answers
1k views

Best typesetting of formula

Consider the following example. \documentclass{article} \usepackage{amsmath} \newcommand*\mathsetfont{\mathbf} \newcommand*\DeclareMathSet[1]{% \expandafter\newcommand\csname ...
25
votes
3answers
967 views

How to avoid widow lines after displayed equations

If a displayed equation is close to the bottom of the page, TeX likes to insert a page break even if the current paragraph contains only one more line after the equation, as e.g. in ... it follows ...
16
votes
1answer
8k views

Adding line numbers to latex and respecting equations

It's often convenient to add line numbers to a page automatically and the lineno package generally does the trick. But I've had two problems with it It doesn't seem to align the line numbers with ...
13
votes
1answer
12k views

Change the type of equation numbering in document class article [duplicate]

Possible Duplicate: Continuous v. per-chapter/section numbering of figures, tables, and other document elements I have written my thesis in document class 'article' (don't ask me why). Now ...
12
votes
3answers
1k views

How do I obtain multline-type alignment within a group of equations?

I want to achieve something like the following (for now achieved using Microsoft Paint): That is, I want to group a number of multi-line equations within a single equation-type environment (i.e. ...
10
votes
1answer
608 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: ...
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 ...
7
votes
2answers
2k views

How to align terms in alignat environment

These are my math equations. To enhance readability, I'd like the third column to be aligned around the + sign; that is, I wish to place some horizontal blank in front of $n\mathbf{A}_0$ (not ...
7
votes
3answers
373 views

Highlight equations by temporary changing the formatting of their number

I am writing a long paper having 100+ equations, and want to highlight a few key equations. Since the journal won't let me use boxes around equations, I am trying to have their label being typeset ...
7
votes
2answers
5k views

How to place and number 3 short equations in one line?

I have 3 short equations which consume much vertical space, if each one is typeset in a separate line. How can I typeset them in one line in a "mathematically correct" way? I do not necessarily need ...
7
votes
3answers
980 views

Diagram displayed as an equation

Sorry to ask a direct question like that but: how can you do that ? Is it a complicated use of align ? Is it really and equation (mathmode) ?
6
votes
2answers
151 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 ...
6
votes
1answer
149 views

Equation summary

I am writing a book for my students and I wish, at the end of each chapter, do a summary of all important equations from that chapter (with its equation number, actual formula, and a little ...
6
votes
1answer
1k views

Centering xymatrix in equation environment

The xymatrix diagram does not seem to vertically align when grouped in an equation environment. For example, this code produces the following image (which seems to place the xymatrix 2.5em lower than ...
5
votes
1answer
301 views

Annotated equations

I need many of my equations to have annotations stating their domain of validity, or certain conditions for which the equation is true. Preferably, these would be flush right against the equation ...
5
votes
1answer
367 views

Adjust equation numbering indent relative to a \newenvironment

I was working on a new environment for the examples I explain for my lecture notes (fancy environment), but when I create an equation using the equation environment within my newly created example ...
5
votes
3answers
1k views

Crop equations with preview package

Is it possible to avoid left space from equations previewed with preview package? \documentclass{minimal} \usepackage{amsmath} \usepackage[active,tightpage,displaymath]{preview} ...
4
votes
1answer
137 views

More than one nomenclature/acronyms list in the document

I would like to have more than one nomenclature/acronyms in my document: Below every equation At the beginning of the document a complete nomenclature of all symbols used. Do you know whether it ...
4
votes
2answers
103 views

How to number two equations as one

\begin{align} ...