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
19 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
20 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
29 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
49 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
38 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
20 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} \...
11
votes
3answers
541 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
34 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
49 views

equation in Tikz environment

I have been trying to write this equation in tikz but had no luck. Any ideas?
0
votes
2answers
24 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
117 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
133 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
36 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
31 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
46 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
26 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
107 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
33 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
42 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} \...
7
votes
3answers
181 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 ...
0
votes
0answers
35 views

Fourier transform equation

I wish to run the equation below in my document. But the error message says: ! Undefined control sequence. l.36 \hat{g}(\vec k) = \int \dd ^n{x g(\vec x)}e^{-i\vec x\...
1
vote
3answers
84 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
19 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
21 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 ...
8
votes
4answers
584 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{...
0
votes
0answers
25 views

How to format the following so that it comes in a single line

Q.\textbf{\underline w} \[ \left[ \begin{array}{c|c} {\{(n-2)I+J\}}_{l\times l} & J_{l\times n-l} \\ \hline J^T_{(n-l)\times l} & A_{(n-l)\times (n-l) } \end{array} \right] % \left[ \begin{...
6
votes
1answer
171 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
21 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
41 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
33 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
21 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
39 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
20 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
24 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
34 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
32 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
48 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: ...
6
votes
2answers
215 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. ...
9
votes
1answer
844 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
36 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
28 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
34 views

How to add this heading to list of equations

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
40 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
49 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
55 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
49 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
562 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{\...
4
votes
4answers
185 views

How do I align equations in a multicols environment

I use the following code \begin{multicols}{2} \noindent \begin{equation} F_{besch}=m_{fzg} \cdot a_{trans} \label{eq:trans} \end{equation} \begin{equation} M_{besch}=\sum_{n=...
2
votes
1answer
70 views

Underline inside of enumerate and align

MAIN QUESTION! This is my first question on here so bear with me. I would like to underline my last line of code where it says underline. I have tried to do so as you can see below, but I keep getting ...
0
votes
1answer
32 views

extra line when numbering aligned equations

When using align with a label the equation number appears on a new line when the equation is too long to fit the number. However, when numbering the last of several lines and some of the lines are ...