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
3 votes
2 answers
37 views

Error when using \begin{split} and \end{split} to align equation

The following code gives me exactly what I need as displayed in the image. It's however displaying error messages when I run. How do I get rid of the errors displayed. Below is the code and equation. \...
user avatar
1 vote
1 answer
21 views

How to align multiple equation with numbereing each equation

I've tried the answer of similar question but doesn't work. \begin{equation}\label{pertama0} \begin{aligned} \frac{\partial E}{\partial L^0_{10}}&= \frac{\partial E}{\partial \hat{x}_{n+1}}\\ &...
user avatar
  • 11
0 votes
3 answers
52 views

How to make one page wider to accommodate a long equation on that page

I have an equation (an array with many rows and columns) which is much wider than the text width. Is there a way to make the page as wide as the equation, just for the page that the equation is on?
user avatar
2 votes
1 answer
34 views

Can I highlight an equal sign after a pause in beamer latex environment?

I am working on a beamer presentation with latex. I have a set of equations and I am wondering if there is a way for me to show all the equations and after a pause, circle the last equality sign to ...
user avatar
  • 277
0 votes
1 answer
30 views

One of equations error

I'm writing mathematical paper in Overleaf. I use a lot of equation blocks, but one of them creates additional blank space over and under equation text - in sum 80-90% of the page. Here is the code ...
user avatar
0 votes
2 answers
23 views

How to get a vertical line in math mode in Springer Nature Template

I am trying to get the following equation: To do so, I am using the code as shown below: \documentclass[pdflatex,sn-mathphys]{sn-jnl} \begin{document} $\mathbf{P(W|T)}$ \end{document} However, ...
user avatar
  • 320
0 votes
0 answers
106 views

How to draw equations (not funtions) in LaTeX

I want to draw this equation in LaTeX using tikz (maybe with pgfplots): (x^2+y^2) + \frac{0.7}{\sqrt((x-0.3)^2+y^2)} + \frac{0.3}{\sqrt((x+0.7)^2+y^2)} = 2.5 This is from geogebra: I tried gnuplot: \...
user avatar
1 vote
0 answers
28 views

Writing norm2 of a column vector

I am writing my first Latex document and I am having some struggles. I need to write a cost function as the norm2 of a column vector and I would like to have a numbered equation label. So far I have ...
user avatar
3 votes
1 answer
68 views

How to add line numbers to equations (amsmath)

I have several equations spanning multiple lines, using \begin{equation} \begin{aligned} to give each of them one equation number. For example: \begin{equation} \begin{aligned} \forall &a. \\ &...
user avatar
0 votes
0 answers
21 views

How can I enter this equation in latex? [duplicate]

May i ask, how can I enter this equation in latex?
user avatar
  • 127
2 votes
1 answer
27 views

IEEEeqnarray - Centred numbering

I love IEEEeqnarray, but after searching through Stack I haven't found a good solution for grouping equations under a single number which is vertically centred with the rest of the equations. ...
user avatar
3 votes
2 answers
79 views

Equation environment already defined

I am using iopart.cls and iopams.sty and no other mathematical package as by the guidelines here: https://publishingsupport.iopscience.iop.org/questions/latex-template/ However, I am getting an ...
user avatar
  • 31
3 votes
1 answer
81 views

How to align arguments in a function?

I've been (unsuccessfully) trying to re-write the below image in Tex and encountered several problems : how to align the \varphi functions how to draw the vertical bars This is what I am trying to ...
user avatar
  • 57
0 votes
0 answers
31 views

Creating a Flower formula (Chemistry)

Can someone help me create the following formula? I need some help for creating the part denoted by red line
user avatar
0 votes
1 answer
29 views

Multiple alignment for multiline equation within itemize environment

I'd like to have a multiline equation. Within this equation there should be 2 alignments. So the last (in front of 'fff') '+' sign should be aligned to the 'eee'. And 'aaa' from the first item should ...
user avatar
0 votes
2 answers
46 views

Equation numbering in a book (Chapter.Equation) [closed]

I am writing a book using LaTex and \documentstyle[openbib,12pt]{book} How do I arrange for equations to be numbered as (5.17) where 5 is the chapter number and 17 is the equation number within the ...
user avatar
0 votes
1 answer
42 views

What is wrong with my equation? [duplicate]

I'm using overleaf to write my paper. There is an equation $$\frac{L_{t_2}}{h_{t_1}}=\frac{L_{t_2}}{o_{t_2}}\frac{o_{t_2}}{h_{t_1}}$$ It shows normally. But when I tried to write it as a multiple ...
user avatar
1 vote
2 answers
30 views

Advice on where best to split the equation into several lines

