Questions tagged [mathtools]

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

Filter by
Sorted by
Tagged with
1 vote
3 answers
118 views

How can I include the red-circled paragraph in the math mode? [closed]

I am facing a problem when trying to include the following red-circled paragraph like math text under math mode: How can this be resolved?
3 votes
1 answer
173 views

Wrapping long numerator

I have a long square root equation that walks off the edge of the page. See the following picture where the end of the equation is cutoff. \[ S=\sqrt{\frac{306.250+240.250+156.250+110.250+90.250+56....
  • 33
3 votes
1 answer
50 views

Warning when unicode-math and mathtools are loaded [duplicate]

This is a follow-up question to "Switching from PDFLaTeX to LuaLaTeX". Consider the following MWE: \documentclass{article} \usepackage{mathtools} \usepackage{unicode-math} \begin{document} ...
2 votes
2 answers
48 views

Declare custom formatted delimiters mathtools

First I want to thank mathtools package maintainers. Issue Description The issue is about declaring paired delimiters with \DeclarePairedDelimiter(X): if I want to e.g. colour the delimiters (with ...
  • 23
0 votes
1 answer
17 views

Reference Request

I want to know and read about Latex mathematics . I thought to know and understand about Latex mathematics by reading some books relating to Latex . I failed to find out exact and suitable books . ...
3 votes
1 answer
162 views

How to show simple summing with tex

I want to show simple summing like in the picture, without using colors. But I've no idea, that's not a undercase command.
  • 43
0 votes
1 answer
77 views

Vertical alignment of limits in sums

I try to find a solution to align the subscript limits of three subsequent sums for my thesis. The code for the problem looks like this: \documentclass{standalone} \usepackage{mathtools} \begin{...
  • 2,172
2 votes
1 answer
40 views

amsmath's align* or gather* followed by \ifmmode = 🗲

Feeding \documentclass{article} \usepackage{mathtools}%%% or amsmath \begin{document} \begin{gather*} \ifmmode Math\else Text\fi \end{gather*} \end{document} to any of the four LaTeX processors (...
  • 1,565
0 votes
0 answers
44 views

mathtools and hyperref badly interacting?

I would like to: (a) have no equation numbers for non-referenced equations; (b) have hyperlinks on equations and other constructs (lemmas/theorems/etc.); (c) use autoref so that the string for the ...
  • 9,070
2 votes
2 answers
115 views

automating a quadratic equation

I have updated my recent post am I am trying to automate it but need help with a method, I have read all the macro books I can but can not find an answer. \documentclass{article} \usepackage{mathtools}...
  • 547
2 votes
5 answers
225 views

Moving the equation to the left in "align"

Is it possible to move the equation a little bit to the left in the align environment? For example, how to move the following equation to the left so that \simeq is approximately on the center? (I ...
  • 6,831
0 votes
1 answer
47 views

Failed to use TikZ to draw lines matching \delimsize

In this answer @egreg proposed a method to use dashed line in the notation of sets. In a similar way, I would like to use TikZ to draw the separation line. The idea is also to measure the height of $\...
  • 6,831
2 votes
1 answer
73 views

What is `\mathopen{}` for?

On mathtools manual, page 27, there is an example defining a command \Set: % just to make sure it exists \providecommand\given{} % can be useful to refer to this outside \Set \newcommand\SetSymbol[1][]...
  • 6,831
1 vote
1 answer
52 views

Regarding the separation line in the expression of sets

I defined a command \set[<size>]{<first>}{<second>} with \DeclarePairedDelimiterX from mathtools for typesetting (mathematical) sets, which accepts one optional argument and two ...
  • 6,831
1 vote
4 answers
70 views

Numbered equation, alignedat enviroment, tall curly brace [duplicate]

I want to get a single equation number for this multiple equation with \label I need for cross referencing. Also, I need a tall curly brace prior to the equation number.
0 votes
3 answers
73 views

elementary school-like math operation

I'd like to write an equation formatted like this Term can be writted with siunitx package, but to align them like this? \flalign{} doesn't do exactly what I ask. Any idea?
0 votes
0 answers
82 views

How to type "nicely" the following math expression using libertinust1math math font

Using the following packages, i.e. libertinust1math in particular, how can I type nicely subscripts of \mathbf expressions? \documentclass[12pt]{book} \usepackage{cmap} \usepackage[utf8]{inputenc} \...
  • 61
1 vote
1 answer
33 views

Split doesn't work in align with multiple tab stops

I have equations in an align environment with multiple tab stops, and I'd like to use split to render just one equation number for multiple lines of equations. However, if I have more than one tab ...
1 vote
1 answer
40 views

Placing symbol over relation without changing where superscripts are placed

I would like to place a symbol over a relation without changing where superscript are placed. \documentclass{article} \usepackage{mathtools} \usepackage{amssymb} \usepackage{accents} \newcommand{\rel}...
  • 723
0 votes
0 answers
28 views

How can I type this formula in LaTex [duplicate]

![] I'm writing my thesis and I need help on how I can type the following equation in LaTex.
0 votes
1 answer
109 views

Conflict of mathtools and amsmath?

I was using this template: https://www.overleaf.com/latex/templates/university-of-michigan-dissertation-template-unofficial/tpnjzndnrzmf As long as I add "\usepackage{mathtools}" in "...
  • 287
11 votes
1 answer
181 views

When to use which alignment environment?

There seem to be a whopping align, aligned, alignedat, alignat, xalignat, xxalignat and falign in amsmath / mathtools - some also in there starred version. I just find sloppy statements like: "...
  • 851
1 vote
0 answers
28 views

Is hvfloat incompatible with mathtools and cellspace?

I notice strange interaction between the hvfloat package and the cellspace and mathtools packages. It happens when I want to split an image (png or pdf) on two pages via the command \hvFloat[...
  • 335
1 vote
5 answers
140 views

How to write a triple fraction with one missing line

I want to write a triple fraction with the first horizontal line missing. I tried doing it with a combination of \dfrac and \substack, or with matrices. But nothing looks similar to this: Does ...
0 votes
1 answer
62 views

Create a new double bracket symbol, or properly scale the existing one

In my document there already exists a math font configuration, but it doesn't contain the symbol for double brackets. Following this answer, I imported the one from the fourier font. However, as can ...
  • 6,831
4 votes
4 answers
229 views

Line-breaking (splitting) an inequality

How can I split the following inequality across three lines? \documentclass[12pt]{report} \usepackage{mathtools} \begin{document} \begin{eqnarray}\label{hhi1} \frac{1}{q-p}\int_{p}^{q}\kappa(u)du\leq ...
0 votes
2 answers
66 views

How to write this full notation in LaTeX

Please tell me how can I write this in LaTeX. I tried to do with array and \underset but was not satisfying
9 votes
2 answers
175 views

How to use \DeclarePairedDelimiter commands as moving arguments (such as sections or captions)?

I am having trouble to use \DeclarePairedDelimiter commands from the mathtools package with the optional size argument inside moving arguments such as section titles (or caption texts), when a table ...
  • 191
1 vote
0 answers
52 views

math tools and cleveref gives no equation number

Using the following \documentclass{scrartcl} \usepackage{amsmath} \usepackage[tbtags]{mathtools} \mathtoolsset{% showonlyrefs = true ,showmanualtags = true } \usepackage{varioref} \...
  • 707
0 votes
0 answers
25 views

How to get a big "+" symbol (i.e., equivalent to "\bigtimes")? [duplicate]

Consider the commands $\bigtimes$ provided by (some package loaded by) mathtools, which produces a big cross. My question is simple. Is there any way to obtain a big "+" symbol (i.e., of the ...
  • 2,139
0 votes
0 answers
62 views

Vector arrow is not on the letter but shifted to left

I'm trying to type a vector notation over a letter but it ends up with a failure. It looks like the vector arrow and the letter I want to make a vector take two different spaces. Here's the code: \...
  • 1
3 votes
2 answers
60 views

How to create a simple vertical vector with several vertical curly braces outside the square bracket?

I could not code a vertical vector with several vertical curly braces outside the square bracket of the vector. The best thing I have obtained so far is by using rcases from mathtools package that ...
  • 33
0 votes
1 answer
67 views

please help in emergency [closed]

hi everyone could you help me. how can I write in tex
0 votes
1 answer
108 views

Why is showonlyrefs in mathtools not working this way?

I want to only show equations that I label/ref later in text. However I am doing something wrong, as there is not equation number shown, although I referenced it: \documentclass[a4paper]{article} \...
2 votes
1 answer
118 views

About numbering in equation

I would like to have the equation numbering arranged in the picture. However, I cannot add the \circ only for equation (1.5). Could anyone please help me? Thank you. \documentclass[12pt,a4paper]{...
2 votes
1 answer
93 views

About special numbering in equation

I would like to ask how to typeset the equation number like Charles's law in the picture? There is a \circ after the closing parenthersis. Do I need another package to do that? The packages that I am ...
0 votes
2 answers
35 views

How to add alignat in dcases?

I am trying this I tried \documentclass[12pt,a4paper]{article} \usepackage{mathtools} \begin{document} \begin{alignat*}{2} 2 x_{2}&=x_{1}&&+\frac{2}{x_{1}},\\ 2 x_{3}&...
3 votes
1 answer
3k views

\usetagform incompatible with microtype?

It seems that \usetagform in mathtools package is incompatible with microtype package as can be seen in the following MWE: \documentclass[10pt]{article} \usepackage{microtype} \usepackage{mathtools} \...
0 votes
0 answers
16 views

Conflict with musixtex package [duplicate]

In this code \PassOptionsToPackage{svgnames, x11names}{xcolor} \documentclass{book} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[italian]{babel} \usepackage[utf8]{inputenc} \usepackage[...
  • 925
2 votes
3 answers
94 views

Define Another Command Like Aboxed but with a Different Colorbox

The following commands define Aboxed but with a yellow coloured box. \def\@Aboxed#1&#2&#3\ENDDNE{% \ifnum0=`{}\fi \setbox \z@ \hbox{$\displaystyle#1{}\m@th$\kern\fboxsep \kern\fboxrule }%...
2 votes
0 answers
42 views

How to print the symbol {{ }} [duplicate]

How to print the mathematical symbol of {{ }}
  • 121
2 votes
1 answer
96 views

\underbracket in custom command

I am looking to define the custom command \distr as follows: \newcommand{\distr}[1]{\underbracket[0.3pt][1pt]{#1}} The command \underbracket is the one appearing in mathtools. However, I see (at ...
  • 335
2 votes
3 answers
178 views

Put the plus-minus sign on the second row in cell

I have quite a large table where I have to specify the std values. If I use a regular \pm I end up with the table which overflows the border. The matrix is as follows: \documentclass[sigconf,natbib=...
  • 125
0 votes
0 answers
44 views

Mathtools and PGFPlots conflict: `centercolon` and `addlegendentry` do not compile

I am using \mathtoolsset{centercolon} in a document, together with PGFPlots. I noticed that if I insert a colon in the \addlegendentry command, the document keeps compiling forever and never produces ...
2 votes
1 answer
98 views

How to write your own result using the xlop package

I'm trying to display vertical addition for binary numbers, but xlop solves everything automatically assuming base 10 and then displays it. Is there a way for me to remove the result and replace it ...
2 votes
3 answers
163 views

How can I get vertical lines left and right of an align with a linear system of equations?

I've tried to use the align environment for my work. But, I don't know how to get vertical lines either side of the equations. The picture shows my attempt, but, it uses the tabular environment and ...
0 votes
0 answers
44 views

Is there a package similar to \underbrace{} that can be used to illustrate counting digits/decimal places in a number?

I want to make something similar to the image below. A wave-like line that hops between each number with an arrow to point at a particular place. In general, a wave-like line that works similar to \...
  • 5
1 vote
0 answers
15 views

Table of Contents for Math Equations in Latex [duplicate]

What's the best way to have equations in LaTeX reference back to a table of contents at the beginning of a document? Something similar to the way that chapters and subchapters easily make a table of ...
3 votes
3 answers
529 views

Block matrix with array, NiceMatrix or tabularray

About this code I'd like that only between $a_{11}$ and $a_{12}$ there isn't the vertical line. How can I do? I'd desire to have three solutions, one with normal \begin-\end array, another with ...
  • 925
0 votes
1 answer
176 views

Equations going outside margin. Springer LNCS format [duplicate]

The equation, I am using is going outside the margin in Springer LNCS format. The MWE is shown below. \documentclass[runningheads]{llncs} \usepackage{amsmath,amssymb} \usepackage{mathtools, nccmath} \...

1
2 3 4 5
10