{amsmath} is a package provided by AMS that enhances LaTeX's mathematical typesetting capabilities in various ways.

learn more… | top users | synonyms

0
votes
1answer
18 views

Does the align environment provided by amsmath not enter math mode?

I asked a question earlier today, where I learned that the subequations environment provided by amsmath does not enter math mode: Missing $ inserted error when using \frac inside subequations ...
5
votes
1answer
42 views

Missing $ inserted error when using \frac inside subequations environment?

Here's a MNWE (minimum not working example): \documentclass[12pt,letterpaper]{article} \usepackage{amsmath} \usepackage{amsthm} \usepackage{amsfonts} \usepackage{amssymb} \begin{document} ...
0
votes
0answers
45 views

Standard AMS-Sum Operator using MnSymbols?

Because a professor who reads one of the lectures I attend this term writes so slowly, I typeset a lecture script for that lecture in TeX. For the use of some symbols and for better underbrace ...
3
votes
5answers
72 views

Multi-line equation with split

I have the following problem: Obviously I want the = to be aligned and I need two lines for the equation following the third =. Also I'm not so sure whether I used the \big{[} and \big{]} commands ...
2
votes
3answers
155 views

How to define vectors when used in equation

So in short I want to have something that looks like this: So far I managed to get to the following output: with the code as follows: \documentclass[12pt, a4paper] {article} ...
2
votes
0answers
24 views

Correct typesetting of aligned (or multiline etc) equations after a pagebreak

I was writing a block of mathematical formulas using the align environment. While I was writing these aligned equations I reached a pagebreak and the whole block moved to the next page so it made me ...
2
votes
1answer
75 views

amsmath align* tampering with a counter of mine

