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

learn more… | top users | synonyms

5
votes
2answers
106 views

\limits and \biggl\lparen

When I type \biggl\lparen before \int\limits, where \limits puts the domain over which I'm integrating under the integral sign, the bottom end of the left parenthesis touch — or is too close to — the ...
2
votes
1answer
187 views

Is there any way to use \ceil and \floor functions, without installing the mathtools package?

I can not install the mathtools package. Is there any way to create the \ceil and \floor functions without this package?
0
votes
1answer
66 views

How should I install mathtools package using linux mint?

I am trying to install the mathtools package using Linux Mint. My first attempt was via the Terminal: sudo apt-get install mathtools on which I got response Reading package lists... Done ...
2
votes
0answers
52 views

Stop custom counter from incrementing twice in align* environment

This took me hours to track down, partially because I am fairly new to TeX. I want to understand why the custom counter eqpart in the following code fails to increment properly when using mathclap. ...
3
votes
2answers
190 views

How to get a vertical bar which is the exact size of the object?

I wish to use two vertical bars to sandwich a whole object: What I found is that (Failure 1) if I use usual \mid or \rvert or |, it is too small. (Failure 2) if I use usual \left| or ...
2
votes
1answer
76 views

Are there any ways to embed LaTeX source code from a PDF file [duplicate]

I want to the tex files from PDF files. I have the PDF files that I get in Internet and have a lot of mathematics, so I want to convert PDF files into tex files. I researched in these forum, and ...
5
votes
1answer
56 views

How can I essentially '\ensuremath' a \DeclarePairedDelimiter (from `mathtools`)?

I am trying to create a paired delimiter command that will work outside of text mode. I was not able to accomplish this simply by defining a new command with \ensuremath, so I've resorted to the use ...
3
votes
1answer
38 views

Aligning Vertically Spaced Equations

This question is most likely a duplicate and trivial, but I ask nonetheless as it is causing frustration. I have written the following \begin{equation} \begin{split} \alpha_{a}\alpha_{b}+\alpha_{b} ...
3
votes
1answer
102 views

What LaTeX math is not covered in the MathML specification?

Does anybody have an exhaustive list of what parts of the standard LaTeX math macros that are not covered by the MathML specification? By standard, ideally I mean the maths packages distributed with ...
4
votes
1answer
38 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 ...
6
votes
2answers
187 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
85 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? ...
1
vote
1answer
3k 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
130 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
47 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
52 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 ...
9
votes
5answers
7k 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
183 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
86 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
101 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
298 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
79 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
58 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
189 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
76 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
45 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
80 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
100 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
284 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
60 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
408 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
71 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
409 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
124 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
129 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
100 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
107 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
263 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
92 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
190 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
46 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
189 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
522 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
115 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
134 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
348 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
187 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
286 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
452 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 ...
5
votes
1answer
650 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} ...