{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
28 views

Horizontal positioning of vertical arrows between lines in an alignment

I'm trying to get a construction like \documentclass{article} \usepackage{amsmath,mathtools} \begin{document} \begin{align*} a &= b \\ &\Downarrow \\ a &= c \end{align*} ...
5
votes
2answers
268 views

Best Practice: Package for Mathematical Documents - amsmath and Beyond

I am aware that best practice questions are not always appreciated since there there's not "one size that fits all". I am going to give a LaTeX introduction for phd students at my company. All ...
0
votes
0answers
8 views

how to refer to an equation so that its label appears with mathtools? [duplicate]

I am using showonlyrefs=true with mathtools, so only references with refeq actually appear in the document. However, there is one case in which I want to have an equation include a (x.y) label, even ...
2
votes
1answer
22 views

Force the numbering of a specific equation when mathtools showonlyrefs is true

In order to don't waste time in adding/removing *-caracters to number or not equations, I use \mathtools{showonlyrefs=true} in the preamble. Nevertheless, sometimes I'd like to number unreferenced ...
0
votes
1answer
23 views

Limits set with \mathclap are invisible in final pdf

I have a strange problem when typesetting sums, integrals etc. with long limits. Using the \mathclap command from mathtools, I want to type something like this $ A = \int\limits_{\text{a very long ...
6
votes
0answers
44 views

Purpose of DOTSB in definition of \iff

What exactly is the purpose of the \DTOSB in the definition of \iff? There is a mention in Is there a left-handed equivalent of \implies? that the \DOTSB makes \iff "dots aware". But, when I try to ...
4
votes
1answer
47 views

Reference equations with \eqref while using different tag forms throughout document

I'm trying to reference equation by \eqref when I use different tags form throughout document, but the output can't display the tag form that I want. As mentioned in mathtools package usage, "be ...
2
votes
1answer
49 views

Vertical space command which is between \intertext and \shortintertext

Is there a way to define a command like \notsoshortintertext with two parameters to define the vertical space before and after it? The problem I have is that \intertext is to wide on a specific page ...
0
votes
0answers
21 views

How to typset $:\iff$ (logical equivalence)? [duplicate]

How shall I typeset ":<=>" in Latex which means "is logical equivalent"? After typing A :\iff B I get Comparing it with A \coloneqq B (cf. How to typeset $:=$ correctly? ): We see that there ...
5
votes
3answers
127 views

Cause DeclarePairedDelimiter to switch starred and nonstarred versions

I've made lots of use of the answer here, which shows how to switch the starred and nonstarred versions of a paired delimiter command (causing the regular version to automatically size the ...
3
votes
2answers
78 views

Overbrace and superscripts

Using pdflatex, the command $e^{a\overbrace{+b+c}}$ results in a bigger size font of the part +b+c under the brace. If I do: $e^{a\overbrace{\scriptstyle +b+c}}$ the size of +b+c is fixed but ...
2
votes
1answer
73 views

How to write a particular mathematical expression

I am trying to write an equation which is: Now wrote something like this: $\Delta_w_{k} = p\Delta_w_{k-1} + \Alpha_p$ I wrote it partly as I wanted to check whether I was doing the right ...
5
votes
1answer
74 views

multlined breaks \substack?

I have some long equations to deal with that don't fit into one line, and love the multlined-environment from mathtools to fit them into (e.g.) an align-environment, particularly if I want to package ...
1
vote
0answers
32 views

Foonotes in multlined equations inside minipages

I am having the exact same problem as describe in this question. Unfortunately, however, the solutions listed there do not seem to work for the multlined environment as well. A MWE is the following. ...
2
votes
0answers
64 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” ...
0
votes
0answers
24 views

Why gap in linenumbering with this Math case? [duplicate]

Code where I follow a piece of advice from this answer How to show linenumbers for IEEE proof as one column? \documentclass{article} \usepackage{mathtools} \usepackage[mathlines]{lineno} % ...
4
votes
1answer
70 views

automatic numbering of labeled equations

Since autonum doesn't play nicely with cleveref (nor does the mathtools automatic numbering option work for me), I'm looking for a simpler solution. I'd like equations to be numbered automatically if ...
4
votes
1answer
59 views

Subscript overlap issue with \mathclap

I wanted to use \mathclap (from mathtools) to make more compact the appearance of \documentclass[12pt]{report} \usepackage{mathtools} \begin{document} \[ \lim_{(x,y)\to (0,0)} f(x,y) \] ...
5
votes
1answer
54 views

\newcommand and \prescript aren't working together

The code \newcommand{\AMod}[1]{\prescript{}{#1}\text{Mod}} \AMod{A} causes the following error: ! Argument of \text@ has an extra }. The error does not occur when I replace the \prescript ...
12
votes
1answer
226 views

mathtools brackets larger than \Bigg

I'd like to use the syntax of the mathtools package to generate brackets larger than \Bigg. One can create larger brackets than \Bigg of specified size using About big parenthesis larger than Bigg ...
2
votes
1answer
194 views

In MikTeX, `mathtools` package not found even if it is installed

I have installed mathools package from MikTeX packahe manager (both normal and admin). However, MikTeX still tries to find it in the mh bundle and does not find it as a separate package. How do I ...
3
votes
1answer
76 views

Intertext causes overfull hbox in align* environment

\documentclass{article} \usepackage{mathtools} \begin{document} \begin{align*} a & =b & & \text{if } \begin{dcases*} ...
2
votes
1answer
110 views

Using TEX in Mathtype

I use Mathtypeto insert mathematical equations in MS world. Today I understood that there's no built-in symbol for $\mathscr(F)$ in MathType so I searched for a way of using LaTex codes in MathType. ...
2
votes
0answers
61 views

How to install mathtools in Texworks

I would like to install mathtools in Texworks on windows 7. How can I do this task?
9
votes
5answers
648 views

How to change all \vec{} to \bf{}

I'm writing a paper and I used \vec{} to express all vectors. Now, I changed my mind and want to write them in bold letters using \bf{} for instance. Is there a fast way to change all that's been ...
7
votes
3answers
73 views

Vertical spacing in mathtools

When using mathtools with the option showonlyrefs I find a spurious vertical spacing. I have found a similar question but the issue there was a long equation, which is not my case. Consider the MWE ...
1
vote
0answers
222 views

Problem in installing mathtools.sty

After performing above procedure Permission denied: C:\Users\Sheetal\AppData\Local\MiKTeX\2.9\miktex/data/le\df2c24cb21984fa85003c1ecc818ff83.fndb is the error
0
votes
0answers
23 views

Can't install 'mh' in Miktex 2.9.5 [duplicate]

I'm having trouble with the 'mh' package installation to get at the mathtools. I just checked out the most appropriate link How to install mathtools package? but I get 'Error response from server: ...
6
votes
3answers
287 views

Centering in dcases environment

How would I go about centering the zero within the column for the following dcases MWE: \documentclass{article} \usepackage{mathtools} \begin{document} \begin{equation} T = \begin{dcases} ...
1
vote
0answers
23 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 ...
7
votes
3answers
195 views

Display math gets typeset as inline math

When typesetting the below annotated equation my summations are being typeset as inline maths rather than display maths. If I wrap the sum and subscript with \smashoperator{} then they are typeset ...
3
votes
2answers
115 views

Use mathclap as default in limits of integration

I would like to change the default behaviour of limits to include \mathclap. Rather than writing every time \int\limits_{\mathclap{verylonglimit}} x \, dx I would like to simply write ...
2
votes
2answers
63 views

Problem with rcases*

I want to put a right bracket because I need it, but it goes out of the page. \[ \begin{rcases*} \text{Si }f:\left[x_{1}, x_{2}\right]\longrightarrow\mathbb{R}\text{ es continua en } \left[x_{1}, ...
1
vote
0answers
34 views

Missing mathtools package [duplicate]

I am using Windows 8. I have installed MiKTex 2.9 and TeXstudio. However, when I compile the document, the process exits with the following error: File `mathtools.sty' not found. \usepackage When I ...
9
votes
2answers
286 views

Scaling \ddots in smallmatrix

I'm trying visualize a very large matrix. To do so, I'm trying to use \vdots and \ddots in a bsmallmatrix enviroment. It works but they do not scale properly as \cdots do. Now, in the minimal ...
3
votes
1answer
80 views

Fixing the spacing of overbrace and underbrace contents relative to large brackets

Consider the code for the MnWE: \documentclass{article} \usepackage{physics} \usepackage{mathtools} \usepackage{amsmath} \begin{document} \begin{equation} \norm{f - L}_{\infty} = ...
2
votes
1answer
53 views

Appropiate size of mathmatical formula in a text

I used this code to inset a mathematical formula in my two-columns text. ($Prob_{SVM}-Prob_{MLP}$) Comparing to normal text, Isn't it a little big and inappropriate? How can i fix it?
7
votes
2answers
473 views

Nested Summation

Using below code i am getting result shown in below image but its not properly displayed for ex space on either side of =. First summation sign is small. Brackets ( ) are small. All items are not ...
3
votes
2answers
67 views

Centering not working in environments

For some reason, some environments which are supposed to center mathematical equations aren't doing so, neither am I able to manually align them to the left or center them. I'm using mathtools and, ...
6
votes
1answer
103 views

Referenced equation numbers not shown in unreferenced equations

I like very much the mathtools option showonlyrefs which allows that labels of an equation are displayed only, if there is a reference to the equation. The problem is, that references in an equation ...
5
votes
1answer
73 views

Appropiate position of prime in a LaTeX formula

I'm using this code in LaTeX: $\vec{s}^{'}$ The result: As you see, the position of ' isn't good. How can I have a appropriate position?
2
votes
2answers
65 views

bmatrix, how to give details after particular row bracket[ ]?

I am new to LaTeX. I want matrix like in bmatrix [1 1 1] R1=R1-R2 (Row1= Row 1 - Row 2) 1 1 1 R2<-R1+R3 1 1 1 I want "R1=R1-R2" after the matrix [1 1 1] but when i add this its goes to ...
3
votes
1answer
124 views

Adjustlimits in combination with smashoperator

I would like to use the method \adjustlimits from the mathtools package in conjunction with the \smashoperator method. In the MWE I don't know how and where to use the \adjustlimits method. Trying to ...
7
votes
2answers
195 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 ...
8
votes
1answer
4k 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?
2
votes
1answer
330 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 ...
5
votes
1answer
77 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. ...
7
votes
2answers
233 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 ...
3
votes
1answer
149 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 ...
6
votes
1answer
90 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 ...