Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
8 views

Break equation in parts

I want to break this equation in multi-line but unable to get it! \documentclass{article} \usepackage{amsmath} \DeclareMathOperator{\E}{E} \begin{document} \begin{multline*} \P_t= \frac{1}{2}\Bigl(...
2
votes
3answers
142 views

How do I align equations in three columns, justified right, center and left?

\[\begin{array}{crl} &(L-\epsilon)(x-M)\leq f(x)-f(M)&\leq(L+\epsilon)(x-M)\\ \Rightarrow&(L-\epsilon)(x-M)+f(M)&\leq f(x)&\leq(L+\epsilon)(x-M)+f(M)\\ \Rightarrow&(L-\epsilon)...
0
votes
0answers
35 views

Can we insert equations as images in IEEE format? [duplicate]

Can we insert equations as images in IEEE format? So instead the writing the equation in latex I will be inserting the image.
0
votes
0answers
14 views

\right not working in beamer [duplicate]

\documentclass{beamer} \usepackage{graphics} \mode<presentation> { \usepackage{breqn} \usetheme{Frankfurt} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \begin{align*} ...
3
votes
2answers
73 views

Underbrace equation issues

I am trying to write this equation (see attached image) But I have been unsuccessful. So far I have this : \begin{equation}\label{eq23} {C_E}^* = \underbrace{{\underbrace{1 - a_{C_E}}_{\...
0
votes
4answers
63 views

Marking down an arrow in an equation

How to write this equation in LaTex? $$y_t^s=\underset{\underset{\scriptstyle\text{Output of firms with one year old contracts}{\scriptstyle\downarrow}}{\frac{1}{2}(P_t-w_t(t-1)+u_t)}+\underset{\...
7
votes
2answers
302 views

Curly brackets below a word in an equation

How to write this equation in latex? I wrote this code but not getting it. E_{t-2}P_t=\frac{1}{2}(E_{t-2}m_t+\underbrace{E_{t-2}v_t}_\textrm{=0}-\underbrace{E_{t-2}u_t}_\textrm{=0}+(\frac{(1-\zeta )...
0
votes
0answers
30 views

Allow page break for many aligned equations (ConTeXt) [duplicate]

When there are many aligned equations so that they cannot fit the rest of the current page, page break is not allowed, and they always start at a new page, giving a lot of blank lines. How to allow ...
5
votes
2answers
171 views

Presenting a nuclear reaction in LaTeX

I wanted to know what is the best way to present a nuclear reaction with the exponents and index of the atoms A and Z being in front of the element? Thanks in advance.
1
vote
2answers
71 views

How can I write equation like this

I want to create an equation like this \begin{multline*} Time = a + b * h1(x) + c * h2(x) + d * h3(x) + e * h4(x) \\ where \ \ h\textsubscript{1,2,3,4}(x) = \Bigg\{ \begin{tabular}{cc} ...
3
votes
2answers
239 views

How can I properly write this equation in Latex?

The equation is basically Bellman equation essential to the Q-learning algorithm. If there's any way to include the notes below (such as "New Q-Value") aswell that'd be even better!
0
votes
1answer
34 views

Aligning and specifying font size in LaTeX equations

I have specified 3 equation in tex file, The font size of contents in each equation in the align environment appears to be different.Also, not all equations all aligned in the same way. Is there a ...
1
vote
2answers
34 views

switching alignment

I'm new to Latex and its environments such as split and align and I'm trying to change the alignment of an equation in a customized manner. I have a set of equations similar to what you can see in the ...
2
votes
2answers
43 views

2nd line of equation is indenting to the right

I have looked at answers to this question extensively and tried copied them but the second line of my equation keeps indenting to far to the right. How do I make it look normal? \begin{...
0
votes
1answer
178 views

The LaTeX syntax for this probabilistic formula

I would like to create a math formula as follows. How do I write it in LaTeX?
3
votes
1answer
78 views

How do I align a math environment to the right?

I'm trying to wrote a few math formulas, but they go left. The picture will explain: As you can see, the < signs are not in the same line. The code: צד ראשון: \L{ \begin{eqnarray*} 2(i+1) & ...
2
votes
2answers
36 views

Making two equations left-aligned

I'm trying to use a single label for two equations. I use this: \begin{equation} \begin{aligned} T_{Up} = \max \{T_{Up\_min}, u\} \\ T_{Low} = \min \{T_{Low\_min}, l \} \label{Eq2} \end{aligned}...
4
votes
1answer
35 views

centering / aligning arbitrary amsmath objects

See how the little ^\frown ⌢ symbols are aligned (on the last 3 lines) ? That's what I want. But see how it's just a concatenation symbol for (C_\alpha) (Cα) and (C_\beta) (Cβ) ? I want to make ...
3
votes
3answers
184 views

multiline equation inside a matrix that is a part of multiline equation

I have an equation split to multiple lines. But the last line of the multiline equation contains 2x1 vector with long equations that go out of margin. How do I further split the equations in the ...
2
votes
0answers
27 views

Center all equations [closed]

Is there a mode to make all the equations(only the equations) in my document, in the form ${equation}$, become centered at once? example code: \documentclass{article} \usepackage[utf8]{inputenc} \...
2
votes
2answers
87 views

equation in minipage can't be numbered in the same line

I want to have my long equation autowrap in different page size, although it is not in good looking but at least it is readable. So this is my example \documentclass[a6paper]{article} \usepackage{...
4
votes
1answer
127 views

Split slides in two with a vertical line? Equations on left and right

I'm making presentation slides for presenting my research. Basically the idea is: I need to compare two theories with each other. Therefore, I wish to split most of the slides into two halves, with ...
2
votes
0answers
25 views

overuse of alignat environment [duplicate]

I am editing a student's paper, and I noticed that he uses alignat for every equation, even single-line equations, like: \begin{alignat}{1} x = y^2 \end{alignat} I was about to comment that he ...
4
votes
3answers
85 views

Transforming a statement into a mathematical expression

Is there a way, where I could automatically transform a string (using a command) like: (1/SF) * (MDD\_a) * (1/LDD\_b) * (MBS\_b) * (1/SSA\_ab) into a mathematical expression like: $(\frac{1}{SF}) * ...
4
votes
1answer
67 views

Missing $ error in equation > cases environment

I'm getting a missing $ in equation environment, but only when in cases environment. Of the two examples below only the equation that implements the cases environment is giving me troubles: \...
1
vote
1answer
47 views

Equation numbering by chapter

I am writing my thesis in book environment using Latex. The equation numbers for every chapter start with prefix "1" i.e. the equation numbers in chapter 1 are 1.1, 1.2 etc.; and for chapter 2 they ...
3
votes
1answer
71 views

Should commas be used in formulas? [duplicate]

I am writing a document that contains formulas like this: 25 Va + 100 Vc = -3000 My colleague tells me that I should write it with a space on the 3000, or with a comma, like this 25 Va + 100 Vc = -...
2
votes
1answer
35 views

Resolution of a problem concerning calligraphic fonts such as \mathcal or \pazocal

Although the question may seem very simple, I want to ask it because I wish to learn. I use a lot of packages for my book and unfortunately someone goes into conflict. For example, I can't use bm ...
4
votes
1answer
153 views

Getting this error. Missing { inserted

\begin{equation} \max_{\substack{k , {k^'}}}|{G_k-G_{k^'}}| \leq T_1\\ \end{equation} I am not getting what are the errors. Please help me.
3
votes
2answers
88 views

Bigger equation in text-mode math

I want to write a "big" equation, not in display-math mode -- as given by the equation environment -- but in inline-math mode, say $E=mc^2$ How can I enlarge it?
4
votes
2answers
123 views

An equation with two splits / differing alignments

I would like to layout an equation in the following form: x=5+3-4 -4+3+5 =8-8+8 =8 In words: I want to split the equation at two points; one where the first equation splits over two splits ...
3
votes
2answers
132 views

Double underlining a result in a system of equations with calculation steps on the right side

I am trying to create a system of equations with my calculation steps on the right side and a double underlined result. I've decided to use NiceArray from the nicematrix package for the calculation ...
3
votes
1answer
29 views

You can't use `\eqno' in math mode. \end{equation} and Missing } inserted. \end{equation}

i'm trying to write this equation but LateX give me these errors. I already find similar question but any of them can solve the problem. Any suggestions? \begin{equation} \rho(X,Y) = {{{E(XY) - E(X)-...
5
votes
3answers
71 views

ULdepth does not change space in equation

I am trying to underline a result within an equation environment. The result contains a Matrix. I use the ulem package with uline. How can I add more space between my matrix and the line? I tried ...
1
vote
1answer
36 views

How to reduce gap between two \begin{eqnarray} … \end{eqnarray}?

I have two equations of \begin{eqnarray} .... \end{eqnarray} in latex using editor WinEdt. How can I reduce the space between them? \begin{eqnarray} l(P_5) = abc \end{eqnarray} \begin{eqnarray} ...
2
votes
1answer
27 views

How to fix space between two consecutive equations

My tags are follows: \documentclass{book} \usepackage{amsmath} \begin{document} \begin{align} a+b&=c\\ d+e&=f \end{align} \end{document} In this, I need to fix the space between two ...
1
vote
1answer
31 views

file ended while scanning use of \frac no blank lines

Here my code that creates the problem in my code: \begin{equation*} Pressure Ratio = \frac{p_{03}}{p_{01}}, Mass Flow Rate = \frac{\dot m \sqrt{R T_{01}}{p_{01} d^2}, Specific Heat Capacity = \frac{...
3
votes
1answer
82 views

What is the TeX code for this character? [duplicate]

I'm aware of the command for just the regular sigma: \sum_{{a,b \geq1}} How do I add the second line with a \geqb?
1
vote
1answer
53 views

How to change the fontsize of equation for the entire book in one command line not to do it for every equation

I have a book with the font size of equation smaller than that of text. Please look at how small $\pi$ compared to the rest: \documentclass[openany]{book} \usepackage{amsbsy} \usepackage{changepage} \...
2
votes
2answers
110 views

Subnumcases as a part of align

I am using the following code: \documentclass{article} \usepackage{cases} \usepackage{amsmath,amsfonts} \begin{document} \begin{align*} \underset{\tau \in \mathbb{R}}{\min} \ \tau \end{align*} \...
1
vote
1answer
34 views

Side-captioned equations not working with hyperref

I have a problem here getting this to work. I have a document where I've manually wrapped the text around a couple figures and math examples (the 2x2 matrix in the attached image). This is done using ...
0
votes
1answer
19 views

Is there a way to find out which markers you have used for labeling figures, tables, equations etc [duplicate]

I've ran into an interesting problem. I normally mark my equations with p1:e1 ,..., pn:en, e.g. \label{p1:e1}. Is there a way for me to view all of the labels I have used previously without the need ...
1
vote
1answer
24 views

Getting a error in the following code “! Missing delimiter (. inserted).”

\begin{equation} \eta_{TEG}=\frac{P_{elec}}{\dot{\mathrm{m}} C_{p ex}\left(T_{in}-T_{out})\right} \label{eq:tege} \end{equation}
2
votes
3answers
111 views

How to create Line-less Fraction followed by other value

May I know how to achieve something similar in the attached picture. Thanks in advance for any hint
4
votes
1answer
209 views

Formating an equation

I have the following equation \documentclass[12pt]{article} \usepackage[a4paper]{geometry} \usepackage{mathtools} \begin{document} \begin{equation*} u(x) = \left\{ \begin{multlined} \...
2
votes
4answers
67 views

Align across cases

I have the following equations: I'd like to align all of the equals signs, as well as the for-all statements and put an explanatory word centered vertically on the left-hand side of each bracket. My ...
2
votes
2answers
59 views

How adjust and align properly different equations

I'm trying to write this in latex: Using the "align" enviroment I'm able to achieve to write this code: \begin{align} &\sum_k y_{ik}= \left\{ \begin{array}{l} ...
0
votes
1answer
34 views

longtable with long equation in acmart latex format

I am finding difficulty in making longtable with long equations in acmart format \documentclass[acmsmall]{acmart} \AtBeginDocument{% \providecommand\BibTeX{{% ...
0
votes
1answer
34 views

Label alignment with expression

I am trying to add a label to an mathematical expression (under Lyx) but the alignment of it with the expression isn't right (slightly under the line of the expression) as shown in the attached ...
3
votes
2answers
110 views

Theorem won't go to multiple lines and is causing text to run off the page

I am writing a paper for a class that has to include a proof. I have started out by listing what I want to prove as a theorem and then I'll go through the process of proving it. However, the code I ...