{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
112 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} ...
2
votes
2answers
164 views

Equivalence arrow in LaTeX

I have an equation like \documentclass[12pt,a4paper]{report} \usepackage[latin1]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsthm} \begin{document} ...
3
votes
1answer
103 views

How to left-align particular equations using own environment?

I'm trying to left align particular equations. To do that I created a new environment (because I need it a few times). Now, I found that there are various options to do that: using the fleqn option ...
3
votes
1answer
106 views

Eqnarray nested matrices produces alignment error

I wrote the following equation array. \begin{eqnarray} w_{0} & < & 1 \\ w^{m}_{i} & = & \left \{ \begin{matrix} w_{0} & i = 0 \\ ...
4
votes
2answers
80 views

Help with aligning equations and numbering

I'm new to LaTeX so you're going to have to bear with me. I am trying to write a project report using it and I have got this so far for a certain section: Then, ...
1
vote
1answer
45 views

How can I align two captions? [duplicate]

I have a figure and an equation side by side. The code is as follows: \begin{figure}[H] \begin{subfigure}{.5\textwidth} \centering \includegraphics[width=.8\linewidth]{cycle} \caption{The opsin ...
2
votes
1answer
64 views

Multi-line equations in latex

Is there anyway to write multi-line equations in latex automatically, I mean without using line break or other manually breaking lines. is it possible to tell latex to begin with the next line when ...
6
votes
1answer
69 views

Want theorem and equation numbering linked under section

Similar questions have been answered but the solutions didn't seem to give what I need. I would like theorems and equations both to proceed as follows within each section. Say we've begun Section ...
2
votes
0answers
42 views

“latex missing } inserted” error message in equation [closed]

I have a slightly complex, long section of equations in my latex document, but from what I can see I think it is programmed correctly. When I compile the document, I get the error ...
5
votes
2answers
93 views

Coloured shadowbox around equations?

I currently put some boxes around equations using: \newcommand*\eqbox[1]{ \definecolor{shadowcolor}{RGB}{0, 0, 102}\setlength\shadowsize{2pt}\shadowbox*{#1} } \eqbox{$1+1=2$} How to have the same ...
2
votes
3answers
78 views

Splitting equations with parentheses in aligned [duplicate]

How can I break the first line \begin{equation} \begin{aligned}[2] & some stuff \left\{ stuff' + stuff'' \right\} \\ & = some other stuff \end{aligned} \end{equation} in a way such that the ...
9
votes
1answer
133 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 ...
3
votes
1answer
2k views

How do I number a equations with roman numbers?

I would like to display a set of equations with roman numerals on the left side. The equations should be left aligned and the = should be aligned. Something like that: I) ae + bg = ae + cf ...
2
votes
1answer
57 views

Automatically add a vertical spacing in formula numbering [duplicate]

I have a document with several equations that fit the text width, so the tag is below the equation in those long formulas. I don't want to use splitting enviroments but in some cases, specially in ...
4
votes
1answer
62 views

Error persists after removing the code

I accidentally added an erroneous backslash to a code in the equation environment. Even after removing it - in fact even after removing the whole line - the error persists. ! Undefined control ...
2
votes
0answers
83 views

Identical space around \[ \] and the amsmath environments set to a personnal value

I wish to have the same spaces around the brackets \[ ... \] as the space around the environments align and equation (above and below, short or not) from amsmath, ideally (I set \parskip=1ex), ...
9
votes
2answers
306 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 ...
6
votes
2answers
120 views

Multiple \cline{x-y} in align environment for subtracting equations

I'm trying to make a solution sheet for a student of mine and want to write it in a similar way as I would do when writing per hand. In this case I wanted to have 4 columns of equations (I know that ...
4
votes
2answers
87 views

Need to reduce a line between these equations

I'm not entirely sure how much this depends on how much I've formatted on my document. I have two equations \begin{equation*} \vec{n}_w \times [\vec{E} + \vec{v} \times \vec{B}] = \vec{n}_w \times ...
4
votes
2answers
395 views

What program is something like this created on?

Been trying to further improve my LaTeX skills, and such to make my notes look better. But I was curious if you guys could easily tell what program something like this was created in? ...
0
votes
1answer
28 views

How adjust the vertical space in aligned equations (in the Preamble)?

I always find the standard \\ to be too little in aligned equations. I used to do \\[5mm] or similar in the past, but there must be some automatic way to do this once and for all in the preamble. Is ...
0
votes
0answers
52 views

Why Latex cannot compile when I add “\left[ ]\right” [duplicate]

Successful code: \documentclass[a4paper,cs4size,UTF8]{ctexart} \usepackage{amsmath} \usepackage{mathtools} \usepackage{amssymb} \begin{document} ...
9
votes
2answers
190 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 ...
1
vote
0answers
76 views

Advection-diffusion equation in latex

I'm having problems (errors) in writing the advection-diffusion equation in tex. \[\frac{\partial C}{\partial t} -\frac{\partial }{\partial x} \left[D_{x} \frac{\partial c}{\partial x} -u_{x} ...
3
votes
3answers
111 views

Change the tag for equations

I want to show my equations in the form (Eq. 1) instead of (1). I am trying using \tag but this changes completely.
5
votes
2answers
147 views

Add equation name besides equation number (so that \eqref inserts only the number)

I am trying to add equation names besides the equation numbers but, in addition, in such a way that \eqref inserts just the number. Inspired by the top answer in Add equation name underneath equation ...
4
votes
2answers
232 views

Two equation numbers within one set of brackets

The following outputs two equations side-by-side, with the equation number after each equation: \begin{minipage}{.5\linewidth} \begin{equation} x = y \end{equation} \end{minipage}% ...
3
votes
2answers
123 views

Numbering equations with figures

I need to asign a number to equation which contains figure. My code is \documentclass[12pt,a4paper]{article} \usepackage[slovak]{babel} \usepackage[utf8x]{inputenc} \usepackage[T1]{fontenc} ...
1
vote
0answers
64 views

Extremely long equations giving overfull hbox

I am using wxMaxima for doing homework. I have extremely long mathematical equations. I exported my work to a .tex file. But now I have several overfull bad box warnings. I tried to use geometry ...
2
votes
2answers
761 views

How to decrease space height (margin) between equations

I want to decrease spaces(margin) height before and after equations because I found big space when text end and display formula appears or between equations each in separate line. Also I want to do ...
10
votes
1answer
8k views

Beamer - Uncover within Equation Mode

I have an equation and I would like to uncover part of it at a time. Take y = 2x + 3. \begin{equation*} y = 2x + 3 \end{equation*} I would like to uncover the 3 \begin{equation*} y = 2x + ...
6
votes
3answers
195 views

Horizontal spacing after cases bracket in equation

How can I add a little horizontal spacing after the cases bracket, at the depicted position, so that 1 and 0 move to the right (the given screenshot looks okayish, but I'm using a different font where ...
8
votes
4answers
157 views

splitting middle equation of 2 rows

I have a very long equation which does not fit on the page and I am wondering if anybody can help me to align it properly. \begin{align*} &(q^1+q^3+q^5+q^7)(q^2+q^4+q^6+q^8) \\ ...
2
votes
1answer
101 views

Strange behaviour of wrapfigure if followed by equation

I have just had some problem with wrapfigure where I used the following code: \documentclass[a4paper, 12pt]{article} \usepackage{wrapfig} % to have text around figures \usepackage{graphicx} ...
5
votes
4answers
358 views

How to add a line break in math mode but number the whole as one formula?

I am trying to get the following formula on two lines like this: \begin{equation} W \in \mathbf{M}_N \rightarrow W' \in \mathbf{M}_{N+1}\\ (w_{ij})_{1\leq i,j\leq N} \mapsto (w_{ij})_{1\leq i,j\leq ...
5
votes
2answers
105 views

Breaking equation - Problem with brackets

I want to break a long equation in LaTex. I have tried multline and align but I always get errors with the brackets. \begin{equation} \dfrac{dr_{ij}}{dt} = \frac{1}{2r_{ij}} \left[ 2 \left( ...
5
votes
3answers
256 views

QED - as three letters - to the right of a display equation

What is the best way for me to get "QED"--as the three letters, not the square generated by \qed--flush with the right side of a page on the same line as a display equation? Note - I am intentionally ...
39
votes
3answers
137k views

Big Parenthesis in an Equation

I have an equation contained inside \[...\], which automatically makes a \sum with sub- and superscripts turn big--so that the summation sign looks awkward inside parenthesis. Any idea how to make ...
7
votes
3answers
4k views

beamer's \only command, equation counter increment does not get retained outside of \only

I've got a problem where I am using beamer's \only command, but within \only, the equation number incrementation doesn't survive. I.e., I'd like to do \only<1>{ \begin{align} equation 1 ...
0
votes
1answer
202 views

\mathbbm in exponent of equation

I am trying to put a blackboard 1 (indicator function; I'm using the bbm package) in the exponent of an equation, something like \begin{align*} f(x) = \mathbbm{1}(x = 1) \\ % works p(x) = ...
3
votes
2answers
114 views

Splitting the equation on two lines

I have the following equation (as you can see I have used split): \begin{equation}\label{testequation} \begin{split} d_{m}^{\phi}\left(A,f\right)=\sqrt[m]{\mid ...
3
votes
2answers
54 views

Multiple lines in equation environment

I have to put an two equations inside one equation environment. I could do it with this piece o code: \begin{equation} \begin{array}{ccl} \nabla \cdot F & = & \left(\frac{\partial}{\partial ...
9
votes
4answers
9k 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
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{; } ...
3
votes
5answers
251 views

An double arrows between two systems

I'm trying to have 2 equations systems separated by a double arrow, something like this : I'm actually using 3 minipage : the first and the third with and array and the arrow at the ...
5
votes
1answer
114 views

Box or [ around multiple lines inside align

I have the following code \documentclass{article} \usepackage{amsmath} \begin{document} \begin{alignat*}{4} \begin{minipage}[h!]{0\linewidth} \text{Let:} \end{minipage} ...
3
votes
0answers
26 views

Connecting two elements in the equation [duplicate]

Suppose that my equation has six elements and I want to visually connect them into pairs (A with C, B with E and D with F). Is that possible to do? Example: --------- ...
0
votes
2answers
1k views

\begin{equation}: “Display math should end with $$” error?

I'm pretty new to LaTeX, completely new actually, and there is one thing I can't quite understand. I get the error "Display math should end with $$" when writing an equation like this: ...
4
votes
3answers
88 views

aligned environment, align numbers to right

I have an "equation", where I simply want to give some constant values. I'm aligning on the equation symbols, but as the numbers have different amounts of digits, I would also like to align the ...
5
votes
2answers
222 views

equation with arrows

My intention is to create equation which looks similar to one of examples below (I prefer the second one). There should be an arrow from JKL to DEF and GHI and from GHI to DEF. Neither alignment ...