Questions tagged [mathtools]

{mathtools} is an extension package to amsmath. It provides bugfixes and adds useful tools for mathematical typesetting.

19 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
120 views

vertical alignment when using \underbrace for Matrix

I want to vertical align the underbrace symbol. It looks like now: supposed to be like MME: \documentclass{article} \usepackage{mathtools} \usepackage[no-math]{fontspec} \usepackage{unicode-math} ...
3
votes
0answers
166 views

On a classic integral sign

In the attempt of imitating the typeset of some classic paper in the Philosophical Transactions (see e.g. Maxwell, Donkin, or Boole), I got stack when I had to find an integral sign that is close to ...
2
votes
0answers
42 views

Strange behavior of mathtools with showonlyrefs

With the following code : \documentclass{article} \usepackage{mathtools} \mathtoolsset{showonlyrefs} \begin{document} \begin{align} A & = B \label{eq:first}\\ & = C \tag{a} \end{align} ...
2
votes
0answers
99 views

Reducing the line spacing of math environments that support multi-lined contents

I’m trying to reduce the line spacing of “math environments that support multi-lined contents” back to singlespacing in a onehalfspacing document. I’m using the setspace and mathtools packages. Added:...
2
votes
0answers
76 views

Showkeys: Omit optional argument of \label

I use cleveref and mathtools together with the showkeys package. However, since for some labels I'm using my own type, labels can get pretty long (in the following example the label will be [mytype]{...
2
votes
0answers
65 views

mathtools bug with aligned

The following code does not compile \documentclass{article} \usepackage{mathtools} \DeclarePairedDelimiter\abs{\lvert}{\rvert} \begin{document} \[\aligned &\abs{X} \endaligned\] \end{...
2
votes
0answers
465 views

breqn and \coloneq

The breqn documentation says (pg. 10) • The notation := must be written with the command \coloneq. Otherwise the : and the = will be treated as two separate relation symbols with an “empty RHS” ...
1
vote
0answers
48 views

Define \norm command and work in long table

Edit: Solution \norm requires an argument. Thanks to the commenters for pointing that out to me. Orig question: I have a \norm command defined that is simply the \lVert and \rVert symbols put on ...
1
vote
0answers
23 views

`\adjustlimits` does different things if different order

The MWE \documentclass{article} \usepackage{amsmath,mathtools} \begin{document} \[ \adjustlimits\lim_{x\rightarrow 1^-}\lim_{n\rightarrow\infty}\,\sum_{k=0}^n a_kx^k =\...
1
vote
0answers
177 views

Left sub/superscript in exponents

I have a small problem with left sub- and superscripts. In my work, I have two regularly occurring indices, that should be distinct from one another. As I have to use exponents of some of these ...
1
vote
0answers
43 views

Box around an equation with multiple align marks

Here is the MWE: \documentclass[preview, border&=5bp]{standalone} \usepackage{tfrupee, amsmath, amssymb, mathtools} \begin{document} \begin{alignat*}{5} \Aboxed{x + y &= 5 &&=15}\\ ...
1
vote
0answers
92 views

Line breaks in mathtools' paired delimiter

The following code \documentclass{article} \usepackage{mathtools} \DeclarePairedDelimiterXPP\E[1]{E}[]{}{#1} \begin{document} \[\begin{aligned} E\Bigg[A&+B \\ C&+D \Bigg] % \E[\Bigg]{...
1
vote
0answers
334 views

Use of mathtools

I have defined the \absas described in the Mathtools Users Guide 3.6. But I would like to habe the stared-version as default (=\abs). I looked further and found on 3..6.1 (as I thought) a way to do ...
1
vote
0answers
895 views

Problem with math \complement, MinionPro and Mnsymbol packages

I have a problem with \complement command. Instead the expect output for this command appears the output for \lcirclerightint. I'm usign MinionPro packages which loads automatically MnSymbol. I ...
0
votes
0answers
20 views

How use \DeclarePairedDelimiterX after \providecommand* for same command?

The package mismath includes the definition: \providecommand*{\abs}[1]{\left\vert#1\right\vert} After loading mathtools, I want to redefine \abs by: \DeclarePairedDelimiterX{\abs}[1]\lvert\rvert{#1}...
0
votes
0answers
21 views

Bad environment delimiter in a seemingly simple case

I keep getting 'bad environment delimiter, extra $ inserted' here, but I cannot pinpoint the error. \documentclass[10pt]{article} \usepackage{amssymb} \usepackage{amsmath} \usepackage{...
0
votes
0answers
34 views

error “mathtools.sty not found” in ubuntu although it is there in the folder

I found that the file mathtools.sty is present in the folder: usr->local->texlive->2018->texmf-dist->tex->latex->mathtools But when I am trying to use the mathtools package on Texmaker, it gives me ...
0
votes
0answers
81 views

mathools' \DeclarePairedDelimiterXPP with left-right default

In the following code: \documentclass{article} \usepackage{mathtools} \DeclarePairedDelimiterXPP\E[1]{\mathbb{E}}[]{}{#1} \begin{document} \[ \E{\sum_{i=1}^N } \] \[ \E*{\sum_{i=1}^N } \] \end{...
0
votes
0answers
77 views

Calc and mathtools : issue

I have an issue when using titlesec with mathttools : l.19 \addtocontents{toc}{\setcounter{tocdepth}{0}} ! Undefined control sequence. Here is an minimal example : Can ...