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

learn more… | top users | synonyms

2
votes
1answer
28 views

Problem with amscd package

I'm trying to insert a commutative diagram into a report. I've loaded the amscd package, but I have a problem with its diagrams. When I put up or down arrows, there are no problems. For example, ...
0
votes
1answer
38 views

amsmath updates and package history

I just noticed that the amsmath package was updated lately. Sadly, I am unable to find the package history? texdoc amsmath does not seem to help and the documentation available online seems limited.
4
votes
1answer
78 views

\bar only allowed in math mode error

I am trying to type up an equation for my discrete math class but I keep on getting the "\bar allowed only in math mode" error. My previous usage of \bar worked out fine. $p( \bar{E} \cap \bar{F}) = ...
2
votes
1answer
58 views

Left align problems

I have no idea how to ask a question in here as I tried pasting my latex document in (it is only short) to demonstrate my issue but it does not look like anything else here and I don't want to piss ...
1
vote
1answer
181 views

autonum, amsmath and \qedhere

I have a weird behavior of the \qedhere command while using amsmath in combination with autonum. Consider the minimal (not working) example below: In unreferenced equation with \qedhere (Theorem 2) ...
0
votes
0answers
28 views

How to apply `flushleft` to display style equations?

I was wondering, how can I flush left all the equations in my document? I mean, I already got the answer using \documentclass[twoside,letterpaper,10pt,fleqn]{article} \usepackage{amsmath} \...
4
votes
1answer
257 views

Latest xparse/amsmath update doesn't work well in align

The following minimal example doesn't compile when the optional argument to \macro is used: \documentclass{article} \usepackage{xparse,amsmath} \NewDocumentCommand{\macro}{o}{A\IfValueT{#1}{(#1)}}% ...
1
vote
1answer
15 views

kpfonts makes fleqn and leqno options ignored when passed via \PassOptionsToClass

