{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
18 views

Stairs-like multline

The multline environment alignes the first line to the left, the last one to the right, while all the lines in between are simply centered. The result sometimes looks not satisfying, for example, when ...
5
votes
3answers
210 views
1
vote
1answer
57 views

LaTex Error: Environment equation* undefined

I am trying to work on a Poisson problem (BVP) which looks like the pic above. However, when I executed my codes as below, the compiler showed that "LaTex Error: Environment equation* undefined." ...
8
votes
3answers
14k views

Big \sum instead of small \sum in array environment

\begin{align*} \begin{array}{c} \min \: A = \min \: \sum_{i\in B} C_i \\ \ \min \: D = \min \: \sum_{i\in B} \pi_i \cdot F_i \end{array} \end{align*} How can I get i \in B below the \sum symbol ...
3
votes
2answers
43 views

Align definition of variables of an equation right (not next to the equation)

this question has been asked before but I never saw a "perfect" solution for this problem. I use the equation block for my equations and I want the definition of the variables to show at the right, ...
12
votes
3answers
4k views

Big forward slash in math

I have a equation in from of a=VERYBIGSTUFF / VERYBIGSTUFF And I would like to have a "verybig" forward slash in the middle of them. I dont like \frac mode, as I would like to have them ...
2
votes
3answers
73 views

Shrinking or splitting some equations in a group of equations

I have a group of equations, such as /begin{gather} Eq1 // Eq2 // Eq3 // Eq4 /end{gather} Unfortunately, some of the equations in the group are too long to fit on the page. For equations that are ...
2
votes
0answers
9 views

Tikz \pmb results in 2 overlapping letters [duplicate]

For some reason, there seem to be 2 overlapped images of letters inside \pmb{} of the tikz draw feature. Here is a MWE \documentclass[11pt]{article} \usepackage{amsmath} \usepackage{tikz} ...
7
votes
2answers
256 views

How do I color one line of a display equation?

I want to color only one line of this display equation: \begin{align*} i_{fb} &= - \frac{v_o}{Z_F} \\ F(s) = \frac{i_{fb}}{v_o} &= - \frac{1}{Z_F} \\ \color{red} F(s) &= - \frac{1 + ...
3
votes
3answers
113 views

Aligning 3 equations with cases and equation number

in the equations shown below I would like to have the 'if' texts aligned - right now this does not work due to the use of three independent array environments. Thanks!! Here is the code to ...
0
votes
1answer
13 views

Break up long equation with square brackets into multiple lines

I'm having trouble splitting the portion of the equation within square brackets into two lines. How can it be done? \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} \ ...
0
votes
1answer
54 views

Compile equations used in a document to an equation sheet?

I am trying to find a way to take all of the numbered equations in my document (i.e. anything inside an equation environment) and automatically generate an equation sheet appended to the end of the ...
2
votes
1answer
39 views

Undefined control sequence. …\infty} F{_i} \right ) = \sum_{i=1}^{\infy Underfull \hbox (badness 10000) in paragraph Command \' invalid in math mode

What's wrong \begin{equation} H^{s}\left ( \bigcup_{i = 1}^{\infty} F{_i} \right ) = \sum_{i=1}^{\infy} H^s(F_i) \end{equation} Undefined control sequence. ...\infty} F{_i} \right ) = ...
1
vote
1answer
21 views

multiple subequations same line with reference compact

I posted a question earlier, multiple subequations same line with reference But I'd like to be able to combine the numbering at the end of the line for the following two cases: Re = UL/nu , Ha = BL ...
0
votes
1answer
33 views

Putting text next to an equation without moving the equation to the side

I want to write something like: \begin{equation} f(x)=y \quad \text{(This is the equation lala)} \end{equation} But this essentially moves the equation out of the center. I don't want the equation ...
1
vote
1answer
24 views

Aligned multiline equations

I'm using an align environment in a long derivation. Each equality is aligned at the equal sign. Individual lines are too long to fit the page, so I need wrap them. However, I don't just want them to ...
2
votes
1answer
19 views

New gather and equation environments with a single counter

So I've created a new equation-style environment with an associated counter to track a certain set of definitions I introduce in my document: \newcounter{defcounter} \newenvironment{defeq}{% ...
8
votes
2answers
586 views

Change the size of only a part/subset of a single equation

For example, I'd like to do: $Q^{r<1}$ but with the r<1 having a much smaller font size than the Q. Of course r<1 will naturally have a smaller size since it is a superscript, but I want ...
2
votes
1answer
43 views

parbox vertical alignment after brace in equation

In the code below, I am trying to center the parboxes vertically, relative to the braces. I have been playing around with the position argument, to no avail. Can you help me with this? Thanks in ...
3
votes
1answer
26 views

How can I label an equation as (*) [duplicate]

Here is the code which has an equation in the form of \[... \]: \documentclass[12pt]{report} \usepackage{braket} \usepackage{amssymb} \usepackage{amsmath} \begin{document} \textbf{Proof-} Every ...
266
votes
8answers
23k views

Why is \[ … \] preferable to $$ … $$?

I've heard that you should use \[ ... \] for displayed equations instead of $$ ... $$, but why is that? I'd assumed that it's so that you can more easily tell which are starting and which are ending ...
7
votes
2answers
64 views

French equation numbering using bis, ter, etc

As a corollary to my other Question "French section numbering using bis, ter, etc", I am looking for a way to number equations by appending "bis," "ter," and other latin suffixes after the equation ...
2
votes
2answers
52 views

How to adjust multiple equations in a single line in latex?

With reference to following figure, I want to adjust the last line (which has two terms) after the block of three equations inside aligned structure, so that all equations appear in a single line ...
4
votes
2answers
41 views

label doesn't work inside gather*

I am successfully using gather* to centre align my groups of equations. However, if I do: \begin{gather*} \rho=a*b \\ \alpha=2*\rho. \label{eqn_one} \end{gather*} It shows two ...
0
votes
0answers
18 views

Writing out arithmetic steps [duplicate]

I'm doing a quick blurb on binary arithmetic and I'd like to do an align sort of thing to display the steps in one nice diagram. The code I have currently is: \begin{align} 1001& \nonumber \\ ...
4
votes
3answers
34 views

Howto place footnote next to equation

Consider the following fragment ... To fulfil this requirement, $y_\infty$ is set to the lowest value of $y\left(\tau_\text{max}\right)$ and $-\max\left|y\right|$ multiplied by ...
2
votes
1answer
90 views

LaTeX equation is always on one page

I have a very large equation of the form \begin{align} I(a,b) &= \int_{[a,b]} x^d\lambda (x) \\ &= \frac{1}{10^b a!}\int_{[a,b]} x^6\lambda (x) \end{align} The only ...
2
votes
2answers
30 views

long equation in two column paper (the mathtool doesnt work.)

I have an equation which is too long for a two-column paper. the code that I write is like below : \begin{equation*} \begin{split} J=\frac{\displaystyle -l_2}{\displaystyle ...
2
votes
2answers
47 views

How to put a long equation spanning two columns while using IEEEtran?

I am using the IEEEtran document class to generate my PDF file so that it has two columns, but now I get a long equation and I cannot put it into just one of the two columns. Thus I used \onecolumn at ...
2
votes
1answer
40 views

Labelling the outside of a large matrix

I've been struggling to fit a large matrix on a page, and have finally managed to fit it in, although I had to make the entries very small. Now I want label the rows and columns of the matrix. There ...
2
votes
1answer
61 views

Horizontal alignment of tikzpicure in an equation

In this minimal working example, \documentclass{article} \usepackage{tikz} \begin{document} \begin{equation} \lambda = \begin{tikzpicture} \draw(1cm,0) -- (2cm,0); \draw(2cm,0) -- (3cm,0); ...
5
votes
2answers
63 views

How to set the numbering of an equation set to align bottom?

How to set the numbering of an equation set to align bottom+right? For example, in following code. The default numbering will be placed on the same row as S. But is it possible to change it to row 3 ...
3
votes
2answers
36 views

Display fractional formula nicely

I've tried using the split environment as well as dfrac, however, I can't seem to be able to make this equation look nice at all. \documentclass{article} \usepackage{amsmath} \begin{document} ...
2
votes
1answer
42 views

Problem in writing the equation: missing delimiter (.inserted)

\documentclass{article} \usepackage{...} %packages your code nees \begin{document} \begin{align} T\triangleq &\int_{0}^{\infty}\frac{\gamma^{k+m_2-1}{\rm ...
9
votes
3answers
360 views

Arrow pointing to subscript in equation

I'm writing an equation for the components of a contracted tensor. I want to label one of the lower (covariant) indices with the text "rth positon," and have an arrow pointing to it from below. Any ...
1
vote
1answer
29 views

Horizontal list inside equation

I'd like to have a horizontal list with roman enumeration (i.e. i), ii), iii),...) inside an equation. The idea is for each item of the list to be individually referenceable. This is what it should ...
0
votes
1answer
35 views

How to make the first line of equation level up with question number? [duplicate]

I have a multi-line equation as follows: \begin{enumerate} \item \begin{enumerate} \item \begin{align*} A \cap (B \cup C) & = x \in A \cap (B \cup C) \\ & = x \in A \wedge x ...
3
votes
1answer
61 views

How to use macros to repeat math equations in different settings

Suppose I have an equation like y=a+b that I want to repeat multiple times. I want to use macros to define this equation. First, I thought that the following definition would do the tric. ...
5
votes
2answers
79 views

flalign doesn't work in for me

I want to left justify my equations using flalign. However,it works in some places and doesn't in others. Below is a sample of my code \documentclass[12pt]{article} \usepackage{amsmath} ...
2
votes
4answers
186 views

Fit an equation in a single column

I am using the following code but the result obtained is not setting in the space (left column of the page). I have it on my page but it is overlapping the text on the right column of the page. How ...
2
votes
0answers
27 views

sagetex with breqn ? break line sagetex equations

When using sagetex, it often produces very long equations that are not visible anymore because they go over the page width. How to fix that? I could work around it by loading the .sagetex.sage into ...
6
votes
2answers
6k views

How to include chapter number in equation numbers

I am trying to change the equation number style in classicthesis package. I followed the answers given in here but it does not affect the equation style. I want to include the chapter number in the ...
1
vote
1answer
39 views

How can I align multirow and multicolumn equations?

There is a multiline and multirow equation: \begin{equation} \begin{cases} f(x)=\frac{1}{12} \cdot x \quad g(x) = \frac{1}{24} \cdot x, & x<12 \\ f(x)=1 \quad g(x) = \frac{1}{8} \cdot x - 1, ...
16
votes
4answers
497 views

Graphics equations: put text on equations

I have a big question that I cannot solve by myself. I would like to add text on my equations, but I like to have some graphics on those. For instance, I would like to explain why I am doing ...
2
votes
1answer
51 views

Incompatibility between lineno and equation*

In addition to a lot of others incompatibilities, also there is one between lineno and equation*. Is there any chance to have the lineno package updated to solve this problem? Does anybody here knows ...
81
votes
5answers
163k views

How can I split an equation over two lines

I am having the following equation: \begin{equation} Q(\lambda,\hat{\lambda}) = -\frac{1}{2} P(O \mid \lambda ) \sum_s \sum_m \sum_t \gamma_m^{(s)} (t) \left( n \log(2 \pi ) + \log \left| C_m^{(s)} ...
73
votes
5answers
169k views

How to break a long equation?

I have a long equation but long enough to occupy two lines. I want to break it to improve readability. How can I break it? \begin{equation} F = \{F_{x} \in F_{c} : (|S| > |C|) \cap (minPixels ...
1
vote
2answers
85 views

How can I make comments inside an equation?

How can I make comments inside an long equation, something like: \begin{equation} G(r) % comment here = \frac{A}{B} = \frac{\frac{t_c}{3}}{2 \cdot \frac{2t_b + t_v + t_c}{r}} = \frac{t_c}{6 \cdot ...
1
vote
1answer
42 views

How can I make the appendix one column to fit my very long equations? And also keep equations from running off the page?

The rest of the document is two columns, just the appendix needs to be one column to fit the equations. Here is the code, any help greatly appreciated! ...
2
votes
2answers
142 views

how to write an equation with a special arrow and super and sub scripts

How do I generate something like this?I don't know how to generate such arrows and how to write above and below the arrow.