{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
82 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
21 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
43 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
232 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
45 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
52 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
58 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
31 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
48 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
122 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
272 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
138 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
61 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
203 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
92 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
66 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
41 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
117 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
47 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
277 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
152 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
5k 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
153 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
64 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
60 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
10k 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
334 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
112 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
120 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
308 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
93 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
68 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
229 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
86 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
101 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
104 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
410 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
69 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
409 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
84 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
550 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
159 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
154 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
115 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
116 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
301 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
107 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
247 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
47 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} ...