{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.

learn more… | top users | synonyms (1)

2
votes
2answers
23 views

Long equation tag/number gets shifted to left hand side, rather than underneath right hand side

So i have an equation which is pretty much the width of my text. The equation number usually (when using pdflatex) shifts below the right hand side of the equation. However, i am now having to ...
8
votes
3answers
9k views

How do I keep a string of text together without it doing a line break?

I'm writing up a long paper, in which in prose I have various equations. However, I do not want a line break to occur within the equation - I want the equation to stick together. I want to do this ...
2
votes
2answers
173 views

How to fit 3 equations in the page with number 2a, 2b and 2C?

I have the following issue. I am trying to fit 3 equations in one line with the label of 2a, 2b and 2c. Up to now (I am using tabularx)I am only able to get the 3 equations on the same line with ...
3
votes
1answer
130 views

Boxed text explaining a part of equation in beamer

\documentclass[10pt]{beamer} \usetheme[progressbar=frametitle]{metropolis} \usepackage[english]{babel} \usepackage{booktabs} \usefonttheme[onlymath]{serif} \setbeamercolor{background canvas}{bg=white} ...
2
votes
1answer
65 views

Suppress unused equation number but keep counting

I would like to suppress equation numbers for unlabeled (or better, unreferenced) equations but keep the equation count going. I am using the align environment throughout. Imagine \mathtoolsset{...
3
votes
2answers
39 views

Boxing multiple equation

\begin{equation} \boxed{\sigma_{ann} \propto \begin{cases} \frac{\lambda_3^2 m_b^2}{m_H^4} & \text{$m_S\ll\frac{m_H}{2}$}\\ \\ \frac{\lambda_3^2 m_b^2}{m_H^2 \Gamma_H^2} &\text{$m_S=\frac{m_H}{...
1
vote
2answers
36 views

How resize box when using subnumcase

I have the following problem. I have a system of two equations. I used the package subnumcases. Unfortunately the equations are too long and the equation number overlap the equation itself. I tried ...
2
votes
1answer
22 views

How to put left aligned equation inside algorithmic

I have a one-line equation that I want to use just like a statement in algorithmic. I tried with flalign and the equation still goes into the center. Could you please tell me how to fix that? Here is ...
7
votes
1answer
138 views

How can I change the labelling of an equation?

How can I change the labelling of an equation? Instead of (1.1), (1.2) I want to have (Equation 1.1), (Equation 1.2), ... Document class is scrbook. I use the following related packages: \...
4
votes
3answers
117 views

Incompatibility between lineno and equation*

In addition to a lot of others incompatibilities, also there is one between lineno and equation*. Is there any chance to have the lineno package updated to solve this problem? Does anybody here knows ...
3
votes
1answer
61 views

Missing $ or } in split environment and I can't find the source of the error

I simply can't find the error in my code \documentclass[12pt,a4paper]{scrartcl} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[ngerman]{babel} \usepackage[pdftex]{graphicx} \...
4
votes
1answer
621 views

How I can write this equation in LaTeX?

I’m still a beginner to LaTeX, and I don’t know how to write this equation.
2
votes
2answers
39 views

Align equations in two columns with their own equation number

I have four equations, and I'd like to display them in two rows and two columns. I also want them to have their own respective equation numbering. I've tried \begin{multicols}{2} \begin{equation} ...
2
votes
1answer
58 views

Latex missread the equation and provides an error

I have an equation to be written. The equation I expect to have is this one: \begin{align} M &= \left\{ \begin{array} \sqrt{1+0.6275 \frac{l^2}{Dt} -0.003375 \frac{l^4}{D^2 t^2}} if \frac{l^2}{...
1
vote
2answers
27 views

Special subnumbering for equation

I would like to display two seperate equations with the same generated number and then the letter 'a' added to the first and the letter 'b' to the second. Some text. x=y (2a)...
0
votes
1answer
29 views

How to place equations aligned one on each line?

I've been looking and trying for the past hour and I can't figure it out. I'm pretty new to LateX and I'm trying to display my Differential equations working but it's turning into a big mess. I'm ...
0
votes
0answers
26 views

Multiline equation runaway error

I am trying to write three cos value (not in one line) I have used multlined before,userpackage is written .I dont know why but ı am getting this error Runaway argument? \mathrm {cos(S_1 , S_2)}=...
3
votes
1answer
31 views

Tex code in IEEE HTML format

In IEEE , many recent journals are being offered in HTML format as well. One advantage it has the pdf version is that the tex code is easily available and big equations can be directly taken from the ...
2
votes
1answer
41 views

Align equal sign in a big block of equations

I would like to align the equal signs in this block of equations. Somehow, the first equal sign is well aligned, but the second is not. Am I missing something obvious? Thank you very much \...
0
votes
1answer
24 views

Fit Set Definition into two lines

What is the best way to fit the definition into two lines, so they don't ruin the layout? \documentclass[12pt,oneside,ngerman,reqno,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath, ...
0
votes
1answer
18 views

How to align an expression in an amsmath environment

If I write \begin{align} A = <long string of variables> \\ =& <another long string of variables> \end{align} This works and aligns the equal signs and makes the total block of two-...
0
votes
2answers
42 views

Inconsistent vertical space after first \begin{equation*}

The AlignBox environment from this TeX.sx answer can produce several consecutive equation* environments (when several pre-declared equation lines are inserted). When the paragraph preceding the first ...
1
vote
1answer
43 views

Change margins for one item in a beamer slide

You can see that the equation is cut off at the right side of the slide. Can I reduce left margin only for this item? \begin{frame}{Conditional Hazard Ratio under Competing Risks} \begin{itemize} \...
2
votes
2answers
43 views

How to add equivalent symbols to equations

I am trying to change from to this Here is my code: \begin{align*} \smash[b]{\underbrace{\overline{xx\cdots x}}_\text{$2n$}}-\smash[b]{\underbrace{\overline{yy\cdots y}}_\text{$n$}} &...
4
votes
1answer
43 views

How to add underbrace outside square root [duplicate]

I am trying to use latex to write the below. The code I have makes the underbrace contained in the square root so the square root symbol is larger, but I want it like it is in the bottom picture. This ...
6
votes
2answers
724 views

Cleveref's \crefrange and mixed equations and subequations

This example doesn't work with the latest version of cleveref. The line Refer to \crefrange{eqa}{eqc}. gives the output: Refer to ?? 1–3. It used to work before. Can anyone explain how to fix it? ...
3
votes
1answer
46 views

Align matrix on left margin. align* left-aligned?

I have the following problem: I put the command vmatrix inside the align* area. The result is unfortunately centered, but I'd like to have the matrix be left-aligned. Here is the code: \...
8
votes
2answers
76 views

Is there a way to show Reaction instead of Equation when referring to an equation?

I'm writing a thesis in which I have both equations and chemical reactions. I was wondering if it can be changed something in equations referencing, so that when you refer to one of them that is a ...
0
votes
1answer
41 views

Issues titling an equation block

Does anyone know how I can put a small title right before a line that I have created without putting a large amount of space between the small title and the line? Space is of utmost importance on this ...
1
vote
1answer
35 views

Equation align to '=' in table with cell equation

\begin{center} \begin{tabular}{ ||l|r@{ = }p{4cm}|| } \hline Text & \multicolumn{2}{l||}{Text}\\ \hline ...
1
vote
0answers
25 views

How to align numbered equations?

I want to align 4 numbered equations to the left.The equation environment is used. like this: But the align or flalign environments doesn't work... So,What should I do?
17
votes
2answers
10k views

Adding line numbers to latex and respecting equations

It's often convenient to add line numbers to a page automatically and the lineno package generally does the trick. But I've had two problems with it It doesn't seem to align the line numbers with ...
2
votes
2answers
42 views

LaTeX \begin{align} twice align

i have a code with a equation: \begin{align*} &min(\norm{[\hat{w}(k)-\hat{y}(k)-&M^P \Delta \hat{u}^P (k)]-M \Delta \hat{u}(k)}_\psi^2 +\norm{\Delta \hat{u}(k)}_\Lambda^2)\\ &\text{\...
1
vote
0answers
21 views

In bioinfo.cls, how can I get a full width equation?

How can I get a full width equation while using the bioinfo class? I tried doing \usepackage{widetext} and throwing a \begin{widetext} and \end{widetext} at appropriate places, but it throws an ...
0
votes
1answer
27 views

break an equation

I need to break a long equation in my beamer presentation. My code is: \documentclass[xcolor=pdftex,t,11pt]{beamer} \usepackage{multicol} \usepackage{lmodern} \usepackage{lipsum} \usepackage{marvosym}...
4
votes
2answers
250 views

Drawing braces in equations

I am pretty new in this forum. It's my first post. So I hope I don't break any rules or so. My Question is: I have an equation, which contains already a pics, because I wanted to mark some stuff in ...
2
votes
1answer
25 views

Enumerate starting at equation number

The following MWE contains proofs of equations numbered (2) through (4). I structure the proofs using an enumerate environment, so that the proof of equation (2) is labeled with 2., the proof of (3) ...
2
votes
2answers
36 views

How to write in proper format of this equation

How to put in proper format in equation proof. \begin{align*} HS_{opt} \le (HS_1+HS_2+ .... +HS_i)+ {HSi * ((A \textnormal{-} taskarea)/HS_i)} \\ \Longrightarrow HS_{opt} \le HS{frac} \end{...
5
votes
2answers
223 views

Putting a tag in aligned environment

I want to set a counter in the following two lines (to the right) \[ \left\{ \begin{aligned} & u_t = H(x,t,Du)&\text{ in }& \mathbb{R}^n\times (0,T) \\\\ & u(x,0)=u_0(x) & \text{ ...
2
votes
1answer
73 views

Horizontal spacing between lines in split environment

I have a math expression that looks like this \documentclass[a4paper,12pt,amsmath,amssymb]{article} \usepackage[utf8x]{inputenc} \usepackage{ucs} \usepackage[T1]{fontenc} \usepackage{tgtermes} \...
2
votes
1answer
354 views

Issue with subequation environment

I use the following code \begin{subequations} \begin{equation} \mid H(j\omega) \mid = \frac{\omega CR}{\sqrt{1+(\omega CR)^2}} \label{subeqn:amplitude} \end{equation} \begin{equation} \...
6
votes
3answers
224 views

alignat inside align environment?

Why can't I nest an alignat environment in an align environment? \begin{equation} \label{eq:115} \left\{ \begin{aligned} \begin{alignat*}{2} &U(x,y,z,t)=\int\frac{x'-x}{r^3}[...
1
vote
1answer
25 views

Can I (sub-)align some but not all of the lines in a multi-line equation?

I have a multiline equation and want some of the lines to be aligned at an additional symbol. Here is an example, where all lines are aligned at the equal sign, but lines 2 and 3 should additionally ...
3
votes
1answer
260 views

How to write matrix in equation environment?

I'm using LaTeX to write my paper and every equation needs to be numbered, so I use the equation environment. However, it fails to compile. \documentclass[UTF8]{ctexart} \usepackage{amsmath} \...
3
votes
2answers
2k views

How do I properly display chemical compounds within \equation? (mhchem won't do what I need)

I am trying to programmatically convert a very large number of documents that have chemical compounds represented within math equations. I am converting from some flavor of RUNOFF (I think..it isn't ...
6
votes
2answers
97 views

Drawing an angled arrow pointing to text inside equation

I am trying to insert arrows between the terms of an equation explaining the partial results achieved. For example, in the following equation (I manually drew the arrows), V_i \frac{g_m}{1+g_mR_s} ...
2
votes
4answers
84 views

How to make equation array look more neat and compact

I'm writing a document that has a long list of two equation arrays. As it stands, the arrays seem very tedious and clustered, and I'm unsure of what'd be the best way to make it look more neat without ...
11
votes
4answers
3k views

Writing an equation with the units positioned off right

Okay so I have a have a lot of equations in the document I am writing and I am trying to display the units of an equation off to the right. I was wondering how I can achieve this? Right now, all I ...
3
votes
1answer
36 views

Large multiline equation alignment

I have the following latex code: \begin{equation*} \begin{split} Vect =& (\frac{1}{55},0,\frac{2}{113},-\frac{3}{46}-\frac{5i}{67},-\frac{1}{50},0,0,\frac{3}{107},-\frac{7}{41},\frac{1}{113}-\...
10
votes
3answers
656 views

Boxed equation with number

My minimum working example: \documentclass{report} \usepackage{amsmath} \begin{document} \begin{center} \boxed{K_{k+1}=P_ka_{k+1}^T(a_{k+1}P_ka_{k+1}^T+I_N)^{-1}} \end{center} \end{document} ...