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.

0
votes
1answer
29 views

Equations: Why does formula symbol index notation “ff” cause such big letter spacing?

The formula symbol index notation ff is causing some ugly letter spacing in comparison to other index notation letters. Minimum Working Example (MWE): \documentclass{article} \begin{document} \...
0
votes
1answer
39 views

Why does `\left|` insert unecessary vertical space below its argument?

When using \left| and \right| to typeset absolute value, I get unnecessary space as follows \documentclass[11pt, a4paper]{IEEEtran} \usepackage{amsmath} \usepackage{amssymb, amsfonts} \usepackage{...
0
votes
2answers
30 views

Aligning equation on the left

I need to align equations of the left. I wrote the following according to this topic : Align equation left \begin{flalign} p(1-p)^2 (\alpha |001\rangle + \beta |110 \rangle).hc +p^2(1-p) (\alpha |...
0
votes
1answer
33 views

Latex multiple equations

I want to make something like this but i don't know how, please help me.
0
votes
0answers
21 views

Using \equiv causes my font to become italicized and doesn't allow spacing [duplicate]

I am trying to write a logic equation with symbols and when I use \equiv everything afterwards is italics and does not allow spacing, even if I go to a new line. Example: p \to q \equiv \lnot q \to ...
0
votes
3answers
47 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} ...
0
votes
0answers
53 views

Correct Typography: When to put equations in flow text and when to put as “real” equation? [closed]

I know this question is not purely LaTeX related, but here are many experts in typography around: How can I decide if it is advantageous to put an equation into the flow text vs. inserting it as a ...
1
vote
1answer
39 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
57 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
54 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
43 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
47 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
155 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
28 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
47 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
45 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
104 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
98 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
69 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*} \...
7
votes
2answers
108 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
27 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
42 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
48 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
660 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
60 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
228 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
27 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
30 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
100 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
310 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
21 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
24 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
19 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
67 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
570 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
344 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
338 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
175 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
188 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
54 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
30 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
65 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
240 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
136 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
55 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
96 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}\...