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.

-1
votes
3answers
81 views

How to write a multi-line series of equations in LaTeX?

I am trying to write those with $\begin{equation}$ and $\end{equation}$...but exactly this figure is not coming! How to write those in latex s.t. it is written in picture? Thanks!
0
votes
1answer
29 views

How to write the perfect codes for expression in latex as in the first figure?

For this expression I have written : \begin{enumerate} \item $\langle \varphi _{ij},\rho _{kl} = 0$; \item \[ \langle \varphi _{ij},\rho _{kl} \rangle = \begin{cases} ...
1
vote
1answer
44 views

How to resize equations [duplicate]

I am writing an article, and I am having some trouble making my equations large enough to stand out on the page. Does anyone have a suggestion on how to best resize this? Thanks \documentclass[11pt]...
1
vote
0answers
35 views

Some basic questions about LaTeX/Advice on how to learn [duplicate]

I want to learn how to write math using LaTeX. I have a mac and have downloaded MacTex. I have used https://math.stackexchange.com and have learned the very basics of writing with MathJax and I liked ...
2
votes
2answers
59 views

How do you put this long equation in latex?

\documentclass[a4paper,12pt]{report} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage[round]{natbib} \usepackage{pgf} \usepackage{url} \usepackage[english]{babel} \usepackage{...
2
votes
1answer
74 views

LaTeX equation that has white text on a transparent background

I would like to create a LaTeX equation that has white text on a transparent background, so that I can use it on an array of dark backgrounds in PowerPoint/Keynote. \color{white} \nopagecolor \begin{...
1
vote
2answers
44 views

How do you fit my long equation in my page?

I put this long equation in latex in several lines however when I put Latex into PDF the equation did not appear all. Can I help me? \begin{equation}\label{eq:20} \begin{split} \{T_{1} \in (x_{1},x_{...
1
vote
1answer
53 views

Several “equations” in the same line [closed]

\begin {eqnarray} P(N(t)=n)=P(T_{n}\leq t)- P(T_{n+1}\leq t)=e^{-\lambda*t}*\frac {(\lamda*t)^{n}}{n!} \end {eqnarray} I want to write this in latex however and it gives me an error, can I help me?
3
votes
2answers
170 views

How to label equation with particular format?

I have several equations, I want to label equation 1 and 2 to be (eqt1) and (eqt2), any other equations after it use normal equation number, say (1), (2), (3),... How to do it in latex? E.g. \begin{...
2
votes
1answer
29 views

Incorrect horizontal spacing in cases mode

Consider the following MWE: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} \begin{cases} \mathrm{L}^{3a}\mathrm{L}^{2b}\mathrm{L}^{c}&=\mathrm{L}^1 \\ ...
1
vote
2answers
46 views

Fitting equations correctly into page

I have the code \documentclass{article} \usepackage{amsmath} \usepackage{amssymb} \DeclareMathOperator{\Tr}{Tr} \begin{document} \begin{eqnarray} \hat K_0(\omega,\kappa_1) &=& \hat J_1(\...
0
votes
0answers
48 views

Transforming LaTeX document

I have been given a latex document which I need to work from. The document contains many equations which are labelled badly, in random orders. Since there is around 100 labelled equations which I want ...
2
votes
1answer
51 views

Table - equation inside a multirow

I would like to introduce 3 labelled equations inside a table. One of the equations goes inside a multirow. It should look like this: I tried the following code and I get an error. When the equation ...
1
vote
1answer
106 views

Can we automatically assign labels to numbered equations corresponding to their number in the text?

Can we automatically assign labels to numbered equations corresponding to their number in the text? Is there a latex macro that does that, regardless of the particular editor which I'm using? Can ...
4
votes
2answers
114 views

long equation do not show up using \[ .. \] but shows up using \begin{align*}…\end{align*}

I have a long equation, which is 32,497 characters long generated from a computer algebra system. When I write it as \[ equation here \] and compile the latex file using lualatex, the pdf ...
0
votes
1answer
77 views

How to use multiple \label across multiple \align* environments?

For long calculations, I have two align* environments for two equations. I have as an example \documentclass{article} \usepackage{amsmath} \usepackage{nccmath} \begin{document} \begin{align*} \...
8
votes
2answers
148 views

Auto width tcolorbox around equation

I am using tcolorbox to draw boxes around equations. Since the box widths are equal to the equation widths, long titles are often shrunk, hence looking ugly, as shown here: Is there any way to draw a ...
1
vote
1answer
31 views

How to get two columns in equation

This is my code: \begin{align*} \le \left|\frac{(0,128568071\ \mathrm{\frac{W}{mK}})^2\cdot (0,003686\ \mathrm{m})^2+(0,2709520216\ \mathrm{\frac{W}{mK}})^2\cdot (6,348\cdot 3,686)10^{-3}\ \mathrm{m}}...
0
votes
2answers
45 views

Change position of subscript locally

When I write \eta_{PV} in an equation I get a very unpleasent result: I would like to have the subscript lower than the greek letter. I know that can be achieved by \fontdimen16\textfont2=5pt \...
0
votes
2answers
49 views

Keeping equation into one column

My document is using \documentclass[conference]{IEEEtran}. The page is split into two equal columns. Now, when I write this equation $ Weight_W = \begin{bmatrix} W_W-1 & W_W-2 & W_W-3 &...
2
votes
5answers
674 views

How to squeeze a long equation?

I am writing in IEEEtran two-column environment and has a display formula like this \sqrt{\frac{1^{2}}{0.111222}(0.111222\times1.111163+0.066987^{2}\times0.111222)-1}=\sqrt{0.111222}=0.111222. Before ...
2
votes
1answer
62 views

How to write optimization problem in one column of a scientific paper?

Hi, I have utilized the subequation environment in order to write the optimization equations as shown in the attached picture. Furthermore, I have utilized the rule command to insert the horizontal ...
6
votes
3answers
248 views

Two equations on the same line

I have seen some posts close to what I need, but not quite what I need. I would like to produce two equations on the same line with one equation number adjusted to left and one to the right. Both ...
2
votes
2answers
31 views

How to format two equations on the same row but then carry on with one of the equations below?

This is my code: The Lagrangian \eqref{eq:14} differentiated according to \eqref{eq:15} gives the equation of motion in terms of linear acceleration $\ddot{x}$: \begin{align} \label{eq:17} \frac{d}{...
0
votes
0answers
31 views

Equation left align [duplicate]

Why is the equation not left aligned? Thank you \documentclass[12pt,a4paper]{report} \usepackage{amsmath} \usepackage[a-2u]{pdfx} \usepackage[czech]{babel} \usepackage{lmodern} \begin{document} \...
4
votes
2answers
102 views

Aligning two equations on a selected pair of symbols

How can I center an equation according to \Leftrightarrow? I would like the second\Leftrightarrow to be below the first. \documentclass[12pt,a4paper]{report} \begin{document} \begin{equation} x = r \...
1
vote
2answers
38 views

Shifting one equation to the height of two others

Assume the following MWE \documentclass[12pt]{scrartcl} \usepackage{amsmath} \begin{document} \begin{equation} \begin{aligned} y_{it} = \beta_0 + \beta_1 \times X \times W + \alpha_i + \epsilon_{it} ...
6
votes
4answers
315 views

Problems with align* environment

I had some problems while trying to align some equations in an align* environment. The output should be something like this: As you can see, all the + symbols are vertically aligned, and so are the ...
2
votes
1answer
25 views

Error in align environment with equation using union and intersection of sets

I try with the align environment without success to get the following equation: Can anyone help me? Here is my code but I get all the time the error message "Extra }, or forgotten \right" \begin{...
0
votes
2answers
28 views

Missing bracket [duplicate]

I'm having a hard time to figure out what is wrong with the follwoing MWE \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} \langle n,l',l_s',m',m_s'\vert H_{\rm SO}\vert n,...
1
vote
2answers
20 views

How can I align equations on the left in this system?

I have this code for building an equation system in Latex. I would like to align equation to the left. \begin{equation} $$$\left\{ \begin{array}{cc} \begin{aligned} (x_{i},Pa_{j(X_{i})}),\...
5
votes
2answers
68 views

equations with alignement and with centering between alignement

I have the following code: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} &\begin{bmatrix} a'_{1,1} & a'_{1,2}\\ a'_{2,1} & a'_{2,2} \end{bmatrix} &&=...
2
votes
4answers
579 views

What is the best way to write this equation to have a better look?

What is the best way to write the following equation: \begin{flalign} \begin{aligned} &\qquad\qquad\frac{\partial^2 \ell}{\partial \bm{\phi}\partial\bm{\phi}'}=\\ &\sum_{i=1}^{N-N^*} \Bigg(...
8
votes
4answers
357 views

Make equation number in middle with left alignment in latex

I need to place the following bulk of equation to left alignment with keeping the equation number in the middle, however using flalign require set option on/off by line for equation number which at ...
8
votes
3answers
377 views

Commenting an equation with a vertical bar

I want to use a vertical bar to comment on solving a simple equation. Do you know a way to do that with LaTeX ?
5
votes
3answers
178 views

Displayed, single line equations with quantifiers aligned to the left

Is there an environment (or standard framework) to typeset a (single line) displayed equation with a "short" quantification that gives the following result? That is, the "main" part of the equation ...
6
votes
3answers
193 views

Multiline equation with some characters that span all lines

I'm attempting to create a multiline equation with some characters than span both lines. I've come closer by using the amsmath package \begin{multline*} Pr[X\leftarrow DECODE(\Delta;r_1,...,r_\ell) |...
1
vote
1answer
66 views

Long equation spanning two columns in Elsevier template

I am writing a paper using Elsevier template which has two columns format. How can I write an equation that spans over the two columns?
0
votes
3answers
31 views

How to make the following vertical line and two lines of equation inside of bracket

How to reproduce this one? I am mostly concerned with the vertical bar and getting two lines of equations behind it.
4
votes
4answers
69 views

Aligned equations with comments/explanations

In many cases I want to write some aligned equation that goes through multiple lines and add a comment for some of the lines (I think if the comments are short enough then it's clearer than explaining ...
5
votes
3answers
243 views

List of equation aligned on the left and which return to the line

I am trying to write different equations aligned on the left (that's ok) and which go back to the line after the = sign. Also, I do not want any numeration of the equation: that's why there is a *. \...
5
votes
3answers
137 views

Aligning formula problem

\documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} y ={}& \frac{1}{n!} \left\lbrace \int + f(a) \right. \\ &\left. \vphantom{\int} + [h(u)+\phi(x)] + C \right\...
1
vote
3answers
62 views

Miktex compiler fails to compile my presentation

The following link is for a presenation I am preparing for a presentation tomorrow. The surprising thing is that it does not compile using MikTex 2.9. Although the latest updates have been installed....
3
votes
2answers
108 views

Equation - space label

How to make a bigger space between equation and its number? Thank you. \begin{document} \begin{equation}\label{apsidalni} \omega_c = \frac{360}{P} \left[k_{2,1} (15qf(e) + (1+q)g(e,1))r_1^5+k_{2,2}\...
2
votes
1answer
30 views

Align units of equations and units of corresponding legends below each other

I am using this code to align equation units of right the equation and to create nice equation legends. Minimum Working Example: \documentclass{article} \usepackage{amsmath} \usepackage{booktabs} \...
2
votes
1answer
52 views

Putting severals terms below each other

i would like to put equations below each other and have equivalences next to it below each other as well. Usually i use the command &= to put equations below each other, but when i use that it ...
3
votes
1answer
42 views

How to write an Equation with the Units aligned off right and adapted Bracket Heights around the Unit?

Assumed I have this MWE to align the units off right: \documentclass{article} \usepackage{amsmath} \usepackage{siunitx} \makeatletter \providecommand\add@text{} \newcommand\tagaddtext[1]{% \gdef\...
1
vote
1answer
23 views

Equation overflowing overfull \hbox [duplicate]

I have a question about showing C++ code in LateX When I do the following, the C++ goes past the page. Is there a way to fix this? \documentclass{article} \newcommand{\dd}[1]{\mathrm{d}#1} \...
3
votes
1answer
200 views

What's wrong with this Latex equation? Missing $? and undefinded control sequence

\documentclass[10pt]{article} \usepackage[usenames]{color} % Farbunterstützung \usepackage{amssymb} % Mathe \usepackage{amsmath} % Mathe \usepackage[utf8]{inputenc} % Direkte Eingabe von Umlauten ...
1
vote
2answers
52 views

How to reference equations (new to Latex) [duplicate]

\documentclass{article} \newcommand{\dd}[1]{\mathrm{d}#1} \begin{document} \begin{equation} \Delta A_2 = x^2 \end{equation} This code puts a (1) next to this equation, and numbers later equations ...