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

learn more… | top users | synonyms

2
votes
2answers
41 views

the output it doesnt work and there are information “missing $ inserted”

S himpunan. A(S)=\{f:S \to S \mid\text{f pemetaan satu-satu dan pada}\}, T\subsetneq{S}, H =\{f(t) \in{A(S)} \mid f(t) \in{T}; \forall{t \in{T}\}. the output it doesnt work and there are information ...
4
votes
3answers
106 views

Spacing after \times

When using \times after some wide symbol, the space following \times becomes smaller than wanted. For example \documentclass{article} \usepackage{mathtools} \begin{document} \begin{align*} > ...
3
votes
1answer
43 views

Control the dots separation in math and text

I know how to control the spacing of the \textellipsis command. But I can't figure it out how to do so globally in all the versions of mathtools' \*dots. My idea is to use a global symbol … to use ...
4
votes
1answer
71 views

Draw string with linking numbers or no linking number?

How can I use LaTex (p.s. I use Mac OS 10.5.8 with TexShop 2.47) to draw strings with linking numbers or no linking numbers? If any experts know any examples below, please feel free to comment. The ...
5
votes
2answers
54 views

Small indentation after labelled subequations

I am trying to reference a set of equations that are placed within a alignat and subequations environments. I would like to reference them as Eq. 1 together, rather than Eqs. 1a and 1b separately. The ...
3
votes
1answer
45 views

How to reproduce typesetting of coupling constant in chemmacros

I am using the fonts libertine with newtxmath and beramono together with the chammacros package to typeset experimental data. This works very well and I get the desired results. This package manages ...
2
votes
1answer
136 views

What does this error mean in Mathtools-colon?

I have not been able to produce the minimal example, but I get this error * LaTeX warning: "xparse/redefine-command" * * Redefining document command \oldstylenums with arg. spec. 'm' on line 128. ...
4
votes
1answer
52 views

Hidden reference to equation

How to make a hidden reference to an equation, such that \mathtoolsset{showonlyrefs=true} is overridden (assuming it is active)? Alternatively, how to switch off showonlyrefs temporarily (regardless ...
3
votes
1answer
59 views

Get both advantage of multline ( spacing) AND equation/multlined (numbering)

I like the spacing of multline but not the numbering (on the last line). I tought for a moment that equation+multlined will do the trick but that is not the case right now. The numbering is OK, but ...
4
votes
1answer
42 views

Disabling enumeration for a document

I'd like to disable enumeration for my document. I'm using amsmath and breqn. I tried using \mathtoolsset{showonlyrefs=true}, but it doesn't work. \documentclass[a4paper,landscape]{article} ...
3
votes
1answer
126 views

How to combine paragraphs of text with equations using \shortintertext and 'align'

I commented that I'm solving problems to make a book of basic math (or precalculus). In the environment or region of solving an exercise I want to combine paragraphs of text (using \shortintertext) ...
11
votes
2answers
226 views

mathabx and mathtools: \widetilde{} and \dot{} problem

The problem is the odd placement of g in the second line in the align environment. Strangely, the \dot{}-character is only misplaced if it is followed by another character. I need the mathabx package ...
6
votes
1answer
66 views

get math width in math unit (mu)

Is there any command to get the width of math in math mode and give the result in math unit of the used font? I am using \settowidth{\myl}{$M$}\the\myl but the result is in pt and in would like to get ...
7
votes
2answers
105 views

Unwanted separation in an equation

I have an equation with an intersection which has multiple limit levels, like this, \[ \langle H, H'\rangle = \bigcap_{\substack{ L \leq G, \\ H \cup H' \subseteq L. }}L \] It compiles nicely, ...
5
votes
1answer
125 views

Changing the vertical alignment of `multlined` from the mathtools package

Package mathtools provides the vertical alignments top, center, and bottom: \documentclass{report} \usepackage{amsmath} \usepackage{mathtools} \begin{document} \makeatletter ...
5
votes
1answer
123 views

Cambria Math \bigg command doesn't work as expected

I get wrong sizes when I use \bigg and family with Cambria. Here is an example (I loaded mathtools before unicode-math and then my actual problem showed up). We can see that the size \bigg exists ...
18
votes
1answer
215 views

There's a bump in the implies glyph