I am currently working with this long equation: \begin{equation} \begin{split} \mathcal{L} = \prod_{p}^{N} \prod_{i}^{K} f\left(Y_{p}, T_{p} \:\middle\vert\: \begin{pmatrix} \gamma \: ...
user avatar
  • 121
1 vote
3 answers
35 views

How to remove overbraces from vertical equation alignment

I am trying to use an overbrace, like this one: \documentclass{article} \usepackage{mathtools} \begin{document} \begin{equation*} \begin{cases} \dot{\hat{x}}(t)\,=\,\overbrace{f(\hat{x}(...
user avatar
0 votes
0 answers
31 views

Change subscript spacing? [closed]

I have the this equation generated with the following latex body code, and I want it to look similar to the 2nd equation as the spaced out a^3b etc looks much better. Any help regarding this would be ...
user avatar
3 votes
1 answer
39 views

Align multiple equations IEEEeqnarray

I am trying to align multiple equations left in a two column environment. The equal signs are aligned properly, but are more centered in the column, rahter than aligned on the left side of the column. ...
user avatar
0 votes
0 answers
60 views

The command \eqref doesn't seem to work

I'm writing a thesis in the Overleaf environment, with several .tex files. In the main one that includes all the rest I have \usepackage{amsmath}. Here are all of my packeages used: \documentclass[MSc]...
user avatar
  • 1
0 votes
0 answers
19 views

get rid of numeration when listing a matrix

how do I get rid of the extra numeration (1) in the bottom right corner? \begin{itemize} \item[-] when we look at the identity matrix: \begin{equation} \begin{pmatrix} 1 & 0 & 0\\ 0 &...
user avatar
  • 103
0 votes
1 answer
22 views

How to add text to the \leftrightharpoons symbol in equations?

Following directly on from the question https://tex.stackexchange.com/questions/454010/left-right-harpoon-arrow-with-text/651690#651690" and referring to the images below (@egreg's image in the ...
user avatar
0 votes
0 answers
30 views

Related to raise to power in equation

I am trying to have raise to power in the following equation, but it gives me the error: Missing \right. Inserted Extra \right. Here is the latex code for the equation: \begin{multline} P_{out} = \...
user avatar
  • 1
2 votes
1 answer
41 views

Align equals signs between algorithms in equation

I currently have code similar to: \documentclass[openacc]{amsart} \usepackage[linesnumbered,ruled,vlined]{algorithm2e} \let\oldnl\nl% Store \nl in \oldnl \newcommand{\nonl}{\renewcommand{\nl}{\let\nl\...
user avatar
  • 169
4 votes
1 answer
67 views

\eqref generates name of the equation instead of number and gives "Undefined control sequence" error

Command \eqref just shows the name of the equation (SBmetamodel) instead of the equation number (which is shown next to the equation), and I get the error: "Undefined control sequence. ...as ...
user avatar
0 votes
1 answer
44 views

Equation position equation LaTeX [duplicate]

I'm having trouble with the LaTeX equation numbers. For example, I type: \begin{equation}\label{eq2} A = \begin{pmatrix} a_{11}x_{1} & a_{12}x_{2} &...
user avatar
0 votes
1 answer
39 views

Mathaccent in math mode

I wrote the following line of codes: \documentclass[12pt, a4paper, oneside]{Thesis} % Paper size, default font size and one-sided paper \usepackage{hyperref} \usepackage[printonlyused]{acronym} \...
user avatar
  • 3
0 votes
3 answers
65 views

How to enter this equation in latex? [duplicate]

How to enter this equation in latex?
user avatar
  • 127
5 votes
1 answer
219 views

not showing bengali equation as output in latex

\documentclass[a4paper,12pt]{book} \usepackage[inner=1.5cm, outer=1.5cm, top=1.5cm, bottom=1.5cm]{geometry} \tracinglostchars=2 \usepackage[bidi=basic,layout=sectioning]{babel} \usepackage{fontspec} \...
user avatar
  • 73
1 vote
1 answer
26 views

How to Label Equation with Tag by Number

For example, if I write a code as follows, The equation with tag is \ldots \begin{align}\label{E:1} 1 + \tan^2x & = 1 + {\sin^2x \over \cos^2x} \nonumber \\[5pt] & = {\cos^2x + \sin^2x \over \...
user avatar
  • 125
3 votes
2 answers
99 views

Correctly aligning equations on different lines

I am sorry to ask such a basic question, but I haven't found a satisfactory answer in my search (if there is indeed one). I have the following MWE \documentclass{article} \usepackage{amsmath} \begin{...
user avatar
  • 1,609
3 votes
1 answer
55 views

Help to write a formula

I want to write this equation from the image. This is what I tried but I am getting an error about math mode only \begin{equation} v_\pi(s) = \mathbb{E}(G\textsubscript{t}\mid S\textsubscript{t} = s) ...
user avatar
2 votes
2 answers
65 views

shorter method of writing \text{}

I use \text{} a lot for subscripts as it make equations look cleaner. It is however a giant pain to write something like x_{\text{subscript}} several times over. Not to mention that it makes the latex ...
user avatar
  • 41
0 votes
0 answers
42 views

mathtools and hyperref badly interacting?

I would like to: (a) have no equation numbers for non-referenced equations; (b) have hyperlinks on equations and other constructs (lemmas/theorems/etc.); (c) use autoref so that the string for the ...
user avatar
  • 9,030
-1 votes
1 answer
57 views

Shortcut for replacing $$ $$ with align or equation?

I usually use the $$ sign to do in-line equations. But often I realize I want to number it, or turn it into a sequence of aligned equations. I then manually copy and paste the equation out of the $$ $$...
user avatar
  • 131
0 votes
0 answers
18 views

Equations in \align , starts from new page [duplicate]

I am using align, for equations. The number of equations are many and cannot fit in the remaining page space, hence it breaks and starts from a new page. I don't want the equations to start from a new ...
user avatar
0 votes
1 answer
18 views

How can I add a corner label to the upper left corner of the entire matrix, like the format in the picture

How can I add a corner label to the upper left corner of the entire matrix, like the format in the picture
user avatar
0 votes
0 answers
26 views

Grey area in Overleaf which moves cursor out of a section when using tab

When I write \begin{equation} \begin{aligned} ... \end{aligned} \end{equation} in Overleaf, for some reason, everything between the \begin{equation} and \end{equation} become momentarily ...
user avatar
0 votes
1 answer
29 views

Labeling Equations in TOC

I am working with a class file that creates a new TOC for a new list as follows: \chapter*{\listname\ #1} \addcontentsline{toc}{chapter}{{\texorpdfstring{\MakeUppercase{\listname\ #1}}{\...
user avatar
0 votes
1 answer
26 views

Equation with two sums but just one min and max

I started with equations now and I got a problem with two sums in a row which should have the same symbol for minimum and the same symbol for maximum obove / under the sum symbols. The min and max ...
user avatar
  • 111
1 vote
1 answer
38 views

Changing the \sum symbol in fraction [duplicate]

I would like my \sum symbol to appear like on the right side of the equation (n on top and i on the bottom) rather than be on the side, however when I use \frac, the shape of \sum changes as I tried ...
user avatar
0 votes
1 answer
30 views

How do I write two equations next to each other and reference them?

One describes a phenomenon for oxygen and the other for hydrogen: I write these side by side with the code: \begin{table}[H] \centering \begin{tabular}{lr} $\frac{\...
user avatar
  • 105
1 vote
0 answers
26 views

Math equation with numbering [duplicate]

I am trying to number my equation. I am using the following code \begin{equation} \label{equ1} a_1^2 + a_2^2 = a_3^2 \end{equation} But the result is (0.1). But I want (1) like this. Can anyone tell ...
user avatar
3 votes
2 answers
182 views

Big optimization expression spanning both the columns of IEEE paper

I have tried the following code: \[ \begin{alignedat}{2} & \text{Find} & & X \\ & \text{subject to} & \quad & \mathcal{A}(X) = y \\ & & & X \succeq 0 \\ & & ...
user avatar
0 votes
1 answer
77 views

How to type this optimization problem in latex without equation number

I am writing a paper in IEEE Transactions on signal processing. I need to write the attached optimization problem in one column of the paper without the equation number. The code I have tried is \...
user avatar
0 votes
0 answers
30 views

latex macros \def defining multiple command for equations, math mode disappear [duplicate]

Minimal working example: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \title{} \def\bel#1\eel{\begin{align}\begin{split}#1\end{split}\end{align}} \begin{document} \...
user avatar
0 votes
2 answers
30 views

how do I get an equation to look like this? \begin{cases} doesnt seem to do exactly

In a paper I'm reading, theres this equation which I'm trying to copy into my notes, but cant quite see how to format it like such? I can do: S_{i}^{(l_k)}=\left\{ [f_j^{(l_k)};v_{j}^{(l_k)}-p_i]^T \...
user avatar
  • 137
0 votes
0 answers
38 views

solving equations in a tikz picture

I am trying to use the following code but automate the inputs $5$ and $6$ to represent $ax^2 +bx +c$ with the product being c and the sum being b. \documentclass{article} \usepackage{tikz} \...
user avatar
  • 405

1
2 3 4 5
113