{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
2answers
11 views

Reducing space between for some of the equations

I need to display a few equations as below The code I have written is :- \documentclass{report} \usepackage{amsmath} \begin{document} \begin{equation} \label{Equ. 3.9} x_{i+1}=\cos(a_i) \cdot ...
1
vote
1answer
25 views

Equation number syntax: [Section] . [Subsection] . [Subsubsection] – [EquationNumber]

I would like to use section numbers within equation reference counters. This typically requires \numberwithin from the amsmath package. I would like to change the section number depth of these ...
2
votes
3answers
37 views

Embed Latex equation in LyX

I would like to transfer the LaTeX: \begin{equation} W(\mathbf{F},\lambda_{\chi})=\min_{\textbf{R}\epsilon S^{2}} \end{equation} which gives the subscript {\textbf{R}\epsilon S^{2}} right under ...
5
votes
3answers
114 views

When using section* counters don't reset properly. How to fix this?

For example : \documentclass{article} \usepackage{chngcntr} \counterwithin*{equation}{section} \counterwithin*{equation}{subsection} \begin{document} \section{One} \begin{equation} 2+2=3.99 ...
5
votes
3answers
58 views

Aligning systems of equations by symbol and variable

Using this code: \begin{flalign} & +3x+2y-5z=+04 \\ & +2x+4y-1z=+12 \\ & -4x-8y+9z=-06 & \end{flalign} I produce this output: However, I'd like to produce a similar alignment, ...
2
votes
4answers
35 views

Add line break to one line of a multi-line equation

I am writing an equation consisting of many lines, however, one particular line is very long and I want to break into a new line. For example: \begin{equation} \begin{aligned} & ...
2
votes
2answers
122 views

How can I make \eqrefs clickable?

I have modified the \eqref macro like this \let\originaleqref\eqref \renewcommand{\eqref}{equation~\originaleqref} as per this answer. I want to have the reference be typeset like equation x or ...
9
votes
3answers
5k views

Modify \eqref command

I want to edit the \eqref command so that \eqref will produce Eq. (1), for example, instead of (1). Of course, I could define \newcommand{\reff}{Eq.~\eqref} but then I lose my editor's ability to ...
5
votes
2answers
59 views

How do I use equation in this scenario without running into “Missing number, treated as zero”

I'm pretty new to Latex and I am working with a bunch of formulae. I'd like to give each of them different numbering and this is what I've got: \begin{align} \begin{split} &|\Theta_P| = {|P| ...
2
votes
2answers
64 views

Matrix equation

I'm a new user in texmaker. How can I produce this equation? Thank you for your help
0
votes
1answer
32 views

Alignment of multiple align-blocks

I try to align multiple blocks of equations in such a way that the same alignment is used for the different blocks. I am currently using align with an array-environment for each line. By specifying ...
4
votes
2answers
79 views

Undersetting an arrow beneath an equation

I'm looking to add an arrow underneath an equals sign to explain the step that has been taken. See below: To achieve the arrow style that I like to use, I used \drsh from mathabx. I tried using ...
2
votes
1answer
62 views

gather: number each equations, even in a single line

My question is really similar to "How to place and number 3 short equations in one line?", except that I have more than one line of equations. So basically, I'd like to continue using {gather}, but ...
1
vote
1answer
30 views

Fourier package causes equation to not show up properly

In the MWE below, I do not get the equation to show up properly. This is how it shows up: when this is the equation: E(T) = C_{1} + C_{2}f_{1}[p(t)] + C_{3}f_{2}[T(t)] + C_{4}f_{3}[p(t),T(t)] + ...
0
votes
0answers
44 views

Wrong numbering in formulas!

I am writing in report document class and I have a problem. My formulas are numbered wrong! for example it (0.2)! I think I have a problem in the packages I ordered at the beginning. These are what I ...
1
vote
1answer
38 views

“overfull hbox (62.122123 too wide)” message in a long equation

2.\\ (a) Since there is only one observation the likelihood function only includes $p_1^{y_1}(1-p_1)^{(1-y_1)}$.\\\ =$>$ $L(\alpha , \beta_1 , \beta_2 , \beta_3) = ...
1
vote
1answer
43 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
0answers
19 views

error in multi-line equation [duplicate]

I have this equation: \begin{equation} \begin{split} t(E,T)&= \left[ A \\ &\quad +B \right] ^{-1} \\ &\quad \ln\left( C \right) \end{split} \end{equation} But it says that there is ...
1
vote
1answer
34 views

Accented Equations Error

I am facing few errors when I try to write accented letters in equations. Below is an MWE of my code. I am sure I am making a very basic mistake but the problem is that I have written a lot of ...
0
votes
1answer
48 views

Want vertical dash line in equation?

I Want vertical dashed line in equation without using of package \usepackage{arydshln}.
5
votes
3answers
32 views

Remove vertical space below equations in 2 columns and single numbering for both equations in a column

I had previously asked a question regarding vertical spacing between equations which are in two columns. This was answered but when I use the following code I get a large vertical space between these ...
3
votes
1answer
116 views

Center aligned group of equations based on ampersand

MWE: \documentclass[11pt,a4paper]{article} \usepackage{amsmath} \begin{document} aaa \vspace{17cm} \begin{align*} \centering (a+b)^3 &= (a+b)^2(a+b)\\ &=(a^2+2ab+b^2)(a+b)\\ ...
1
vote
2answers
53 views

How to stop centering effect when using split equation?

For example, the following code produces the equations below: \documentclass{article} \usepackage{amsmath} \begin{document} \[ \begin{split} Helloworld & = A \\ & = B ...
2
votes
1answer
28 views

Remove vertical space between text and equations in column alignment

Is there a way to remove this large vertical space between my text and equations. I think this problem is a result of my aligning the equations into two columns.This is the code that I am using by ...
0
votes
1answer
27 views
2
votes
2answers
66 views

How to include eqnarray in caption of figure

I want to write a set of equations in a caption of a figure. I implemented the answer of this question but it did not work out. The error I got is: ! Argument of \Hy@tempa has an extra }. For ...
1
vote
3answers
120 views

New line in Latex Equation

\begin{equation} S=\sum\limits_{i=1}^{8}A_i S=\sum\limits_{i=1}^{8}B_i S=\sum\limits_{i=1}^{8}C_i S=\sum\limits_{i=1}^{8}D_i \end{equation} Considering the above code, I am so ...
0
votes
1answer
41 views

Formatting in equations

I need to display 3 equations in the following format: What I am getting is The code is as below \documentclass{report} \usepackage{amsmath} \begin{document} \begin{equation}\label{Equ.3.3} ...
2
votes
1answer
35 views

How to reset numbering every new math block?

In a paper/document with multiple math blocks, such as align, equation etc. every new block resumes numbering from the number it was left in the previous. How can we reset the numbering, that is, how ...
1
vote
0answers
24 views

Automatic line-breaks in a long display-mode equation

I have a long sequence of equalities and inequalities in a display-mode formula. Currently, this formula is longer than the page width. Is there a way to tell LyX to automatically break the formula ...
2
votes
2answers
138 views

Move Equations in Book

I asked a question here on how to align tables differently on even and odd pages. Now I need to do the same for equations written in align environment. I tried the same trick proposed for tables. They ...
1
vote
1answer
22 views

adjust alignment of equation numbers with leqno

I an using leqno and would like the equation numbers to be right justified relative to themselves. That is, I want all the digits in the ones column aligned, as they are when not using leqno. Below is ...
4
votes
1answer
32 views

Equation tag alignment inside enumerate

I am trying to align my tag to left margin. I've seen this answer, but it did not help me muh as I don't want to change the class to ams. I have a solution (the code below), but I wonder if there is a ...
21
votes
1answer
20k views

One column equation in twocolumn document class

I am writing a paper (revtex4-1, reprint documentclass which I believe uses twocolumn) and need to have a long equation that needs to break the two column format. I've seen answers to this question ...
15
votes
2answers
282 views

Extra space added after equation when it is coloured

For some reason space is added after my equation when I colour it. This does not happen if the colour is added to text. Is there a simple way to prevent this from happening, like a global setting (I ...
0
votes
2answers
34 views

Undesired space after “\right)” or “\mright” with splitting the equation

As it was suggested in the discussion in this link (How can I remove space after `\right`?) that we maybe can not go around using \right. \left. \mright) \mleft( together. The example was given as: ...
0
votes
0answers
79 views

How can I remove space after `\right`?

Why is it that after \right), the . placed after it is spaced. It looks disturbing. For example: \begin{equation} \left(x+y=z\right). \end{equation} There exists an automatic slight space between ) ...
0
votes
4answers
44 views