Edit: I understand this question has been marked as a duplicate, but the question I linked to doesn't have a solution for me (unless I'm missing something obvious, which is likely). The effect is ...
6
votes
3answers
224 views

Super and subscripts with \DeclarePairedDelimiter

I defined a macro for the supremum norm by \DeclarePairedDelimiter{\supnorm}{\|}{\|_\infty} which works nicely. However, as soon as I want to place a superscript like \supnorm{f}^2 things look ...
4
votes
1answer
184 views

“Argument of \@caption has extra }” error using \makemathbox inside caption

I have a math expression which I seem to be unable to use inside a caption. Here's what I want to compile: \documentclass{article} \usepackage{amsmath} \usepackage{mathtools} \usepackage{MnSymbol} ...
0
votes
1answer
54 views

cases-like without brace

I want to know if there is a cases-like environment which has no braces? I want to do the following without a curly brace: \documentclass[12pt]{scrartcl} \usepackage{amsmath} \usepackage{mathtools} ...
2
votes
1answer
151 views

using aligned or split inside align*

I am trying to use aligned or split inside an align* environment. However, I keep getting an error missing } or missing \right.. However, this isn't the case. \documentclass{article} ...
6
votes
2answers
151 views

mathtools: \dddot cause the term to rise

From Dot Derivative Discrepancy, I have tried the using \hspace{0pt} and \makeatletter \renewcommand{\dddot}[1]{% {\mathop{\kern\z@#1}\limits^{\vbox to-1.4\ex@{\kern-\tw@\ex@ \hbox{\normalfont ...
2
votes
2answers
118 views

mathtools: tagging with words and a number in align

How does one tag an equation with both words and numbers? \documentclass{article} \usepackage{mathtools} \newenvironment{Dequation} {% ...
1
vote
3answers
176 views

To show something are appearing n-times!

Suppose I want to write that the sequence 1,1,...,1 appear n-times. How will I do this? Usually in mathematics we use a braces at the bottom and write "n-times" below the brace.
1
vote
1answer
115 views

mathtools' \vcentcolon and fourier's utopia

The mathtools package has a centered colon, \vcentcolon, which is used to display the definition symbol := correctly. However when using the fourier package, I get the following output from ...
6
votes
2answers
146 views

mathabx + mathtools -> extremely odd underbrace behaviour… how to fix?

This following code produce very strange result: \documentclass[12pt]{book} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{amssymb} \usepackage{amsmath} \usepackage{mathabx} ...
2
votes
1answer
187 views

Backreferences for equations

I'd like to put a list of pages, hyperlinked to the position of the \eqref or \cref that point to it in the margin of each \labeled equation, like backref does for bibliographies and \cite. Both this ...
2
votes
1answer
165 views

How can I \Aboxed a Matrix?

I am trying to use \Aboxed around a function containing a pmatrix, but anything other than a column vector seems to break \Aboxed. I think it has something to do with the &'s in the matrix, but I ...
4
votes
2answers
248 views

No \xrightrightarrow[a]{b}?

It seems that the commands \xrightarrow, etc. in mathtools package don't allow me to put text above or below two arrows (\rightrightarrows). Is there any way to do this with extensible arrows? A crude ...
6
votes
2answers
385 views

TikZ matrix decoration

What I'm trying to achieve is a code structure to draw this kind of diagram: I need to decorate a two-rows matrix grouping one or more columns with a square bracket above them, and then again with ...
6
votes
2answers
290 views

The \prescript command from the mathtools package gives incorrect alignment

The spacing I'm getting with the \prescript command from the mathtools package seems wrong. Here is a MWE: \documentclass{article} \usepackage{amsmath,mathtools} \begin{document} ...
4
votes
1answer
339 views

Issue with delimiters of small matrix

I am using the mathtools package in order to right-align entries in small matrices. My code is below. The issue is that the delimiters in the first matrix are not the appropriate size; they should be ...
24
votes
1answer
308 views

Please explain a strange interaction between bytefield, unicode-math, and mathtools

bytefield gives me different results when used in association with mathtools and unicode-math when used together. Here's my 'good' MWE: % !TEX TS-program = XeLaTeX \documentclass[a4paper]{article} ...
2
votes
2answers
216 views

Multi-line equations with single operator referring to multiple lines

I need to include an equation similar to the following in my text and have failed doing so in various tries, including using the align-environment of the amsmath-package. Basically, the text before ...
10
votes
1answer
842 views

Easily change behavior of \DeclarePairedDelimiter

After seeing the answer to this question I realized that I preferred the way of working of Juan A. Navarro's answer: I.e., \DeclarePairedDelimiter{\parens}{\lparen}{\rparen} from mathtools is a ...
3
votes
1answer
226 views

Left numbered equation inside list environment

I use the mathtools package with the leqno option in the memoir class. When inside a list environment, the equation label is misaligned. \documentclass{memoir} \usepackage[leqno]{mathtools} ...
0
votes
2answers
342 views

Problems while displaying sum limits below

I'm having some trouble when trying to correctly display a summation using LaTeX. I'm using the package mathtools, and the formula: Cov(O) = \frac{ \sum_{\forall c_i \in C} exists(O, c_i)}{n} My ...
7
votes
1answer
104 views

How to control the alignment of the brace in a dcases environment

The following code \begin{equation} \begin{dcases} u = \frac{\sqrt{2}}{2}(i+j)\\ v = k \end{dcases} \end{equation} results in the following display that I find ...
5
votes
1answer
259 views

Pgf plot square not positive

I am using pgfplot to draw a node and a cusp but it seems to be that the squares \x^2 are returning negative numbers to the coordinates. This is strange. I was using the same code before and getting ...
2
votes
2answers
590 views

Unwanted space before flalign

Why is there so much vertical space between the subsection heading and the equation in the following example. How do I get rid of it? \documentclass{article} \usepackage{mathtools} \begin{document} ...
3
votes
1answer
313 views

Package mathtools with showonlyrefs switch swallows parts of equation numbers in appendices

I want to use the mathtools package with showonlyrefs to achieve that only referenced equations are numbered. In the complete document I get the expected behavior for regular equations in the ...
6
votes
1answer
420 views

Typesetting Meijer's G function in LaTeX

At the moment I'm working on a paper, where I use Meijer's G function. The problem is that I don't like the way my G functions look. Let me first tell how I'm typesetting the function at present, and ...
1
vote
0answers
936 views

mathtools part of TeX Live 2012 but not accessible? [closed]

I'm having problems being able to use the mathtools package. It seems to be installed on my system after I installed the complete TeX Live 2012 system. If I run the GUI on my Ubuntu installation ...
19
votes
4answers
2k views

How to break a long expression in the denominator of a fraction?

I used the split command to break my equation but I receive the error: ! Missing } inserted. <inserted text> } l. \end {split} The code in .tex file is as follows: ...
3
votes
1answer
154 views

smashoperator produces black line with Linux Libertine O

When I use fontspec to set the main font to "Linux Libertine O", the smashoperator command (and also mathclap and friends) produce a black line above the smashed subscript (with luatex). ...
4
votes
2answers
447 views

Cross-references linking to wrong equations using `hyperref`

I have two macros I've defined that I use to set the context in which equations are numbered in my document. One that establishes something I call a 'block' in which equations are numbered, by ...
11
votes
1answer
187 views

Problems with mathtools package

The following code produces an error. If the mathtools package is removed, it works. Why? \documentclass{report} \usepackage{mathtools} \usepackage{etoolbox} \newbool{shorttoc} \makeatletter ...
4
votes
1answer
392 views

Mathtools' showonlyrefs fails with subequations

For the code \begin{subequations}\label{eq:sub} \begin{gather} \frac{\text{d}b_1}{\text{d}z} - \im\beta_1b_1 = C_{12}b_2,\\ \frac{\text{d}b_2}{\text{d}z} - \im\beta_2b_2 = C_{21}b_1. ...
3
votes
2answers
254 views

Delimiter size \big not working with fourier, mathtools packages and 11pt option

I have a document using the fourier font package and mathtools. In mathmode the \big delimiters are the same size as normal sized. After some debugging I noticed that if I remove the 11pt document ...
11
votes
1answer
428 views

Adding multiple paragraphs between aligned equations

Some people have asked about how to add multiple paragraphs (when \intertext and \shortintertext no longer work), a fix was proposed by Peter Grill here: He wrote: My first thought was to hack ...