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.

2
votes
2answers
36 views

problems with vertical alignment of large text inside itemize

I have alignment problems in this type of condition. I set the margin setting for the itemize condition and normally I get a very good result. I would like to get a text aligned for example with ...
1
vote
2answers
72 views

How do I write two equations side-by-side, with each equation numbered and with text in between?

The closest I could get is: \documentclass{iopart} \usepackage{iopams} \usepackage[utf8]{inputenc} \usepackage{mathtools} \begin{document} \begin{minipage}{.38\textwidth} \begin{...
12
votes
1answer
310 views

Warn me when the equation number is pushed to the next line

Is it possible to let amsmath warn me when the equation is too long and pushes the number to the next line? I expect either it prints Equation (1) too long to console or it makes the (1) part red. \...
8
votes
1answer
176 views

Animating rows of equations to look like manually written by hands step by step

I want to animate rows of equations to look like they are manually written by hands on a piece of paper. Requirements The equations must be decorated with minimal numbers of cluttering animating ...
3
votes
3answers
46 views

Align horizontal cdots in an alignat environment

I am using alignat environment to align a set of equations which practically describe the same thing, but for different quantities. Therefore I decided to skip the common things and replace them with \...
1
vote
1answer
58 views

Why the specific symbols don't show up in my equations?

I was unable to get the equations with specific symbols to appear correctly. The code is like this \bm{\sigma}(t)=\bm{\sigma}^{vol}+\bm{\sigma}^{dev}(t)=K\text{tr} ({\bm{\varepsilon}})\bm{I}+2\int_{...
0
votes
0answers
54 views

beamer doesn't show equations

I am trying to create equations in beamer using this code \documentclass{beamer} \usepackage[utf8]{inputenc} \usetheme{Madrid} \usepackage{amsmath} \title{Amsmath example} \author{Andrew} \date{...
0
votes
1answer
89 views

What LaTeX version should I download and use [closed]

I just want to build math formulas that look nice, no documents, no books. Thanks
4
votes
1answer
57 views

What the error in writing this equation by latex?

\begin{eqnarray*} f(\lambda x+(1−\lambda)y)\leq \lambda f(x)+(1−\lambda)f(y) \end{eqnarray*} What the error in writing this equation by latex? the oregenal equation
0
votes
0answers
19 views

Using fraction in case makes small letters [duplicate]

I have wrote the following in LaTeX: \begin{align} & \tan(\Gamma_{4}) = \begin{cases} \frac{x_{T3} - x_{T2}}{y_{T3} - y_{T2}} & \text{if} \qquad x_{T3}>x_{T2} \\ \\ \frac{x_{T2}-x_{T3}}{...
0
votes
0answers
21 views

LYX help indenting to the right of the equals sign

I am very new to Lyx and cannot figure out how to shift my equation to the right of the equals sign. I have an equation that long and so goes over two lines (using inline formula) and I would like to ...
0
votes
1answer
24 views

Give number to entire set of numbered equations (without this number to be displayed

I really can t find an answer to this question (so it just might be a super stupid question or...) but how can we give to a numbered set of equations a "supra" number without this number to be really ...
1
vote
1answer
44 views

Enumerated optimization problem

I'm writing my thesis and I would like to know how I can enumerate each line of an optimization problem. I've written this. Thank you. \documentclass[11pt,a4paper,fleqn]{epm-bs} \usepackage{...
0
votes
1answer
32 views

Wrapping text around a displayed equation2

I found this solution to explain some details of some equations. In the first case I added \begin{minipage}[h]{0.95\textwidth}..... while the second case is taken from the previous discussion. I'm ...
2
votes
3answers
72 views

Trouble with long equation in LaTeX

I'm using the following packages: \usepackage{mathrsfs} \usepackage{mathtools} \usepackage{amsmath,latexsym} in order to write the following equation. \begin{eqnarray*} \frac{\partial\mathscr{L}}{\...
-2
votes
1answer
48 views

How to write these equations [duplicate]

I want to typeset these equations :
6
votes
1answer
85 views

(easy?) Matrix with wide blocks

I'd like to create a matrix like this: \documentclass{article} \usepackage{amsmath} \begin{document} $$ \begin{bmatrix} a & b' \\ b & D \end{bmatrix} $$ \end{document} but I'd like ...
2
votes
1answer
43 views

Equation numbering with subscripts

Could anyone tell me, how can I obtain an equation numbering as displayed in the textsample? I am talking about (4.1)_\pm.
0
votes
0answers
16 views

Placement of the equation number in multiline equation

I would like the first number of the equation to appear in the second line without having to make unnatural artifices. The image has been produced using the following code: \documentclass[preview]{...
1
vote
1answer
37 views

How to center the first column of equations in two columns?

I have a set of subequations that I've arranged into two columns using alignat, but currently the subequations are centered on the page. Is there a way of centering the first column of equations, so ...
2
votes
3answers
80 views

Aligning symbols underneath each other neatly

I'm trying to align the equal and greater than signs underneath each other but can't seem to get them aligned properly (see image attached). How can I align them correctly? I have included my lines of ...
0
votes
2answers
47 views

The equation is very big

My equation is too big, does not enter the sheet, how do I solve it? \begin{equation} \label{ecuacionTrOpti} [(lr: 0{.}1, error: 0{.}1),(lr: 0{.}1, error: 0{.}5),(lr: 0{.}1, error: 0{.}9), ...
1
vote
1answer
29 views

Missing characters inserted when using new commands in equations

I'm having a problem that I can't seem to fix. I would like to define a math symbol, and shown in the code snippet, which I use frequently throughout the text. When I want to include this same symbol ...
0
votes
1answer
26 views

Spacing of Formula Gets Weird with an Underbrace on One of the Terms

So, I just needed an underbrace in a formula in a Beamer presentation and ended up with some weird spacing between the two plus signs. Any clues how to fix? I looked online already for solutions but ...
2
votes
1answer
34 views

circling a parameter in a formula

How can I insert a circle around a parameter in a formula or in a text as below one:
0
votes
1answer
36 views

symbols in math equations

When I execute the following equation, lambda does not appear in it. But it works in the text if I use $\lambda$. Any ideas? \begin{equation} \label{Eq:3} N(t) = N_{0}\times e^{\lambda \times t} \...
0
votes
2answers
38 views

Using numcases with cases

I have an equation like so: \[ \begin{cases} Eqn1 &= 0,\\ Eqn2 &= 0, \end{cases} \iff \begin{cases} Eqn3 &= 0,\\ Eqn4 &= 0,\\ ...
0
votes
1answer
37 views

Putting equations under a symbol [duplicate]

My LaTeX code is here \documentclass{article} \begin{equation} \nabla_{\theta} \bm{J}(\theta) = \mathbb{E}_{s \sim T^{\bm{\pi}}, a \sim \bm{\pi}_{\theta}} [\nabla_{\theta} \log \bm{\pi}(a | s ) \...
0
votes
0answers
19 views

How to increase the space between two equations written in subequation environment?

I have written the attached optimization problem. But, as it can be seen that equations (1c)-(1j) are very close to one another. I want to add a small space between each equation. What is the neatest ...
0
votes
1answer
46 views

How to start \beginequation at (1) for each proof?

Here is a visual representation of what I am talking about: How do I make it so that at each proof, the counter resets to (1)? Thank you for your answer.
4
votes
1answer
39 views

How to label each equation with some text in a series of equations?

I was wondering what's the best way to create series of equalities, each of which is labeled on the right with some text, as in this example: I would prefer a version that works both with numbers ...
1
vote
2answers
34 views

Why does adding a \Bar in a differential equation cause all these errors?

The line in question: B &= \diffp* { f(x, \Bar{\mu}) } { \Bar{\mu} } { x_{eq}, \Bar{\mu}_{eq} } The second \Bar{\mu} (bolded for clarity) seems to throw everything awry. Omitting the \Bar (just ...
0
votes
1answer
55 views

How to get equations in align environment to have numbers

If I have the following situation \documentclass{report} \usepackage{amsmath} \begin{document} \begin{align*} y &= 2x+3 y &= 7x+4 \end{align*} \end{document} The equations in the align ...
5
votes
1answer
52 views

adding explanations to equations

How can we type equations and add explanations like below? The options that I can think of are: (1) using tags which I don't know how to break them into two lines (2) using minipage, which might not ...
0
votes
5answers
883 views

How to write equation as shown in picture using Latex?

how we write this equation in latex in given form
0
votes
0answers
43 views

mapsto and function definition / definition environment

Ok, these are 2 questions in one, but they are different. I am trying to define a function f mapping from X to Y. So what i am doing is: open the equation environment and writing: $f:X{\rightarrow}Y$....
0
votes
2answers
95 views

How to write following equation

I am trying to write the following equation for my paper. I am familiar with using big braces, but I am not sure how to write multiple lines within the braces as in the image attached. The following ...
0
votes
0answers
22 views

How to give dots or point or period before the number of equation [duplicate]

Hi I want to ask how to give period before the number of equation. For Example A = B + C ...(1)
0
votes
0answers
36 views

What is the best-looking way to produce enlarged mathematical symbols in equation mode using lmodern?

I noticed that there is no way to produce a larger version of the summation symbol when writing equations. This \usepackage{lmodern} \begin{equation} \sum \end{equation} cannot be magnified using ...
0
votes
1answer
38 views

Latex Double subscript with $ with text and equation in the same line

1: How to combine text and equation in a paragraph in latex?
2
votes
1answer
55 views

aligning equalities = one below the other

I have the following source of math text in LaTeX and I would like to ALIGN all the equalities (=) to be one exactly below the other. How shall I do that? See the last 2 lines of this question. Can ...
1
vote
1answer
29 views

Strange centring problem of side by side equations in an enumerate environment

I'm facing a problem in centring two side by side equations correctly inside an enumerate environment. This problem only occurs to me under certain conditions and I can't get my head around it. ...
0
votes
2answers
143 views

! Misplaced \noalign. \midrule ->\noalign

This is the table \documentclass{article} \usepackage{array} \newcolumntype{C}{>{$}c<{$}} \usepackage[skip=0.333\baselineskip]{caption} \usepackage{booktabs, ...
0
votes
0answers
24 views

How to I put open and close braces into my text? (SOLVED) [duplicate]

Whenever I try to put an open brace: { or a closed brace } into my text, it doesnt show in the PDF. For example, I want to write the domain of a function. However, the braces do not show up in the PDF....
0
votes
0answers
35 views

Modify \eqref “equation” to “Eq.”

I would like to modify the \eqref command such that it prints something like "Eq. (1)" instead of "equation (1)". Following this, I get "Eq. equation (1)". How can I remove "equation"?
4
votes
2answers
127 views

why this \newcommand doesn't work in \align environment?

I'm trying to use the 'newcommand' in the environment 'align', for that I created the 'newcommand' \rbel that is an 'arrow' with a 'n' below It. I put all the packages that I'm using. \...
1
vote
2answers
57 views

All letters upright in align mode

I'm using the document class article and I would like to know if there is an easy way to write aligned equations with all letters automatically uprighted. Since my equations contain lot of letters, I ...
2
votes
2answers
170 views

Position figure (left, right, center ) minipage, wrapfigure etc.. and equation

I'm having a problem with the position of the equations and the image. how come the second and third equations have an indentation and are not aligned? (in particular the second one). I think that by ...
1
vote
2answers
35 views

How can I write this equation to fit in a single column using IEEEtran?

\documentclass[journal]{IEEEtran} \usepackage{eqnarray,amsmath} \usepackage{amssymb} \usepackage{mathtools} \begin{document} \begin{align} \max\limits_{\bm{P}^{(k)}} & R_k(\bm{P}^{(k)})=\sum\...
0
votes
0answers
59 views

Minus sign in equation within text

I want to write math equation in the text like y_i E {1 -1}. In LaTeX I am writing like this $y_i \in \left\{1, \textminus 1\right\}$. But its not showing as I want.