Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

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
0 votes
0 answers
20 views

Right bracket is not showing when equation breaker is used [duplicate]

I'm using a big equation. Hence, I used an equation breaker to break it. But I notice the right bracket are not showing anymore. \begin{multline}%\begin{equation} \label{eqn:eq0067} d_{h}\left(G,P\...
user836026's user avatar
0 votes
1 answer
58 views

The Theatre Ticket [closed]

\begin{tikzpicture}[scale=0.8] \draw[->] (0,0) -- (10,0) node[right] {Quantity}; \draw[->] (0,0) -- (0,10) node[above] {Price}; \draw (2,8) -- (8,2) node[midway,below] {Demand Curve}; \draw (1,9)...
October's user avatar
-1 votes
1 answer
80 views

Existence and uniqueness [closed]

Sorry, I am new to LaTeX. How can I make this figure or something similar from Nagle's Differential Equations book in a TikZ code?
Carlos Eduardo Velez Cantos's user avatar
1 vote
1 answer
20 views

ending bracket in Latex error for multi line equation [duplicate]

I found the link eqnarray or align where it is suggested to not use eqnarray. so I want to know how this equation will work in multiline with the last closing square bracket. \begin{align*} \frac{\...
David's user avatar
  • 13
3 votes
2 answers
264 views

Alternative for an exponent's position

Is there an elegant way to adjust the position of an exponent for a particular parameter ? For instance, in this image, we can see that the exponent is too close from the main letter R and the indexes ...
Waxler's user avatar
  • 776
3 votes
2 answers
140 views

How do I create a multiline equation with one braces which is part of a bigger equation?

How do I create a multiline equation with tall curly braces in Tex? split causes the braces to be split in two lines which is not something I want. See the pictures below to understand the problem. ...
rupsagar's user avatar
2 votes
2 answers
49 views

Equation Padding/Spacing in Table

Having trouble fixing the bottom spacing with these display style equations in the table. What's the best way to fix this without manually entering spaces myself? \documentclass{standalone} \begin{...
tangulo's user avatar
  • 87
0 votes
0 answers
43 views

Pandoc, equations and OpenOffice writer

I found an elegant way to convert .tex files to .docx format. The text rendering is really good, but some things are missing: The equations are not displayed: I think it is a problem with OO Writer, ...
user3204810's user avatar
  • 1,489
0 votes
1 answer
23 views

How can I remove large horizontal space in an aligned-environment?

Simple question, actually: How can I remove the large horizontal space between "f" and "\in" here: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation} ...
0xbadf00d's user avatar
  • 523
4 votes
2 answers
58 views

Additional line created when using equations in algorithm2e

Consider the following example, placing equation*s inside of an algorithm environment: \documentclass{standalone} \usepackage{amsmath} \usepackage{algorithm2e} \LinesNumbered \begin{document} \...
hfhc2's user avatar
  • 894
0 votes
1 answer
47 views

LaTeX equations formatting problem

I am trying to build the following equation in LaTeX without the text between the two sections. However, I can't do it. I would be super grateful for help. \begin{align*} \max_{e, s} \hat{U}(b, \...
July's user avatar
  • 3
4 votes
2 answers
150 views

“alignedat" will adjust the line space automatically but "array" won't in LaTeX?

From the post, the array is better than alignedat for aligning the equation. However, it seems that alignedat would adjust the line space but array won't. For example \documentclass{article} \...
Y. zeng's user avatar
  • 1,983
3 votes
2 answers
94 views

Does "array" use smaller font in equation compared with "alignedat" or "aligned" in LaTeX?

Sometimes, it is more convenient to use array to align something in equations in LaTeX. However, the array displays more smaller font compared to the alignedat or aligned. \documentclass{article} \...
Y. zeng's user avatar
  • 1,983
2 votes
3 answers
113 views

How to center numbers in "alignedat" in LaTeX

