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

3
votes
1answer
7k views

Problem putting matrix operations in an equation [duplicate]

Possible Duplicate: Errors in matrix equation? I'm trying to use official equation container for the first time, and it's giving me some trouble. I have this equation of a simple matrix ...
3
votes
3answers
986 views

How to vertically center `\begin{equation}…\end{equation}` in a table cell?

How to vertically center \begin{equation}...\end{equation} in a table cell? Minimal Code (I cannot minimize anymore) \documentclass{article} \usepackage{array,longtable,calc,amsmath} ...
2
votes
6answers
119 views

how to write a multi-row equation with a lot of material in each row

\[ \frac{1}{z^p}\left[ f(z)*\left( \frac{z^p - D z^{p+1}}{(1-z)^{2}} + \frac{\beta e^{i\theta}(D-1)z^{p+1}}{(1-z)^{2}}\right) \right] \] \[ =\frac{1}{z^p}\left[ f(z)*\left( z^p + \sum ...
2
votes
2answers
1k views

Break Large Equation Between Parenthesis Using Multline

I have a very large equation that I need to write in multiple lines, but multiline is not working between parenthesis. This is my LaTeX code: \begin{multline} e^{-y \lambda_n} \left( ...
2
votes
1answer
179 views

Numbering equations within dynblocks environment

I'm trying to number an equation inside an environment created for customed blocks with equations like those contained in how to adjust the latex beamer block width to the size of its content?. But I ...
2
votes
1answer
5k views

Exemple block and equations (Beamer) [closed]

I got an error with the exempleblock environment: \documentclass{beamer} \usetheme{PaloAlto} \begin{document} \begin{frame}\frametitle{Title} \begin{exampleblock} \[ t = ...
2
votes
1answer
686 views

why mathtools does not work for showing only equations which are referred to in the text?

I am using mathtools in the following way: \usepackage{mathtools} \mathtoolsset{showonlyrefs,showmanualtags} Then, to refer to equations I use \refeq{equation}. What happens is that there is a ...
1
vote
1answer
72 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
245 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
3k 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
647 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} ...
7
votes
1answer
909 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} ...
41
votes
1answer
6k 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 ...
21
votes
3answers
26k 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} ...
18
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 ...
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 ...
16
votes
2answers
14k 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?
12
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: ...
8
votes
3answers
914 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
1k 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
807 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} ...
15
votes
1answer
4k 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
915 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
247 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
3k 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 ...
9
votes
1answer
652 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 ...
9
votes
1answer
264 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} ...
7
votes
1answer
252 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
812 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
206 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} &= \! ...
22
votes
1answer
426 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
786 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
13k 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
434 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
9k 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
350 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
980 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
13k 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. ...
11
votes
3answers
1k views

Too long equation without splitting

I am writing an equaition which is too long-wide. I don't want it to split. I tried to change the fontsize within the equation enviroment but it didn't work. I am using \documentclass[11pt]{article} ...
10
votes
1answer
636 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: ...
10
votes
1answer
2k 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
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
3k 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
2answers
10k views

How to wrap a long equation in Latex

I have a very big equation and using split or multiline is not helping. How do i wrap it and how do i make sure thatRHS of the eqn is always on the right side of equal to ('=') even when line is ...
7
votes
3answers
388 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 ...