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

learn more… | top users | synonyms

0
votes
0answers
31 views

To Convert PDF containing Math it to Latex [closed]

To Convert PDF containing Math it to Latex To save time these following software will help. Word Kutools will convert images in to eqution for word MathType can paste word eqution to latex format ...
4
votes
1answer
33 views

What is the equivalent of nocite with mathtools equation referencing?

In general, I use mathtools in a mode that puts equation numbers only if an equation is referenced. How can I reference an equation without actually showing the number in the document, so that a label ...
5
votes
1answer
70 views

Transitioning to mathtools - environment proof undefined

I am new to LaTeX and I was using the amsthm package in order to write proofs by using the proof environment: \documentclass{book} \usepackage{amsthm} \newtheorem{theorem}{Theorem} \begin{document} ...
2
votes
1answer
48 views

Alignment of conditions between dcases (or cases) environments

I have found various discussions/questions on this subject, but I haven't found one that answers my question in a understandable way. How do I align the conditions of multiple piecewise equations? ...
0
votes
1answer
607 views

Mathtools.sty not found 'latex error' [duplicate]

I am using MiKTeX 2.9 and TeXnicCenter to compose and execute my LaTeX file(s) on Windows 8. When compiling, my code has this error: Mathtools.sty not found What should I do? How can I add this ...
6
votes
3answers
98 views

Mathtools: using substack to align limits

I want to align the limits of a sequence at the equal sign but have an optional modifier before the substack. When I add this optional modifier, the limits are distorted since the modifier is placed ...
2
votes
0answers
32 views

Extra vertical space when using align and no numbering

I think I've found a small bug in the way the showonlyrefs=true option in mathtools works. Consider this semi-minimal example: \documentclass[12pt]{article} \usepackage[utf8]{inputenc} % UFT8 - ...
4
votes
1answer
44 views

Float addition operator in LaTeX?

I need to get the +. sign (see the OCaml float addition operator) in LaTeX. However, when I try: *$\mid h :: t \-> h +. sumList(t)$ \\** The output is as follows: How can I make sure that ...
7
votes
5answers
3k views

problems installing mathtools

There have been a few questions regarding installing this package in the past, but they now seem to be out of date. I'm using MiKTeX 2.9 and TexMaker. When I try \usepackage{mathtools} in TexMaker it ...
4
votes
2answers
90 views

Smashoperator for the vertical space?

I would like to vertically smash a summation sign in a way that the line has a vertical space as if the summation sign wouldn't be there. To illustrate it please see the MWE. The space between the ...
4
votes
1answer
63 views

Center some lines within an alignat environment nested in subequations environment

For typesetting a mathematical program I use the subequations environment to number the equations. The restrictions are aligned using the alignat environment (see MWE1). What I would like to achieve ...
2
votes
1answer
86 views

Discrete and continuous Centroid equations in LaTeX

I would like to write the following equations in LaTeX: and The first one (with the integrals) I managed to make similarly using the following code: \begin{equation} COG = ...
7
votes
1answer
290 views

What generically CANNOT be compiled inside an equation environment?

Certain macros or whole environments which are themselves not equations, like whole tikz diagrams can be placed in the equation environment and compile. For example Diagram displayed as an equation ...
5
votes
1answer
71 views

Mathtools: Automatic italic corrections before math not working when combined with ~

In mathtools, I've noticed that the automatic italic correction before math doesn't work when combined with ~. For instance, in \documentclass{article} \usepackage{mathtools} \begin{document} ...
2
votes
1answer
51 views

Why doesn't \vDash work?

I am trying to set some logical expressions, but unfortunately I cant get the command \vDash working. What am I missing? \documentclass[10pt,twoside]{memoir} \usepackage[english,german]{babel} ...
8
votes
1answer
155 views

mathtools with mu = Illegal unit?

I'm trying to change medmuskip while using mathtools: \documentclass{article} \usepackage{mathtools} \setlength{\medmuskip}{0mu} \begin{document} \end{document} But this results in an error: ! ...
3
votes
1answer
67 views

How to align terms in alignat: too much spaces and too few

Please, help me this code has too much spaces and too few, how can I fix it? \begin{subequations} \begin{alignat}{2} \forall i \in[m] && \sum \limits_{e \in N_{out(s_{i})}} y(i,e) - \sum ...
4
votes
1answer
43 views

Is it possible to make odd-numbered columns have implicitly a prefix {}?

Prefix {} is implicitly inserted for even-numbered columns of alignedat (and alignat). As a result, + (or -, etc) becomes a binary operator. The section "Left aligned" below \begin{alignedat}[t]{3} ...
1
vote
2answers
67 views

Automatic brace sizes with braket and mathtools

The packages braket and mathtools provide two different command to typeset set with dynamically sized braces. For example with braket: \documentclass{standalone} \usepackage{braket} \begin{document} ...
5
votes
4answers
90 views

Increase the spacing of rows in equations

I have a formula and I want to increase the space between the rows to make the reading easier. \begin{equation} \begin{flalign*} \epsilon \bm{\Xi}_n & = M_\epsilon(\bm{x}_{\epsilon,n-1} ) - ...
3
votes
1answer
195 views

Multlined in align enviromnent: alignment of = and equation numbering

I'm using the multlined environment inside an align environment and want have the = aligned at the top and the equation numbering at the bottom. Is this possible? Here my MWE: ...
2
votes
1answer
54 views

Extensible \rightrightharpoons and \leftleftharpoons

How to achieve extensible double-harpoons in the style of the \xleftrightharpoons family of arrows from mathtools, but with both harpoons pointing in the same direction? Preferably without Tikz.
4
votes
2answers
400 views

What program is something like this created on?

Been trying to further improve my LaTeX skills, and such to make my notes look better. But I was curious if you guys could easily tell what program something like this was created in? ...
2
votes
2answers
61 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
334 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
92 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
116 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
85 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
87 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
234 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
81 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
150 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
44 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
168 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
411 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
95 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
125 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
304 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
170 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 ...
20
votes
1answer
256 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
380 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
471 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
211 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
419 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} ...
9
votes
3answers
321 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
143 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
359 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
171 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
218 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
244 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 ...