Questions tagged [equations]

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

Filter by
Sorted by
Tagged with
1
vote
3answers
38 views

Splitting multiline equations in between of parenthesis

I am using align for multiline equations and works fine but I am encountering a limitation. I have terms between parenthesis opened and closed with \left( \right). Since there are many terms between ...
3
votes
1answer
32 views

What is the matter with this equation array?

This seems to work just fine, but generates all sorts of errors. \[ \left( \begin{array}{ccccccccc} 1 & 1 & 1 & 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 1 &...
1
vote
1answer
18 views

Incomprehensible problem with split-environment in beamer documents

In a set of slides i am creating with beamer class, i want to use the split environment to align wrapped equations (see example below). My problem is, that latexmk throws an error Missing { inserted ...
2
votes
2answers
60 views

Vertical centering of cases in an equation

Normally, a simple cases will get the result below. \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation} X=\begin{cases} 0, & \text{if $a=1$} \\ 1, &...
1
vote
0answers
38 views

Incorrect equation numbering

I'm having an issue with the numbering of my equations when report writing using subsections. Whenever I label the equations and refernce them, I would like to just get the number of the equation, ...
3
votes
3answers
87 views

Align a set of numbers with the coefficients in a equation

I want to write an equation in latex like the following one. But I can not align a set of numbers with the coefficients completely. Here's my code: \begin{equation} \begin{aligned} LNEP = & -0....
0
votes
2answers
44 views

How to write a long equation and name it?

\begin{eqnarray} \tag{A8} 2x+3y+4z+2u+7o+8k+90l+43+56+45p+33h \nonumber \\ &+& 89n+90m+34j+23a+45b+56f = 0 \end{eqnarray} But I am not getting the required equation with name A8. If ...
2
votes
1answer
41 views

insert several equation in one frame in beamer

i hope you are doing well. I am doing in latex a beamer presentation. in one frame I am including several equations, but they do not appear in the slide. here is my MWE. \documentclass{beamer} \...
2
votes
3answers
44 views

Two columns of equations alignment problem

I am trying to use \minipages to create two columns of equations. However, it seems like the equations exceed the 0.5\textwidth I have set for the minipage. Is there any way to break up the equation ...
1
vote
2answers
63 views

Space appearing between equation and itemize (with enumitem) when adding a onslide command in beamer

I am running into this behavior that there is a space that gets added after the equation when i use the enumitem package and that i have a onslide command ending just before the itemize. Any idea how ...
5
votes
2answers
124 views

Case Condition for two lines

I am searching for a way to write the case condition $\text{in } \Omega$ in the middle of the first and second line. \documentclass{article} \usepackage[utf8]{inputenc}% \usepackage{mathtool} \begin{...
1
vote
1answer
67 views

One or more equations (two-by-two on different rows) with an enumerate to the left and the another on the right

Starting from these MWE into two links How to place and number 3 short equations in one line? (Stefan Kottwitz's answer) with this MWE: \documentclass[11pt,a4paper]{scrbook} \usepackage{amsmath} \...
0
votes
1answer
17 views

Equivalent of \iftotalfigures for xequations

To print my lists only when there are references I use the following syntax: % List of figures \iftotalfigures\listoffigures\fi % List of tables \iftotaltables\listoftables\fi Now I would like to ...
2
votes
2answers
42 views

How to align a set of multiple equations on a set of multiple aligned?

With a set of multiple aligned equations are becoming misaligned as follows: \begin{equation*} DGE \left \{ \begin{aligned} & FEGE & & & \left \{ \begin{aligned} & & CGE & ...
3
votes
3answers
49 views

How can I avoid newline when adjustwidth and eqnarray?

adjustwidth inserts a redundant newline only when it is used with eqnarray. How can I avoid it? Input: \documentclass{article} \usepackage{changepage} \begin{document} \noindent Hello World! \...
0
votes
1answer
21 views

Having LaTeX equation in LyX numbered equation

I have a LaTeX Equation that I am trying to insert in my LyX document as in the attached image So, I Click Ctrl+L to insert TeX code inside that numbered equation but it doesn't work. It only works ...
1
vote
1answer
35 views

equation error - help please

\begin{equation} \begin{split} &\max_{x_{i, j}, \hat{x}_{i,j}, x_i^k} \left\{\pi_{Slave, i, t}(x_{i, j}, \hat{x}_{i,j}, x_i^k, p_k) =\\ &\sum_{j \in \Psi_{\varrho}} W_{j}(\hat{x}_{i, j}(...
3
votes
3answers
58 views

Using \tcbhighmath for just one aligned equation in the align* environment?

I'm trying to figure out how to just put a stylized box using \tcbhighmath in only one equation in a set within the align* environment. So for example: \begin{align*} x &= 2 + y \\ y &= ...
0
votes
0answers
18 views

Creating custom environment changes line spacing [duplicate]

I want to create my own environment which I need to contain the equation environment within. However, doing so changes the spacing of the lines and how text behaves: Here is the code: \documentclass[...
4
votes
3answers
167 views

split large formula in align

I have a large formula in align: \begin{align} \overline{r}_D(n_D) = \begin{cases} r_D(n_D) & \textrm{ if } r_D(n_D) < b_{min} \\ \max\{b_{min} , \max \{b_{l-f(\rho_E)} \mid b_l \leq r_D(n_D)...
1
vote
1answer
37 views

How to reduce the equation font size in math mode in Latex?

I am trying to resize the equation font size in math mode: As This answer suggested : \documentclass{article} \usepackage{amsmath} \usepackage{graphicx} \newcommand*{\Scale}[2][4]{\scalebox{#1}{$#2$...
1
vote
1answer
58 views

Equation numbering with the same number of digits?

I'm writing a document with more than 10 equations per section. The ams align environment is numbering them as: 1.1, 1.2, ..., 1.9, 1.10, 1.11, ... Instead I would like the equations to be numbered ...
2
votes
2answers
37 views

How to make the arrow in a chemical formula shorter? (using mhchem)

I'm using mhchem to write a chemical formula, as in the example by clemens (shown below). Is there a way to make the main arrow -> shorter by a fixed value in the second equation? Here's the code: ...
0
votes
2answers
34 views

Fraction not working for a long equation

I am trying to write this equation So far, I have this: \begin{equation}\label{EEDIeq} \resizebox{0.85\hsize}{!}{\frac{{\Bigg(\prod_{j=1}^n f_j\Bigg) \Bigg(\sum_{i=1}^{nME}P_{ME(i)}.C_{FME(i)}...
1
vote
1answer
44 views

Referencing an equation in a set of equations

Is there a set way of referencing a single equation from a set? I have three equations numbered together (as, let's say, (2.3)). I prefer numbering them as a set since they are directly related and it ...
1
vote
1answer
38 views

Package amsmath Error: \begin{multline} allowed only in paragraph mode

I am getting an error message when I try to use the multline environment inside cases. This is my equation: \begin{equation} \label{eq:SMSKIN_TU2009} \begin{split} SM_{SKIN,Int} &= ...
0
votes
0answers
24 views

Equation referring with report Class

I'm using Documentclass as report, and I'm facing a problem when I'm referring to any equation I'm getting some wrong numbers like 7.2 for 2.1.2 ....I tried \eqref and \ref ....but I'm still facing ...
3
votes
1answer
49 views

Align equations at more than one point

I have got the following set of equations: which corresponds to the following code: \begin{align} \begin{split} a_1 + b_1 \xi + c_1 \xi^2 + d_1 \xi^3 &= a_2 + b_2 \xi + c_2 \xi^2 + d_2 \...
0
votes
2answers
43 views

sideways threeparttable: the quest for using equations as items to shorten mammoth-sized equations

EDIT: The MWE as been redesigned as requested. I'm trying to use threeparttable together with sidewaystable to produce a table with some mammoth-type equations. In order to improve readability (see ...
1
vote
0answers
22 views

How to add text and arrows nicely to lengthy equations?

This is a screenshot from one of the papers of the Dozenal Society: I'd like to ask, how you can do those arrows in LaTeX as they did in their equations. A couple other things: Are those three math ...
5
votes
3answers
500 views

Correct use of smash with math and root signs

How can I get the same height on the second root-sign as the first?; $$\sqrt{\tfrac{1+2\cdot4a^2+(4a^2)^2}{16a^2}} =\sqrt{\tfrac{1+2\cdot4a^2+(4a^2)^2}{(4a)^2}}$$ I've tried different methods using \...
0
votes
0answers
57 views

tag an equation

I want to give a name to an equation which is "the reverse of ن" i'm using polyglossia when I write \documentclass[12pt,a4paper,openany]{book} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%...
0
votes
1answer
49 views

Error in equation- latex

Hi, I want to write the equation (above) as it is, in latex. So far I have this : \begin{multline}\label{EEDIeq} \frac{\Bigg(\prod_{j=1}^n f_j\Bigg) \Bigg(\sum_{i=1}^{nME}P_{ME(i)}.C_{FME(i)}....
1
vote
1answer
32 views

difficulty in numbering the equation properly when used in subequation along with split

Don't understand why there is some extra equation number which is coming in the last line of the equation \begin{subequations} \label{eq: non dimensional lagrangian} \begin{align} \...
0
votes
1answer
66 views

Complex alignment in equation

Why there is no space between the text ("Min/Max", "Subject to") and fm(x) and hk(x). What's wrong? \begin{equation} \left. \begin{aligned} \text{Min/Max} & f_m (x), ...
2
votes
1answer
102 views

Tikz and Scientific notation

I would like to use Tikz to draw something like this: \tikzstyle{every picture}+=[remember picture] \everymath{\displaystyle}\begin{equation*} {\huge \tikz[baseline]{ \node[fill=blue!10] (...
3
votes
1answer
61 views

New locally defined mathcal font for math equations

I want to make use of math fonts of mathcal namely: "pxtx" and "dutchcal" which is elaborated in this nice answer. However, I don't want to change the standard mathcal font but just use locally these ...
0
votes
0answers
18 views

How to use equation containing “]” in optional argument? [duplicate]

When I try to use a command like \begin{theorem}[Something $x[y]$ something], I get an "extra } or forgotten $ error message". It seems like the ] in the equation is closing the optional argument even ...
3
votes
3answers
112 views

numbering overwrites equation

I have an issue with the numbering of my equations which overwrites in part them \documentclass[12pt,leqno]{article} \usepackage{amssymb,amsmath,amsthm} \usepackage{accents} \usepackage{tikz-cd} \...
0
votes
0answers
32 views

change font style of script in math mode

I hope you are doing well. I am writing to ask you how I can change the font style of the script in math mode in latex. Actually i use \text{} to write script in equation area nicely, for example : X_{...
0
votes
2answers
46 views

flalign environment inside a tcolorbox

I've build a flalign environment and I'm happy with the result, but now I want to put it in a tcolorbox like in my example. I can't figure out how I can make that possible. This is my MWE \...
3
votes
3answers
98 views

Fix a problem with surrounding braces in the splitting of an over-long set definition

Consider the following example: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{amsmath, amsthm, amssymb, mathtools, thmtools, unicode-math} \begin{document} \begin{equation*} ...
2
votes
1answer
38 views

latex centering numbered equations

I have the following code. Why are my equations not centered, and how can I center them? \documentclass[10pt,a4paper,fleqn]{article} \usepackage{amsmath, amsfonts, amsthm, amssymb} \usepackage[...
2
votes
2answers
40 views

using \begin{equation} but cannot align equation and want to show only one number of equation

I want to write these equations using the \begin{equation} , however can't align them to the left side and want to put only one reference number for them \begin{equation} \begin{split} S=-\frac{1}{2}...
0
votes
0answers
29 views

non-continuous numbering equation

From the beginning of my document which contains two pages, I have several equations. Equation in page 2 must be started from 1 (numbered from 1) How can I perform this procedure?
0
votes
0answers
24 views

Underfull \hbox (badness 10000) warning, but the output is correct

I'm trying to add an equation to my paper and the result is as I want. However, I get the warning: Underfull \hbox (badness 10000) in paragraph at lines 4--12 What does it mean and how can I get ...
0
votes
0answers
24 views

Cannot define a split equation macro [duplicate]

I want to combine the \equation* command and the \split command into a single macro. This is what I want to do: \def\beqn{\begin{equation*} \begin{split}} \def\eeqn{\end{split} \end{equation*}} \...
3
votes
2answers
50 views

Centering \vdots in Linear Mapping Equations

I am trying to center the vertical dots, but I cant seem to do it - whatever I have tried, the dots remain left aligned. Below is the code that I have at the moment. Any help is greatly appreciated: \...
0
votes
0answers
5 views

Split equation with \begin{split} - brackets don't follow [duplicate]

I have a really long equation, which I want to split into two lines. I searched the internet and found that it works with a split environment. It actually does! But I have big (or automatically sized) ...
1
vote
1answer
37 views

Functional lines bug

In an old question the user Jake, helped me make some code to create "function Defining a new command for making functional lines / package The code and result is amazing, alas per 2019 this code ...