Breaking a line that begins with \left(

Sometimes one needs to break a line that started with \left( to another line that ends with \right). This procedure can not be processed though using the command: \begin{equation} \begin{aligned} ...
3
votes
3answers
58 views

Start a new line before align in equation

I use \begin{equation} \begin{aligned} p(z_{di, dj} = t | w^{(k)}_{di} = w_i, z_{-di}, x_{-di}, w^{(k)}_{-di}, w^{(n)}_{dj} = w_j, z_{-dj}, w^{(n)}_{-dj}, A, \alpha^{(k)}, \alpha^{(n)}, \beta) ...
2
votes
3answers
69 views

Horizontal list of equations with automatic column span

I am looking for an environment to enumerate equations in a horizontal list with respect to their length such that they can spread into columns next to them: You can see that the integrals are ...
5
votes
1answer
32 views

How to customize the equation numbering in book document class?

As you may well know, the book class follows the structure bellow for numbering equations: Chapter 1 First Equation 1.1 Second Equation 1.2 Chapter 2 First Equation 2.1 Second Equation 2.2 Third ...
0
votes
0answers
23 views

Referring to an equation in a different section

I am using the procedure in writing a document of setting a main page and including sections in side tex documents using \include{...}. In one section I have an equation that I labeled as \label{6}. ...
4
votes
2answers
132 views

Equations aligned center

The following code \begin{equation} \label{eq:test} \begin{aligned} A=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\\ B=BBBBBBBBBBBBBBBB\\ C=CCCCC, D=DDDDDDD\\ E=EEEEE, F=FFFFFFF \end{aligned} ...
5
votes
3answers
108 views

Equation wider than textwidth

I have an equation that is slightly wider than the width of my document. I want to center the equation, but do not want to change the geometry of my document. I have tried the method mentioned in ...
3
votes
3answers
94 views

center and number each equation

The following picture shows the equation output format of my MWE: I want to keep the output format, and number each of the four equations. I use array under the equation environment, but it just ...
2
votes
2answers
174 views

center part of equation

I have an equation, as shown in the following picture: I want to center the second part of the objective function ( + \alpha \sum_{j} \left(Qp_j + Qn_j\right) ) between the two red lines. How can I ...
2
votes
1answer
22 views

Number equations and preserving alignment of equal signs

So as I have learned from a previous post that the \begin{aligned}... \end{aligned} with the usage of "&" before "=" will help arrange neatly the equations where the equal sign of each equation ...
0
votes
0answers
22 views

Arranging equations (short and long ones) in a presentable way

Say I have 8 equations all of different length including equations that are 3 lines long on an A4 paper. When I type them on Latex, I can separate the long sentence by using "$$$$" to break it and it ...
40
votes
6answers
127k views

How do I turn off equation auto numbering

I have an equation like this: \begin{align} P(A \cup B) = \sum_{\omega \in A \cup B} P(\omega) = \sum_{\omega \in A} P(\omega) + \sum_{\omega \in B} P(\omega) = P(A) + P(B) ...
3
votes
1answer
52 views

How to create the long equations in two columns paper

I have a long equation that need to put in two columns-type format. The template I use is IEEEtran. Here is the minimal document in original style: \documentclass[journal,letter]{IEEEtran} ...