Stack Exchange Network

Stack Exchange network consists of 174 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.

1
vote
2answers
66 views

Equation label is wrong

I am currently trying to cite an equation array, but it is citing me the next equation, weirdly (see figure). Can anyone help me? I am using the following code: Considering a logarithmic ...
3
votes
2answers
61 views

How to align negative and positive values inside an align environment?

I have the following equation inside an align and split environment but I would like to align the values of the constants below (of c_1, c_2 and c_3) even with the negative sign. \begin{align} \...
0
votes
1answer
20 views

Equations: Using brackets across “align” command [duplicate]

I have a lengthy function that is messing up: \begin{align*} D(a,z) &= \frac{1}{\sqrt{\pi}}2^{\frac{a}{2}}e^{-\frac{z^2}{4}} \left(\cos \left(\frac{\pi a}{2}\right)\Upgamma \left(\frac{a+1}{2}\...
1
vote
2answers
83 views

equation and sub equation not properly formatted

I want to write down this equation in latex. \bar\Omega_t=\bar\Sigma_t^{-1} =[G_t\Sigma_{t-1}G_t^T+F_x^TR_t^xF_x] The code I write down in latex to display this equation is \begin{...
2
votes
2answers
125 views

To write dot product \cdot is not working

I am trying to write the following equation: But when I write this in the equation: \documentclass[applsci,article,submit,moreauthors,pdftex,10pt,a4paper]{Definitions/mdpi} \begin{document} \begin{...
1
vote
2answers
44 views

breqn not aligning first two lines

I have input of the following form (where I have redefined \[ to be \begin{dmath*} and \] to be \end{dmath*}) \begin{dgroup*} \[ A = \frac{1}{T}\left[\frac{2}{\left(\min_{s\in [0,1]}\gamma(s)\...
2
votes
2answers
41 views

How to place point-count information on the line of a displayed equation in exam document class

I was preparing a question paper in exam document class where I am dropping the points at right. Now if I have a displaystyle equation line as the last line of my question, then the points are getting ...
0
votes
1answer
43 views

Second line of equation shifted

How is it possible to move the second line of the equation to begin few spaces to the right like this: So all the after lines will start at the same place. My code looks as following: \begin{align} ...
0
votes
1answer
78 views

Equation in Latex

I am new in the latex. I am trying to write an equation in the latex. I have searched a lot of question regarding equations and tried all possible solutions but I m not getting what I want. I also ...
2
votes
2answers
75 views

Main label in a system of equations

I'm trying to create a system of equations with sub-numbering using the \begin{subnumcases} environment. Everything works perfectly but I would need to place a label somewhere in order to ref the ...
2
votes
1answer
24 views

How to keep a uniform size of the brackets in an equation?

I am new to latex. I have to type a very long equation in my document. I try the following and it produces the long equation but I cannot produce the same size bracket. \documentclass{book} \...
12
votes
3answers
729 views

How to write dots in circle in equations

I do not know if I can write this kinds things in equations in latex. The two answers are both excellent. I do not know how to choose. They are both standard answers for me.
2
votes
1answer
47 views

Get the subsection using \eqref if the equation isnt't in the current subsection

As the title says, I want to define an eqref command such that if the equation is in the current subsection then it produces the usual (1) and that if the equation is in another subsection then the ...
1
vote
1answer
65 views

equation in Tikz environment

I have been trying to write this equation in tikz but had no luck. Any ideas?
0
votes
2answers
127 views

Multi-line equation inside itemize

I'm creating a homework for college students and I have five expressions that I need to itemize. Here's a MWE. \documentclass[letterpaper,12pt]{article} \usepackage{amsmath,amssymb,enumitem} % ...
5
votes
1answer
127 views

Multi-line long equation vanishes few brackets

\begin{eqnarray*} M \to {P_j}:{} & \left\{ {{{\left( {{n_1},{n_2},{{\left( {profile,{N_i},{N_i}\left( {\mathop \leftrightarrow \limits^{K_S^i} } \right){P_j},\\ & \# \left( {{N_i}\left( {\...
3
votes
3answers
145 views

How to add a line inside an equation

I would like to introduce a line break in text line inside an equation. What I have done is: \begin{align*} \frac{\text{Reactividad\ relativa \\ Hidr\'ogeno\ secundario}}{\text{Reactividad\ ...
1
vote
1answer
88 views

getting error in greater than and less than in equation

getting error in this equation \begin{equation*} r = \left\{ \begin{aligned} & a_p \text{if } \sum\limits_{p=1}^L a_p &>& \sum\limits_{q=1}^s a_q \\ & a_q \text{if } \sum\...
2
votes
1answer
36 views

Spacing between equation number and its description in a custom listofequations page

I'm currently in the process of writing my thesis and have been asked to have a list of equations are the start of write up similar to that of a list of figures or list of tables. When compiled, the ...
3
votes
2answers
51 views

matching braces from one case to another

How would you match the lines between two cases within the same equation environment? What I'm having is: \begin{equation} \begin{rcases} \sum_{I=1}^{NP} K_h (x - x_I; x) \Delta x_I &= 1 \\ \...
1
vote
1answer
55 views

Height of equation number in multiline equation

I have found some satisfying start of answer to my problem on this related post` Sadly with the code displayed hereunder, the equation number is displayed on the same level as the last equation line (...
3
votes
2answers
129 views

Clever references to equations

In this question the author expressed the following desire if Corollary 1.2 contains parts (a) and (b), I want \cref to output “Corollary 1.2(a)” when referring to that theorem part. Horever, in ...
0
votes
2answers
63 views

connecting arrows under equation

I am trying to create this equation. The arrows are pointing at the subscripts! I managed to write it but it is not quite right as you can see.
0
votes
1answer
47 views

How do I keep the spaces in equations when aligning them in odd places?

In the middle example the space between the $\equiv$ and the right side is wrong. Can I not put the alignment & anywhere I want? \documentclass[11pt,a4paper]{article} \usepackage[utf8]{inputenc} \...
9
votes
3answers
246 views

Is there a way to have two or more equations on one line, each separately numbered and equal signs vertically aligned?

I will start with examples in order to more easily explain what I'm after. The first example shows how I would like four equations arranged. The vertical alignment of the equal signs in each row is ...
2
votes
3answers
4k views

Basic: How can I stop centering a text?

I'm starting with LaTeX and have a basic question regarding formatting of paragraphs. I wanted to caption an equation mid text, but I couldn't find any convenient way without the equation floating ...
2
votes
2answers
38 views

Unable to shift equation numbers to right

I am trying to LaTeX my old hand written notes. I am finding several glitches. Consider following code. How can I shift equation numbers to right. I used fleqn and align and flalign unsuccessfully. I ...
1
vote
1answer
28 views

Center justification of optimization equations in beamer environment?

I am writing a general optimization problem using beamer environment. However, my objective function and all other constraints are right justified. Since some constraints equations are big as compared ...
9
votes
4answers
1k views

Equation with vertical arrow

How I get this equation with vertical arrows that help describe some of its terms? \begin{equation*} 0 \leq F = \underbrace{\sum\limits_{i=1}^{n}(y_i - \overline{y})^2}_{(n-1)s_y^2} - 2b \underbrace{...
6
votes
1answer
251 views

How to write a list of formulas?

I am writing a list of physical formulas, so I create this MWE: \documentclass[12pt,a4paper]{article} \usepackage{amsmath} \usepackage[english]{babel} \usepackage[utf8]{inputenc} \usepackage[T1]{...
0
votes
1answer
73 views

Subequations in one line with clubbed numbering

I am trying to write a bunch of short equations (subequations, actually) in a single line, and have their numbering clubbed and mentioned at the side end, mentioning them as a range for three or more ...
2
votes
2answers
46 views

Additional space cells in tables with equations

I try with some recommendations to add vertical space for cells with equations, and I couldn't achieve it. Here is my MWE: \documentclass[12pt,a4paper]{article} \usepackage{array} \usepackage{...
1
vote
1answer
38 views

Automatically resize equations

I want to know if there is a tool to automatically resize the equations if they are longer than \pagewidth. The whole story is that I am compiling my thesis in b5paper, but I want to also produce a ...
1
vote
1answer
76 views

Problem for bold symbol in math mode with iota [duplicate]

I am using \mathbf{} for include bold symbols in my equation. It works fine with all symbols with the exception of \iota. I tried to use equation environment and to exclude subindex. The following is ...
1
vote
3answers
65 views

How to left align text inside a gathered equation environment

I am currently trying to add an equation to my thesis and due to the length of it I would like to use short hand to split the equation up. What I would like to achieve is a equation with two line ...
1
vote
1answer
22 views

Problem using \in within rcases

Consider the following MWE: \documentclass{article} \usepackage{mathtools} \begin{document} \begin{equation} \label{eq:cond} \begin{rcases*} % this fails % ...
1
vote
1answer
36 views

How I can allow displaybreak long equations?

I have many long equation in my theses. There are problems in my pdf file. How it is possible displaybreak equations throughout an article? \documentclass{article} \usepackage{amsmath} \...
1
vote
2answers
65 views

How to obtain multi-line norm like representation

I am trying to write a multi-line equation that must be represented by a norm. The problem is that when I try to use multi-line equations, I am not able to obtain the norm display similar to \lVert...\...
1
vote
1answer
35 views

how to write three equalities in the same line and another under the first equality

how to write three equalities in the same line and another under the first equality? like this: A = B = D = E what I want is that E exactly under B
1
vote
2answers
125 views

Line break within an align-environment

I want to write a long calculation with the align-environment. One of the lines is too long for one line though, so I want it to split into two lines , with the second line right-attached. Example: ...
7
votes
2answers
436 views

How to insert curly bracket in multirow table

I am constructing a table, where I have a multirow spanning 3 rows. Inside this multirow I would like a big curly bracket that spans the 3 rows. Unfortunately, I have not been able to get it to work. ...
11
votes
1answer
929 views

Fix ugly kerning in equation subscript

I'm beautifying some HW solutions for the upcoming semester, and came across a kerning issue \documentclass[]{article} \usepackage{amsmath} \begin{document} \[C_{in} \ \ C_{out} \ \ C_{eff}\] \end{...
0
votes
2answers
41 views

Forcing matrix equation to fit inside the margins

I have the following matrix equation. However, the equation doesnt perfecty fit inside one line. The matrix goes right over the edge but also doesnt start at 0cm at the left. Does someone has one idea ...
0
votes
1answer
35 views

Vertical alignment of different systems of equations

I would like to have the following systems horizontally aligned (the misalignment is due to some of the equations having a fraction, others not). Basically, I want (for example) all the $q_1$ on the ...
1
vote
0answers
41 views

How to add this heading to list of equations [closed]

I generated a list of equations in a report class with this code in preamble: \DeclareCaptionType{myeqcap}[][List of Equations] \captionsetup[myeqcap]{labelformat=empty} Now, I want to add this ...
1
vote
1answer
48 views

Add explanation to equation

I want to add equation in which there is an explanation of what means the symbols used in the equation. So far, I have this And I want to have somethihg like this: Can anyone help me, please? My ...
3
votes
2answers
55 views

Equation in footnote causes empty footnote on next page

I have a footnote in a standard article document that happens to be at the bottom of a page, and the footnote ends with an equation environment. This causes the footnote to continue on the next page (...
1
vote
1answer
67 views

The correct layout for mathematical derivations

I am writing my 2nd TeX document. Therefore I am still at the beginning. I have a chapter inside my Appendix, which is dealing with small derivations. However, I am not quite sure if my layout/form is ...
3
votes
2answers
51 views

How can I force a custom command to take effect even when called in math environment?

I want to define a new command that is similar to \addstackgap from stackengine package except that it has an optional argument. The command modifies the small stack gap so that the preferred amount ...
7
votes
2answers
627 views

How can I label terms in an equation using straight lines?

Amsmath and mathtools provides two macros to label terms of an equation: \documentclass{article} \usepackage{amsmath} \usepackage{mathtools} \usepackage{amsfonts} \newcommand{\E}[3][]{\mathbb{\...