The following M(n)WE points out that fleqn (and leqno as well) option, passed to the class thanks to \PassOptionsToClass, is taken in account except if kpfonts package is loaded (no problem if the ...
2
votes
1answer
58 views

Bold math with siunitx, fourier and amsmath problem

With this configuration I can't have bold siunitx otherwise than using \pmb, but with an ugly side effect : \documentclass[margin=5pt]{standalone} \usepackage{fourier} \usepackage{fontspec} \...
1
vote
1answer
59 views

Box part of equation in align environment

I want to box, as an answer, an equation of the align* environment. Not sure how to do it. \begin{align*} (1+2i)z_2&=-11(2-i)\\ z_2&=\dfrac{11(i-2)}{1+2i}\\ z_2&=11i \end{align*} I have ...
5
votes
1answer
23k views

Any reason why \blacksquare and \box are causing errors?

I am using the amsmath package. I just want a black box at the end of a proof, right-justified. \blacksquare and \box both cause errors. Actually, I'd prefer a musical quarter note if that's ...
5
votes
1answer
258 views

How to make the binomial symbol look better?

I am using \binom{\mathcal{L}}{k} with the following font (see code sample below), and I'd like the parenthesis to completely "capture" \mathcal{L} and k as they do if I use the default font. (If you ...
2
votes
3answers
51 views

Equation number in long equation

I have a long equation that goes over two lines. The first line takes up the full horizontal space and the second line is indented. I use amsmath's split for that. My problem is that the equation ...
7
votes
1answer
380 views

Breaking lines in equations

I have an equation that is too long. It gets cut off, so I have tried to modify it with the split environment inside an equation environment: \begin{equation} \begin{split} & I_{ribbon} = \frac{1}...
2
votes
2answers
67 views

How to split a very long equation (using AMSMATH package)?

I'm trying to split up the following equation so that it fits the margins of my document, so far I have: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation} 0 = n_1^3 ...
0
votes
1answer
25 views

Any way to solve text and formula combination exceeding margin

In LaTeX, when writing a paragraph containing formula and text, it exceeds margin. Therefore, I have to align it manually. That is time-consuming and the result is not well justified. Any way to ...
6
votes
1answer
53 views

Passing alignment tab character to \ifx

I have the following macro \usepackage{xintexpr} \newcommand\seq[4] %length, delimiter, generating func, last term {% \def\s##1{\def\n{##1} #3} \xintListWithSep{#2} {% \xintApply{\s}{\...
4
votes
2answers
39 views

amsmath: how can I number individual equations in a gathered environment?

I have a complex set of equations, displayed using amsmath's align and gathered environments. I need to refer to some of the cases in the gathered environments, but they are not numbered. Here is a ...
3
votes
3answers
162 views

amsmath aligned environment: correct positioning of equation number on the last line with tbtags

tl;dr How to place the equation number on the last line of an {aligned}[t] environment? (Similar questions have been asked in Equation number in aligned environment after last line and How can I ...
0
votes
2answers
46 views

Line Break in Equation with Text

I would like to include an equation, which mostly consists of text elements, however I am having trouble with aligning the last argument which spreads over two lines in order for the equation to still ...
2
votes
0answers
29 views

polylongdiv with terms in reverse order

Is there a way to use \polylongdiv in the polynom package to display and calculate polynomials in the reverse order from the way the package is written? For example, \documentclass{article} \...
2
votes
1answer
57 views

error: tipa in combination with \DeclarePairedDelimiterXPP

I would like to use phonetic spelling and found the tipa package. Somehow it seems to produce an error combined with a command I use to set conditional probability distributions: \documentclass{...
15
votes
5answers
5k views

What is the difference between aligned in displayed mode and starred align?

I am confused in choosing one of the following approaches. \documentclass{article} \usepackage{siunitx} %\sisetup{detect-all} \usepackage{amsmath} \parindent=0pt\relax \begin{document} The following ...
1
vote
0answers
42 views

Row Operations Error (Repost) [duplicate]

I couldn't comment on my last post, that's why it's a duplicate. I'm trying to put "arrows operations" in my matrices but I keep getting a Latex error. Could you guys help me out? I used the linalgjh ...
5
votes
1answer
64 views

Does \raisetag actually do anything?

I've tried every variation I can think of, but the tag doesn't move. \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation} x=a \raisetag{-10pt} \end{equation} \end{document}
2
votes
1answer
62 views

Using background color in AMSmath

I'm using \(\frac{\colorbox{yellow}{a-b}}{c-d}\) to highlight numerator only. But (as suggested in this post) how do we use \colorbox{<color>}{\(<math content>\)} format to achieve the ...
5
votes
6answers
6k views

How to type primed sum?

I need to type a "primed sum" (a summation symbol with a ' at the top right corner of the summation symbol) in latex. How can I do this?
0
votes
1answer
50 views

Writing matrix inside an equation

I wanna type this equation. Normal equation/matrix code not working.
0
votes
1answer
41 views

AMSMath package not working for csvautolongtable package

I have the following table: ID,Ln,La,N$_{I}$,Period$_{I}$,$\sigma_{I}$ 4,05:18:11.71,-00:01:35.7,13,45,3.56,1e-4 .... I am trying to create the table with the following code: \documentclass[...
1
vote
1answer
39 views

Center align after horizontal line inside an align environment?

I am trying to add a horizontal line in an align environment using the macro provided in this questiion and Package amsmath . The horziontal line looks okay with the equation but the contents below ...
1
vote
1answer
23 views

You can't use `\eqno' in math mode,Missing } inserted

I understand from previous post that this error come when you have extra {,( involved. But in my case i am not able to find any such case. \begin{equation}\overset{\wedge}{\pi}\left(\beta/ A_n\right) ...
0
votes
0answers
38 views

Row Operations Error

I'm trying to put "arrows operations" in my matrices but I keep getting a Latex error. Could you guys help me out? Thanks! \documentclass[11pt]{article} %size, document type \usepackage{fullpage} \...
17
votes
2answers
7k views

How to fix this amsmath warning about redefining \vec

I am using the pss(b) template, which starts with, \documentclass[pss]{wiley2sp} % provides pss two-column style \usepackage{amsmath} %\usepackage{bm} % uncomment these two packages if ...
0
votes
0answers
27 views

Nicer looking underbrace on subscript [duplicate]

\usepackage{graphicx} \usepackage{framed} \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsfonts} \usepackage{mathrsfs} \usepackage{array} \usepackage{enumitem} \usepackage{amsthm} \newtheorem*...
13
votes
2answers
272 views

Automatically replace environment align by equation+aligned combination

I would like to automatically replace the align environment by an equation + aligned combination. Specifically, whenever \begin{align} occurs, it should automatically read it as \begin{equation}\begin{...
5
votes
2answers
91 views

Using multline or equation based on a boolean flag

I am trying to define a new environment myeq which can either be an equation or a multline. My use case is that in the preamble, I will define myeq to be either replicate the functionaly of equation ...
0
votes
1answer
31 views

Error using amsmath aligned in multicolumn table

I have a table with some data. At the bottom, I would like to include two sets of aligned equations. I can do this as follows: \documentclass{report} \usepackage{amsmath} \begin{document} \begin{...
1
vote
0answers
22 views

Package showlabels and option final with equations [closed]

I've the following problem with the showlabels-package: Using it with the amsmath-package, it ignores the option final for equations. The labels are still shown in the document. Here is an example: \...
3
votes
1answer
114 views

How can I rotate \pi by 180 degrees?

Is it possible to generate a flipped version of symbol $\pi$ using packages \usepackage{amsmath, amscd, amsthm, amssymb, mathrsfs,amsfonts,graphicx}
21
votes
3answers
11k views

Define pretty sets in LaTeX; esp., how to do the condition-separator?

E.g., I have this set: \{ \alpha \in \Sigma^\omega | \exists^\omega n : \alpha [0,n] \notin \Sigma^* a_1 \Sigma^* a_2 \dotsb a_n \Sigma^* \} Here, I use | as the separator for the condition part. ...
5
votes
1answer
7k views

How to left align a set of equations in LyX

How can I left align an AMS flalign block in LyX? The answers in Use flalign or alignat or align or similar environment to align to the left say that to left align a set of equations one should use ...
2
votes
1answer
61 views

Adding A to appendix: Missing-Number-Error

I want to add "A" to equations in my appendix (and not to other chapters). At several places here, I found the solution to be \renewcommand{\theequation}{\Alph{chapter}.\arabic{equation}}. I tried ...
1
vote
1answer
16 views

Typesetting equations but results in error in tabularx

I am using tabularx as follows with the following code: \documentclass{article} \usepackage{tabularx} \usepackage{booktabs} \usepackage{multirow} \usepackage{ragged2e} \newcolumntype{L}{ >{\...
1
vote
1answer
48 views

Foonotes in multlined equations inside minipages

I am having the exact same problem as describe in this question. Unfortunately, however, the solutions listed there do not seem to work for the multlined environment as well. A MWE is the following. ...
3
votes
1answer
67 views

Beamer box problem

I am working in "Frankurt" theme on my beamer presentation. Sometimes I am faced with overflow problems. For example: \begin{frame} \begin{definition} \begin{multicols}{2} \begin{enumerate}[a)] \item ...
4
votes
4answers
274 views

\norm symbol have different sizes in equation

in the MWE below, the norm symbol appears in different sizes in the denominator like this: I would like the \norm lines to be the same length in the denominator. Thanks for your help. Here is the ...
6
votes
1answer
80 views

Purpose of DOTSB in definition of \iff

What exactly is the purpose of the \DTOSB in the definition of \iff? There is a mention in Is there a left-handed equivalent of \implies? that the \DOTSB makes \iff "dots aware". But, when I try to ...
2
votes
1answer
83 views

Wrong to delete/replace equation by using changes package

I am using changes package to check the changing in my latex file. For changing in sentence, it works well. However, it showed some wrong/unexpected result when I change equation. This is my problem ...
2
votes
1answer
47 views

Array Problems Math mode

\documentclass[12pt,a4paper,notitlepage]{report} \usepackage{amsmath} \usepackage{array} \usepackage{multirow} \begin{document} \[ \begin{array}{llll} \hline & \multirow{2}{*}{\tilde{b}\leq b^{...
15
votes
1answer
605 views

amsmath is now latex-amsmath: what does this mean for me?

I saw in the latest updates to CTAN that the amsmath package is now called latex-amsmath. What effects is this change going to make for me? Am I going to have to \usepackage{latex-amsmath} in the ...