When using alignedat to center numbers in equation. \usepackage{amsmath} \begin{document} \begin{equation} \left. \begin{alignedat}{5} a=&\frac{\frac{123 \sqrt{\frac{45}{6}}}{...
Y. zeng's user avatar
  • 1,983
1 vote
1 answer
55 views

How do I italicize the variable "s" in the following equation?

The referee of my manuscript has asked for the letter 's' in the following euqation to be italicized. From search, I found that in order to italicize math in an equation, I must use \mathit. The ...
wander95's user avatar
  • 178
0 votes
0 answers
24 views

How can you control the vertical space before and after an equation (on its own line) in a figure caption?

I want to insert an equation (on its own line) in a figure caption. The default spacing before and after the equation in the caption looks too big to me. How can I adjust the spacing before and after ...
Naysh's user avatar
  • 187
2 votes
1 answer
27 views

Aligning equations left and on one character

To establish a formula in chemistry, I would like everything to be aligned to the left. For the last three, I would like them to be aligned with the "=" sign : most of my equations are ...
Nicolas's user avatar
  • 1,205
1 vote
1 answer
44 views

How to define width of flalign environment?

I am trying to get the equation in the flalign environment to be left aligned with the text in the tabular environment above it, and to have the same width -- 0.8\textwidth. The equation is a ...
vardo 's user avatar
  • 11
0 votes
0 answers
9 views

how do I get a numbered equation inline? [duplicate]

This is a tricky one that I didn't manage to get right. I have some text followed by an equation environment. I want to include it so that the equation is numbered and can be referred to, however, I ...
kloop's user avatar
  • 9,704
6 votes
2 answers
173 views

I have an array inside of equation and aligned, not recognizing math mode

I am trying to create a bracket enclosed matrix where the rows and columns are labeled. My attempt is: \begin{equation} \begin{aligned} &\begin{array}{*{7}{p{.8cm}}} \...
akb427's user avatar
  • 63
0 votes
1 answer
26 views

How to align text to the left side of a page an equation to the middle, while both reside on the same line?

In case the title isn't clear: I need a bit of text and an equation (for other cases, in the provided picture I had other text) to reside on the same exact line, while having the text be aligned to ...
Raiden's user avatar
  • 83
4 votes
4 answers
798 views

Long equation doesn't fit within text block

Question: I have been typing a very long equation but it doesn't fit on the page. What I have provided for the following MWE is for the document class article for the landscape page. My original page ...
SandyM's user avatar
  • 2,825
2 votes
2 answers
101 views

Automatic line break in align environment

I have the following problem. I am currently trying to convert my paper into an Overleaf Journal template. This has two columns per page. But now my equations are getting a bit out of shape. See here: ...
marvelfab12's user avatar
4 votes
1 answer
102 views

different colors for equations with cref

I was working on some equations and wish to have them in a different hyperlink color compared to the rest of the link colors I set in my \hypersetup. Now, it appears this post does what I'm looking ...
Matteo's user avatar
  • 163
0 votes
2 answers
42 views

Left justify the given equation [duplicate]

Question: How can I justify (on the left side) the given equation? MWE \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[width=1.00cm, height=1....
SandyM's user avatar
  • 2,825
0 votes
2 answers
36 views

Is there a better way of typing big equations than this? IEEEtrans

I am writing a journal in IEEEtrans template. I have multiline equation which is not able to fit in one column. So, did the following: \documentclass[final]{IEEEtran} \IEEEoverridecommandlockouts % \...
Shashank Ranjan's user avatar
2 votes
2 answers
168 views

Space before superscript and Subscript

Is there a global macro available to add space automatically before every superscript and subscript in math present in an entire document.
RampSmart's user avatar
  • 125
2 votes
1 answer
232 views

Right side of the equation is a denominator

Below is my overleaf latex code: \documentclass{article} \usepackage[utf8]{inputenc} \begin{document} \begin{equation*} \frac{\partial \log L(\theta)} {\partial\theta_k} = \sum_{i=1}^{n}\delta_i \...
user1916067's user avatar
4 votes
2 answers
116 views

how to reformat vdots to be bigger?

I'm compiling a set of equations in a poster, where I want to use \vdots to indicate a continuation, the code is as follows: \documentclass[portrait,a0b,final]{a0poster} \usepackage{amsmath,amssymb,...
magg13__'s user avatar
2 votes
1 answer
26 views

Relabelling equation numbers assigned by align

When using \align, it labels the equations starting from (1), (2), (3), etc., however I would like the labelling to start (5), (6), (7) etc. . Is there any way I can do this within the \align commands?...
idk31909310's user avatar
2 votes
0 answers
48 views

How to continue equation numbers in different subsections? [closed]

I want to continue the equation numbering in my subsections from different sections in beamer. The example is given below: Section 1 Subsection 1.1 Equation (1-1) % where equation number follows the ...
Muhammad Usman's user avatar
2 votes
1 answer
81 views

Tagging several consecutively aligned lines with one centered tag

I want to reference an equation that is too long to fit on one line, but I do not want the tag to be at the end of the second line. This is the current latex I have: \begin{alignat}{3}\label{eq:...
TimeTravelPenguin's user avatar
0 votes
1 answer
31 views

get the top position of equation or align environment

I want to draw a guide line (see the image below) that starts at the top and bottom of equation or align environments: Here's my try that only works with equation environments: \documentclass{article} ...
user182849's user avatar
4 votes
1 answer
110 views

Equations in two columns and in box does not look too good

First of all, let see what I want. It is the two upper box with two equations in each. and the two boxes at the bottom are what I get from the following LaTeX code: \documentclass[12pt,letterpaper]{...
M. Lemelin's user avatar
0 votes
1 answer
49 views

One label only for align in empheq [duplicate]

I am using the empheq package and use align environement insied of it. For instance, \begin{empheq}[left=\empheqlbrace]{align} a&=b \\ E&=mc^2 + \int_a^a x\, dx \end{empheq} or \begin{empheq}[...
Guuk's user avatar
  • 1,495
1 vote
1 answer
50 views

Superscript on top and subscript on bottom in equation

\documentclass[12pt]{article} \usepackage{amsthm} \usepackage{amsmath} \usepackage{graphicx} \usepackage{hyperref} \usepackage[latin1]{inputenc} \begin{document} \begin{equation} u_{k}^{i} = \frac{\...
MacTavish's user avatar
3 votes
3 answers
191 views

How to measure height of inline equations

How to measure the height of the below inline equation? Here the equation contains the fraction so its height should be beyond the normal text height so I want to measure the exact height of the ...
Uvaraj's user avatar
  • 63
2 votes
1 answer
73 views

Anchoring a tikzpicture centrally for inclusion in text

I've got two diagrams, and am trying to put text in between them on the same line so as to talk about a transformation between them. I'm also trying to be able to reference the diagram as a whole with ...
George's user avatar
  • 215
1 vote
1 answer
37 views

How do you draw square arrows, either above or below from the center of one element in an equation to the center of another?

I have checked other answers, but they are not easily customizable to get the desired behavior. They do not center the ends of the arrow and do not support underlined text in the equation. I have this ...
John Glen's user avatar
  • 131
3 votes
2 answers
1k views

Why there is space in latex equation

I have this equation in latex. \begin{equation} \label{eqn:eq0043} Z{^\prime}_{n+1} = TBMSA(LF(Z_{n})) \end{equation} But it's displayed with space between M and S. I'm not sure why.
user836026's user avatar
3 votes
1 answer
74 views

Center an equation, inside align environment of amsmath, like using gather

In the example given below, I would like the first and third equations to be aligned at the = sign, while the second equation should be centered, like in the gather environment. Using gathered inside ...
NamikazeMinato's user avatar
1 vote
2 answers
59 views

How do I flush a piece of an equation to the right?

I have the following expression \begin{dmath} \int_0^1 y^{\frac{\dd-\ell}{2}-\dd_\p+s-1} (1-y)^{2\dd_\p-h+\ell-1}\\ \pFq{2}{1}{s,s+j}{2s+j}{1-y} \pFq{2}{1}{-h+\frac{\dd+\ell}{2}+\dd_\p,-h+\...
QFTheorist's user avatar
0 votes
1 answer
29 views

Align a set of multiline equations

I read this post: How to align a set of multiline equations It works in some sense but my question seems a little different. This is the print screen of the output that I need: Note that the last few ...
Haoran Chen's user avatar
0 votes
1 answer
60 views

Remove huge empty space before and after an equation

I have this extract from a latex code to define several equations: \begin{equation} \min C = \sum_{t=0}^{Z} (x_t \cdot P^{HPmax} + P_t^{DemandEl}) \cdot \Delta t \cdot p_t \label{eq:...
PeterBe's user avatar
  • 136
-1 votes
1 answer
47 views

How do I write add right angle connectors with comments above terms of an equation

I noticed today the following image on the banner of TEX Exchange. I tried to replicate but I couldn't. Can someone help me replicate the right angle connectors (that's the best way I can describe ...
NMech's user avatar
  • 273
2 votes
1 answer
83 views

Writing multiple equations in a box

I want to write a set of equations with some text like in the following format It should have: Box spanning the complete text width Ability to use enumerate or some alternative Ability to write ...
rnp's user avatar
  • 45
0 votes
1 answer
24 views

LuaLaTeX pdf: Labelled equations in a two columns not working

Trying to get this to come out as two columns of labelled equations however, I've got misaligned columns vertically. Does anyone know how to fix it? \documentclass[11pt]{article} \usepackage{...
Will Duke's user avatar
0 votes
2 answers
26 views

Align equations over 2 columns

I would like to write equation in Latex of the same form as the figure below: I want Eq. 3 centered to Eq. 1 and Eq. 2. The best I have done is this: With this code: \begin{equation} \begin{...
Dylan Chevalier's user avatar
10 votes
4 answers
2k views

How can I write a complex exponential in LaTeX so that it looks presentable?

I have the complex exponential written as: \begin{equation} e^{i \frac{2\pi}{5}} \end{equation} which appears as: I have the complex exponential written as: \begin{equation} e^{-i \dfrac{2\...
Stephan's user avatar
  • 245
2 votes
1 answer
177 views

Help Recreating Equation Format

I am writting my thesis and really like to be able to make some equations like the one shown in the picture but don't know how. Your help is really appreciated. Image taken from : https://...
Oscar Alejandro Arcila Giraldo's user avatar

1
2 3 4 5
123