\documentclass[a4paper]{report} \usepackage{amsmath,mathtools} \makeatletter \newcount\mw@shortcnt \mw@shortcnt=0 \newcommand{\short}[1]{% \global\advance\mw@shortcnt by +1% ...
0
votes
1answer
27 views

textit - undefined control sequence

I got a problem using \textit{}`. The error which occurs is "Undefined control sequence". It occurs in a formula. \texitit{P}_{int} = \int_{V^r} \textbf{\textit{P}}^{i+1} : ...
2
votes
3answers
175 views

Multi-Line Brackets

I can't seem to get the parenthesis to wrap around the RHS of the equality. I get the following error: Errors: ./review.tex:239: Extra }, or forgotten \right. [\end{split}] ./review.tex:239: Missing ...
0
votes
0answers
42 views

My equations are not willing to get centered

I am writing my master thesis and I'm using a template that I found online. However when I try to center equations it doesn't work and they are always put to the left but with some indentation. I'm ...
4
votes
1answer
32 views

Amsmath double line equation alignment centered

I need an equation that consists of three parts (or one equation including 3 equations in total), it should look like this: My code for now gives me the following: So I would like to have the two ...
0
votes
1answer
37 views

Describing and referencing exercises in latex

I would be like reference the exercises have done such that it says Exercise 1 (Author [number], Chapter i, Exercise i.j ) \documentclass[a4paper, 11pt, notitlepage]{report} \usepackage{amsfonts} % ...
2
votes
1answer
32 views

Aligning Vertically Spaced Equations

This question is most likely a duplicate and trivial, but I ask nonetheless as it is causing frustration. I have written the following \begin{equation} \begin{split} \alpha_{a}\alpha_{b}+\alpha_{b} ...
1
vote
2answers
30 views

Is it possible to use \underbrace across align* environment?

I have two sets of equations in an align* environment and they are all just how I want them, but I want to draw an underbrace from the left bottom equation to the right bottom equation, but it throws ...
2
votes
1answer
26 views

arrows with same length between spaces

I have a problem regarding code in latex. The problem is that the length of the arrows are different depending on the length of the labeling of the maps. e.g. the map {f_{x_0}} has an arrow which is ...
1
vote
1answer
81 views

What is the Latex convention for sign function?

What is the correct type for sign(x)(signum function)? I'm using: \documentclass[journal,transmag]{IEEEtran} \usepackage{amsmath} \usepackage{amssymb} \newcommand{\sign}{\text{sign}} Is that ...
3
votes
1answer
95 views

What LaTeX math is not covered in the MathML specification?

Does anybody have an exhaustive list of what parts of the standard LaTeX math macros that are not covered by the MathML specification? By standard, ideally I mean the maths packages distributed with ...
4
votes
2answers
73 views

How to change the colour of a tag in align?

I'm having the following article: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} d(x, y) &= d(y, x) \tag{symmetry} \\ &\leq d(y, z) + d(z,x) ...
1
vote
2answers
93 views

How can I write a cursive letter k in math?

Using amsmath, writing $\ell$ produces a cursive lowercase letter l. I would like to have a reasonably matching cursive lowercase letter k, available through \kay e.g., so that I can write things ...
4
votes
2answers
184 views

How can I remove the qed symbols from all lemma proofs?

the following code will only make the qed not appear in the second proof. However, it it possible to make the qed symbol never appear at the end of the proofs without having to specify it locally ...
16
votes
2answers
125 views

amsmath matrix vs loading the array package

Here is an interesting interaction. Consider the example below. When ever the array package is loaded, extra space appears on the right in the output. Any ideas as to why? ...
1
vote
1answer
81 views

Tag placing with amsmath

I'm using amsmath and its \tag command to tag equations. I remember having a situation where I liked having the tag on the left better than on the right. So I gave my class (which is report btw) the ...
1
vote
3answers
131 views

Looking for stylized H-symbol

I'm wondering if LaTeX knows the following symbol (sorry for the hand-drawing, I didn't even find it online once): It's kind of a stylized H letter that is sometimes used to denote the Hilbert ...
3
votes
3answers
55 views

Center the second line of an equation

How do I get the following output? f a b c = <centered definition of f> g a b c d = <centered definition of g> These are definition of functions, but the bodies are big; I would ...
0
votes
1answer
45 views

Getting items above and below a compound math symbol

I'm trying to get information to appear above and below a math symbol such as \sum or \leftrightarrows. I've found information detailing \mathop and the syntax behind it but when I try to use it, it ...
1
vote
2answers
79 views

Different horizontal (!) spacing of delimiters with `\left`, `\bigl`, `\Bigl`,

I use \arrowvert as a middle delimiter. For example in the definition of sets, i.e. \lbrace x \arrowvert x < a \rbrace. Moreover, I try to avoid \left, \right and \middle but use the AMSmath macros ...
1
vote
1answer
39 views

ams math + AUCTeX + refTeX causing label references to always be \eqref not the desired \vref

As stated on the reftex documentation “Note that this is automatically done by the ‘amsmath.el’ style file of AUCTEX, see Section 7.8.2, page 38 – so if you use AUCTEX, this configuration will not be ...
1
vote
0answers
47 views

Change the font used by \text

The \text macro can be used to embed text fragments in math formulas. However, if one uses separate math and text fonts (e.g. because the text font does not support math), \text of course uses the ...
1
vote
1answer
93 views

Incomplete \iffalse error in AMS alignment

MWE: \documentclass[a4paper]{report} \usepackage{amsmath,xparse} \makeatletter \newif\ifinvd@lims\invd@limsfalse \newif\iflr\lrfalse \ExplSyntaxOn \newcommand{\delim}[3][lr]{ \begingroup ...
4
votes
1answer
64 views

Font size inside subequations environment!

How I can change the font size inside the subequations environment? See below: \begin{equation} \textstyle \xi_{1} = A + B + C; \end{equation} The command \textstyle works fine inside the ...
4
votes
1answer
59 views

Incorrect reference when combining amsmath, hyperref, and \tag

In the following MWE, I receive a warning and a reference points to the wrong element. \documentclass{article} \usepackage{hyperref} \usepackage{amsmath} \begin{document} \begin{equation} ...
4
votes
3answers
105 views

Why does \label not work in math mode when using [fleqn] with amsmath?

Try the following \documentclass[11pt]{article} \usepackage[fleqn]{amsmath} \begin{document} \newcounter{eqnthing}\setcounter{eqnthing}{0} \[a+b=c\refstepcounter{eqnthing}\label{maththing}\] \par ...
2
votes
1answer
53 views

Two column equation block with vertical separator

I have seen various examples in text books and web pages (like here) of two column equation blocks, where the left column has some equation(s) and the right column has some explanation on variable ...
3
votes
2answers
180 views

How may I write 'and generally' and the second equation on one line?

Please note that the two equations ought to be aligned; the text and generally should be flush left, but the second equation should be centred. \documentclass{article} \usepackage{mathtools} ...
1
vote
1answer
50 views

Amsmath's \binom looking weird

Using the MWE \documentclass[fontsize=8pt, a4paper, DIV12]{scrbook} \usepackage{amsmath} \begin{document} \[ e^t = x^{(5)} - 2x^{(3)} + \dot{x} = \sum_{k = 0}^{5} \binom{5}{k} p^{(k)}(t) e^t ...
3
votes
1answer
39 views

Subequation labeling inside an “aligned” environment

I can align several equations inside a single brace with the following code. \begin{equation} \left\lbrace \begin{aligned} k \cdot E &= 0 \\ k \cdot B &= 0 ...
3
votes
1answer
28 views

creating conditional array using iopart

I need to write a conditional equation using iopart.cls, a class that doesn't work with amsmath. Usually I'd use the cases environment from amsmath like so: \begin{equation} \mathrm{sgn}(t) 1, ...
1
vote
0answers
16 views

Horizontally align \vdots with equal signs in aligned environment [duplicate]

I have a number of equations aligned at the equal sign. I insert a line containing just \vdots to indicate a bunch of steps and then equations again. How I can make the \vdots align with the equal ...
3
votes
2answers
38 views

Putting a tag in aligned enviroment

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{ ...
3
votes
2answers
89 views

how to give some text an equation number

I want to be able to write the following in LaTeX: We make the further assumption that \begin{equation} \label{eqn:assumption} There is a bounded linear operator $B:X\to X^*$ such that ...
-1
votes
2answers
80 views

Confusing missing $ [closed]

Can anyone help with this. I'm not sure at all what I'm doing wrong but i get an error Missing $ inserted. $ on the 2nd line with c)\ The rest of the text works fine and there are ...
2
votes
2answers
198 views

How to make a table more vertically compact?

I finally managed to use the cases construct within a table: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{table} \begin{tabular}{l p{7cm} ll} \hline a & b & c \\ ...
0
votes
1answer
66 views

How to make nested fractions bigger? [duplicate]

I have a nested fraction on the right-hand side of an equation. I use the LaTeX code as follows to produce the equation: \begin{equation} \frac{1}{T_{ex}} = ...
0
votes
1answer
53 views

Cant get theorems in an appendix

I get the error \begin{document} ended by \end{theorem}. \end{theorem} and Environment theorem undefined. \begin{theorem} when trying to compile this latex document. Here is the problematic ...
3
votes
1answer
49 views

Formatting an equation environment to fit within the margins

\mathcal{P}^s_{\delta}(F) = sup \Bigg\{ \sum_{i}|B_i|^s : \{B_i\} \text{is a collection of disjoint balls of radii at most $\delta$ with centres in F} \Bigg\} This piece of text wont stay in the ...
5
votes
1answer
119 views

Show integration limits above & below the integral

Well considering this code, the "E" is shown after the integral: \begin{equation} m = \iiint_E \rho \ \mathrm{d}V \end{equation} The limit is shown slightly behind the number, how can I place it in ...
1
vote
1answer
53 views

Strange artifact when using xrightarrow [duplicate]

When using xrightarrow, I sometimes gets weird artifacts on the arrow: it looks like the arrow is somewhat "doubled" in the middle. But this only happens when zoomed out; when I zoom in very close, ...
3
votes
2answers
45 views

Error: Extra }, or forgotten \right in split

Can someone tell me what's wrong with this? because i can't figure out where the missing \right( is. \begin{equation} \begin{split} Μ=&-\pi \rho \frac{c^{2}}{4} ...
1
vote
1answer
94 views

Wrong (too much) vertical space above \vdots in small matrix

If one uses \vdots in a smallmatrix-environment the vertical spacing above the dots is too large. It is the same spacing as in a normally sized matrix-environment. Minimal working example: ...
3
votes
1answer
35 views

Overfull hbox with fleqn and autonum

I am using autonum and amsmath with the fleqn option to left-align equations. However, this combination appears to generate Overfull \hbox warnings at the \begin{document} line. I am using the ...