Questions tagged [mathtools]
{mathtools} is an extension package to amsmath. It provides bugfixes and adds useful tools for mathematical typesetting.
536
questions
0
votes
0
answers
34
views
Reverse arc above letter
Using stackrel we can obtain a reverse arc above X: $\stackrel{\smile}{X}$
The reverse arc is not so close to X, what can we do to make it closer? Is there something similar to \wideparen but that ...
2
votes
4
answers
143
views
Avoid underset text overlaping
As you can see, underset on right hand becomes overlaped. How can I avoid this? This is my MWE
\documentclass[14pt]{article}
\usepackage{amsmath}
\usepackage{mathtools}
\newcommand{\lunderset}[2]{\...
2
votes
0
answers
23
views
Erroneous \underbrace output with libertinus and mathtools (only lualatex and xelatex) [duplicate]
I'm using \underbrace and when I add mathtools to the package list, I get an erroneous output:
An MWE to reproduce this is:
\documentclass{article}
\usepackage{libertinus}
\usepackage{...
3
votes
3
answers
183
views
Defining a functional map
I am trying to define in latex the following function:
We also want everything to be aligned.
I tried including another align environment but it seems this is not possible:
\begin{align*}
\Psi: C([0,...
4
votes
1
answer
119
views
Superfluous space at start of aligned inside multlined
In the following LaTeX document, which uses the aligned environment inside multlined, there is an superfluous space after the opening { compared to when multlined is replaced by split:
\documentclass{...
1
vote
3
answers
123
views
Evaluate fractions in Binomial coefficient command
I'm trying to create a new command to automatically compute fractions and differences while displaying a Binomial coefficient
\usepackage{mathtools}
\DeclarePairedDelimiter\braces{(}{)}
\...
4
votes
2
answers
151
views
Aligning equal signs and brackets at the same time
I wish to have the following
.
This is the code to generate the image above.
\begin{align*}
\vec{a}\dvec{B} = \vec{a}(\vec{b}\wedge\vec{c}) \\
\vec{a}(\vec{b}\wedge\vec{c}) = (a_x\hx + a_y\hy ...
0
votes
2
answers
93
views
Mathematical formula: max
How to write the following using latex? Unfortunately, $\max_{\beta in \mathbb{N}^d}_{|beta| \leq k}$ doesn't appear like this, we want the terms under max to appear just like in the picture
1
vote
1
answer
62
views
Space for the cases/matrix environment and use of \dfrac into \[...\]
I have this MWE:
\documentclass[a4paper,12pt]{article}
\usepackage{mathtools,amssymb}
\begin{document}
\[
\begin{cases} \frac{\partial f}{\partial x} =& 2x(1 - y)=0 \iff x = 0 \quad \text{o} \...
0
votes
0
answers
63
views
Problem with widehat command in lualatex
I have a problem with the widehat command in lualatex.
I have loaded the lualatex-math package that fixes some of the
problems. Here is MWE.
\documentclass{article}
\usepackage[fleqn]{amsmath}
\...
4
votes
4
answers
173
views
Typesetting and alignment of optimization problem where objective value row is excluded
I want to format my optimization problem like this (see picture for results):
\documentclass{article}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{mathtools}
\DeclareMathOperator*{\minimize}{...
3
votes
1
answer
71
views
XeLaTeX + mathtools + unicode-math missing symbols `\Coloneqq` and `\models`
Sorry, but I am browsing since morning around and try to find a solution for that issue. I have a beamer presentation with moloch theme and want to use the Fira font but only for the mathcal part I ...
7
votes
1
answer
197
views
Align :=, =, and =: symbols
What is the best way to get the symbols \coloneq, =, and \eqcolon (provided by package mathtools) to align in a nice way (so the equals part of each is aligned) in an align environment?
I can get the ...
0
votes
0
answers
51
views
Why is `DeclarePairedDelimiter` so complicated?
Currently I use the following to type singleton sets:
\documentclass{article}
\newcommand*{\singleton}[2][]{\mathopen{#1\{}#2\mathclose{#1\}}}
\begin{document}
$\singleton x$, but $\singleton[\big]{(...
4
votes
3
answers
140
views
Arrow Label Size Issue in Tikz-CD
I am using the mathtools package in combination with the tikz-cd package to decorate an arrow label with an overbracket. However, using the \overbracket within the arrow labeling messes up the ...