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

learn more… | top users | synonyms

1
vote
0answers
27 views

How to install mathtools in Texworks

I would like to install mathtools in Texworks on windows 7. How can I do this task?
5
votes
5answers
322 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 ...
6
votes
3answers
45 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 ...
0
votes
0answers
191 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: ...
4
votes
3answers
74 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} ...
6
votes
3answers
138 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 ...
2
votes
2answers
68 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 ...
1
vote
2answers
39 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 ...
7
votes
2answers
120 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 ...
2
votes
1answer
38 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} = ...
1
vote
1answer
48 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?
6
votes
2answers
281 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 ...
2
votes
2answers
50 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, ...
5
votes
1answer
64 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 ...
2
votes
1answer
61 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?
1
vote
2answers
40 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 ...
1
vote
1answer
70 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 ...
5
votes
2answers
133 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 ...
3
votes
1answer
431 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?
1
vote
1answer
182 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 ...
4
votes
1answer
69 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. ...
4
votes
2answers
216 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
111 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
73 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
46 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
139 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
51 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
341 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
189 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
6k 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
180 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 ...
4
votes
1answer
79 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
64 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 ...
12
votes
5answers
12k 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
521 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
136 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
138 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
316 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
96 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
79 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
276 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
95 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
113 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
112 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
501 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
86 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
412 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? ...