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

learn more… | top users | synonyms

1
vote
1answer
16 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 ...
4
votes
1answer
269 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)}}% ...
2
votes
1answer
62 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
62 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
260 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
57 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 ...
2
votes
2answers
76 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
26 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 ...
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} \...
0
votes
2answers
47 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
1answer
61 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{...
5
votes
1answer
70 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}
3
votes
3answers
176 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 ...
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 ...
0
votes
1answer
50 views

Writing matrix inside an equation

I wanna type this equation. Normal equation/matrix code not working.
0
votes
1answer
42 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
40 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
25 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
41 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} \...
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*...
5
votes
2answers
94 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
32 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
117 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}
2
votes
1answer
66 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}{ >{\...
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
283 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 ...
15
votes
1answer
611 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 ...
2
votes
1answer
50 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^{...
2
votes
1answer
90 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 ...
4
votes
2answers
78 views

Explaining equation steps (multiple line \text)

I'm trying to explain my steps in an equation. The problem is that the text is longer than the line in the \flalign* environment, is there any way to make the text span over multiple lines while ...
2
votes
0answers
33 views

adjust length of \leadsto arrow to the text above [duplicate]

I am having really hard time to figure out how to adjust the length of \leadsto arrow in order to match the text above it. The command I am using is \newcommand{\transitb}[1]{\stackrel{#1}{\...
1
vote
1answer
22 views

How to align {cases} block to the left

I've got a {cases} block inside of an item list, how can I get the block to float to the left? I've tried flalign and align but it doesn't appear to work \item \[ f(x) = \begin{cases} 0 & x\...
7
votes
4answers
356 views

Interior of a set notation

I'm trying to match this: I've already tried (in amsmath) $A^0$ $A^o$ $A^\circ$ None of these match the above image however.
3
votes
3answers
101 views

Tune the coordinates of this arc

I want to make a hyperbola that will host the points that have the same distance from two circles. Not really interested in accuracy, but in rather a figure that will give students the idea. Here is ...
0
votes
0answers
19 views

Lambda with stroke [duplicate]

Is it possible to get the lambda with stroke (ƛ) symbol in mathmode, without using \text or \textup ? \documentclass[a4paper]{report} \usepackage{fontspec} \usepackage{amsmath,amsfonts,amsthm,amssymb}...
1
vote
2answers
79 views

Fit an equation into an element of a vector on one page pleae

I am trying to fit the equations into a vector called Fs I can not view all the equation on one pdf page \begin{eqnarray*} \mathbf{Fs} &\mathbf{=}& \\ &=&T^{-1}\left[ \begin{array}{...
1
vote
1answer
45 views

paragraph and tab in equation in latex

Every one can help? I have an equation: A = B + C + D + E = F + G = K How to do this equation in latex?
3
votes
1answer
66 views

Why does \rowcolors cut matrix delimiter?

I want to typeset a tabular with alterning row colors, containing matrices. Somehow, when adding \rowcolors{1}{}{black!5} the left bracket of some matrices is just omited. What am I doing wrong and ...
3
votes
2answers
224 views

Make formulas start at the same point

I would like to list a few formulas which I have done as following: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{enumerate} \item \textbf{Hommes and in 't Veld AR(1) model:} ...
5
votes
2answers
57 views

mhchem/amsmath seems to change the @eqnnum macro so I can't change equation number colors globally. How would I fix this issue?

Thanks to cfr How would I get custom-colored equation numbers as simply as possible? for providing a hint on how to do this without the mhchem/amsmath packages installed. To see what I mean, Here is a ...
2
votes
2answers
91 views

Horizontal positioning of vertical arrows between lines in an alignment

I'm trying to get a construction like \documentclass{article} \usepackage{amsmath,mathtools} \begin{document} \begin{align*} a &= b \\ &\Downarrow \\ a &= c \end{align*} \end{...
4
votes
3answers
180 views

Multiline equation inside a split environment

I have a series of equations aligned at = inside a split environment. (They're all actually the same equation, so the left-hand-side is missing in all but the first equation.) Unfortunately the last ...
4
votes
3answers
41 views

Equation numbers in split environment messed up by ntheorem thref

When I use ntheorem with the thref option, every time I use the amsmath split command the numbering skips ahead by one. Here is an example: \documentclass{article} \usepackage{amsmath} \usepackage[...
3
votes
2answers
59 views

Problem with gather and labels

This gives a way of combining two different math environments (so there is no extra vertical skip): Adjusting vertical skip between equations But add labels to that exsample \documentclass{article} ...
1
vote
2answers
26 views

Adjusting vertical skip between equations

\documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation} 1 + 1 = 2 \end{equation} \begin{align} 7 + 5 &= 12\\ 12 &= 11 + 1 \end{align} \end{document} ...
2
votes
1answer
59 views

using tag inside table

Say I write a table twice, and want the second table to have the same numbering as the first. With equations, I know how to do it. However, with tables this does not work. The following is what I ...