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.

2
votes
0answers
21 views

Why can't I create an equation in my list? [duplicate]

\documentclass[11pt]{article} \usepackage{physics} \usepackage{blindtext} \usepackage{amsmath} \usepackage{bm} \usepackage{cancel} \usepackage{sidecap} \usepackage{array} \usepackage[utf8]{inputenc} \...
0
votes
1answer
57 views

How to bold the letter in equation in LateX effectively

Suppose I have an equation involve many letters: \begin{equation} \min \|S-A\|_F^2 \end{equation} How can I bold the letter in equation, such as S and A in the equation. We can \bm{A}...
2
votes
2answers
40 views

Tabularx and align, gather or something else for a two line equation

I am trying to insert a two line equation in a tabularx environment. I managed to do it with vbox for a one line equation, but I can't seem to do it for a two line equation. I tried multirow, but I ...
2
votes
2answers
53 views

Tabularx misconfiguration with equations

I am trying to make a table like this: I am using tabularx for creating it, here is the code: \setlength{\tabcolsep}{2pt} \renewcommand{\arraystretch}{2} \newcolumntype{C}[1]{>{\hsize=#1\hsize\...
6
votes
2answers
162 views

Box to appear fully around equation

In the code below, I am only getting a box around part of my equation like this: How do I get the box to appear around the full equation? Thanks! CODE \documentclass{article} \usepackage{mathtools}...
2
votes
2answers
83 views

Equation numbering not shown

I am writing an equation using the syntax s follows:- { \[ N\!D_{\max} = \begin{cases} \frac{n}{2} &: \text{$n$ even,} \\ \frac{n-1}{2} &: \text{$n$ odd.} \end{cases} \] ...
4
votes
2answers
34 views

Align boxed equation to the left margin

I am attempting to left align a boxed equation but I failed. Can you help me align this boxed equation to the left margin:? Thank you! CODE \documentclass{article} \usepackage{mathtools} \...
5
votes
1answer
114 views

Rightarrow at 45 degrees in equation

I have attempted to get this output: Instead I got this: Can you help me get the correct output? Thanks! CODE \documentclass{article} \usepackage{mathtools} \usepackage{amssymb,amsthm} \...
4
votes
1answer
120 views

\downarrow in equation

could you suggest me a method to write the equation with the arrow pointing down as in the picture? I do not understand how it could be set. i see this post: Undersetting an arrow beneath an ...
0
votes
1answer
41 views

Add white line to align environment

I want to add a white line in between the two equations of the code below. Everything I tried resulted in the white line being listed as an additional equation. \begin{align} \begin{split} {}&\...
5
votes
1answer
186 views

Place box around text and equation

I would like to get an output where I there is a box around the equation and text like this: I tried \mbox and \fbox but couldn't get it to work correctly. Thanks for your help! CODE \...
1
vote
2answers
37 views

Huge white space in fraction [duplicate]

I'm trying to create an equation in LaTeX, however, there seems to be a gigantic white space that is rather unsightly. Here's the code I'm using: \[ x=a\sqrt[n]{1-\left(\dfrac{\sqrt[n]{\dfrac{\sqrt[2-...
1
vote
1answer
41 views

Problem with equation numbering location

I have two very long equation but the problem is the number of the equation locating is wrong my code is, I now that the margin is 6 cm from the left but still it has to work my code looks like: \...
1
vote
1answer
28 views

Subequation Numbering and placement arrangements

\begin{subequations} \renewcommand\arraystretch{1.33} % or some other suitable value \begin{flalign} {}_{\mathrm{L}}^{}\mathbf{M} &\equiv \begin{bmatrix} {}_{\mathrm{L}}^{}\mathbf{M}^{\...
5
votes
2answers
96 views

Indications for improving the numbering of equations contained in a system

As you can easily see from the attached image and code, I numbered each equation manually using \textbf. How do you have to proceed to have a correct automatic numbering of this type with a correct ...
0
votes
1answer
39 views

italic after math equation: how to solve (not solved with $) [duplicate]

I am not an expert with equations on latex. I have wrote these ones within a chapter of a book, but I missed how to write the label on the left with the equation number. Moreover, the text after the ...
1
vote
2answers
69 views

Range Subequation numbers like (1a-z) instaed of 1a, 1b, 1c, 1d, 1e, …1z

\begin{subequations} %\begin{flalign} \begin{eqnarray} _{\mathrm L}\mathbf{M} \equiv \left\[ \begin{array}{ccc} _{\mathrm L}\mathbf{M}^{\mathrm ...
4
votes
2answers
65 views

Multiple math accents in exponents

How can I prevent an offset in stacked accents (hat is not in the middle of the tilde) and how can I typeset the exponent 'a' in the example below not to be so high and near the tilde? For your ...
1
vote
0answers
63 views

How to express vector multiply distribution by equation?

I have a distribution of sale count of 24 hours , data would like {0:20, 1:40, 2:22, .... , 23:9}, let's say Q. I have an hour array [2,4,6,22] as a, means [2,4,6,22] hours in a day. I want to get sum ...
-1
votes
1answer
68 views

Equation code in latex

I need latex code to write equation same as in this picture, Can anyone help me?
0
votes
1answer
32 views

Resizing a part of a formula

How can I change the size of a part of a formula by analogy with the built-in formula: $$\frac{sin(nx)}{\sqrt{n}} e^{-\frac{x}{n}}$$ $\frac{sin(nx)}{\sqrt{n}}$ \Large $e^{-\frac{x}{n}}$ \normalsize
1
vote
4answers
50 views

Straight ladder layout without breqn

I would like to know how to obtain the Straight ladder layout as defined under 14.2.1 in the breqn package documentation. with the "normal" amsmath environments. I tried \documentclass{scrartcl} \...
2
votes
1answer
42 views

Use external file for database equation

I created an external reference file with many mathematical formulas. very similar to this: foonotes in external page the equations.tex is so structured : \documentclass[10pt]{article} \usepackage{...
1
vote
0answers
33 views

System of equations in single line with indices at end [duplicate]

I want to write a system of $n$ equation of similar form in a single equation with indices at the end of the equation, for example the following one: I did this by the following commands \begin{...
3
votes
1answer
60 views

Embedding a simple tikz diagram within a tuple equation

I wanted to draw a simple tree using tikz, and embed that tree in an equation: \documentclass{article} \usepackage[a4paper,margin=25mm,showframe]{geometry} \usepackage{graphicx} % <--- For ...
1
vote
2answers
66 views

Equation numbering and solutions exam class

I use the exam class for exams. When I use equations in the solution environment, the counter for equation numbering is updated, even when the solutions are not printed. Is it possible not to consider ...
1
vote
1answer
29 views

setting an equation using text *and* margin

While setting lecture notes I use a quite wide margin (two side) with a relatively narrow text width. Tables and figures are allowed to use the complete width, if necessary. Now I would like to set an ...
4
votes
2answers
103 views

How to adjust/increase the height of square root?

I defined this equation: \begin{equation} \delta {^s_i\lambda} = \begin{cases} \pm \dfrac{{^s\overline{\Delta T}}}{\sqrt[]{\delta {^s_1\bm{u}_l} \cdot \delta {^s_1\bm{u}_l} + \...
2
votes
1answer
21 views

Italics in theorem environment only for text but not for equations

I have got the following problem, I would like to keep the text in italics in my theorems but to not allow for italics in the equations (math mode, align, equation environments etc.) inside the ...
1
vote
1answer
80 views

List all used variables of formulas of a latex document

in the first pages of my thesis I have to list all Greek and Latin letters of constants and variables. Is there a way to run through the hole document and create that list? I don't need that list to ...
12
votes
4answers
969 views

Calculating the value of a formula without duplication, using LuaTeX or similar

If I have a numerical equation (i.e. no unknowns) in LaTeX, is it possible to have the equation typeset and evaluated in one go? I know calculations can be done relatively easily by embedding Lua ...
4
votes
0answers
161 views

Is there “screen reader” software or a built in method that supports LaTeX equations?

I was asked a question during a LaTeX how-to session which I did not have a good answer for. The person asking is interested in accessibility software which is able to read LaTeX formatted equations ...
5
votes
1answer
392 views

How can I type the following equations in Latex?

How can I type equations as the following format? \usepackage{amsmath} \usepackage{cases} \begin{document} % without labels for different case which I need \begin{align*} A & \Longrightarrow B ...
2
votes
1answer
72 views

Fill up a page by equations, and then switch to onecolumn

Similar question = How do I ask LaTeX to exactly fill up a page? I want to fill up a page by several equations because they come with automatic numbering. I tried the \lineskip\fill trick but it is ...
1
vote
1answer
21 views

Problem in aligning equations

I am using the code as shown below to write an equation. I have a problem with the alignment. How can I fix it?? Also on the left-hand side of the equation, there is a space between N and D i want the ...
1
vote
2answers
37 views

Splitting and flushing equations inside align

MWE \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} &f = \text{here goes a very very very very very long equation} \nonumber \\ &\hspace*{7.5cm} + \...
-1
votes
1answer
36 views

How to write two rows clip [duplicate]

how can I please write this? I can't find the right name to find it in instructions. Thank you.
2
votes
4answers
111 views

Numbering after intertext in align disappears

Please consider the following MWE: \begin{align} &\begin{aligned}a_{12345}&=b\\ a&=c\end{aligned}\\ \intertext{The first aligned block and the second aligned block should be aligned at ...
2
votes
3answers
43 views

Trouble using flalign for left aligned math equations

I tried to left align some equations, but always get the wrong result Code below \documentclass[a4paper]{article} \usepackage[fleqn]{amsmath} \usepackage{showframe} \begin{document} \section*{Test} ...
5
votes
4answers
507 views

How to place a two-row limit expression below the integral sign?

How do I write multiple lines beneath the integral sign? MWE: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation} \int \mathcal{D}\phi(x)= \int \mathcal{D}\phi_1(\...
1
vote
1answer
47 views

Oxidative deamination with chemfig

I want to make an equation with chemfig but i've a problem with arrow and the name of the enzyme. I would like a reaction like this : I'm a novice with the latex code. For the moment I managed to ...
1
vote
0answers
47 views

Using boxed with newline in it [duplicate]

I am new to LaTeX, cant figure out this issue. I want a box around the following equation. \begin{equation} A State S_{t} is Markov if and only if : \newline P [ S_{t+1} | S_{t} ] = P [ S_{...
2
votes
1answer
38 views

How to align equation numbers inside and outside of mdframed?

I am using mdframed to box equations to include the equation number, as I quite like how it looks. However I've noticed that this results in a misalignment between equation numbers that are boxed, ...
1
vote
1answer
25 views

How to box the last (or one) line of an aligned set of equations? [duplicate]

I am trying to get the last equation in a list of aligned equations boxed, however this is more challenging than I thought it might be. I would like to be able to do it with the box both including ...
0
votes
0answers
37 views

Synctex with large equations?

I am often working with large equations inside align environment, that span upwards of four lines, often resulting in upwards of 500 characters spread across upwards of 20 lines. If anything needs to ...
0
votes
2answers
46 views

Getting missing $ inserted for equation environment containing matrices

\begin{equation} \label{4.12} \scalebox{0.6} { $\mathcal{Z}$ = \begin{bmatrix} W_{1,1,1} & \dots & W_{1,K,1} & & W_{n,1,1} & \dots & W_{n,K,1} \\ \vdots &...
0
votes
1answer
43 views

Align multiple equations, going out of margin

I have following equations groups that work in separate but not together. I do not want to use \begin{equation} because I do not want to number them. When I put them together, it just goes out of ...
1
vote
2answers
91 views

How to align subequations when each subequation has multiple lines?

I have three sub-equations and I want them to be left aligned and each to be numbered as (1a), (1b) and (1c). Since there are other equations too, I cannot change my existing packages or introduce a ...
1
vote
2answers
60 views

Error message with multiple equations: ! Missing } inserted. <inserted text> } l.231 \end{align}

I am working on an equation set with some long equations. I use split to divide the long equations into multiple lines. However, I keep getting the error. ! Missing } inserted. } l....
3
votes
3answers
168 views

Vertical dots not horizontally centered

I am trying to get the following equation, but I can't find a way to center the vertical dots. My current code is this: \begin{equation} \begin{aligned} b(n_1) &= a_2 n_1{^2} + a_1n_1 + a_ 0\\ ...