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
0 votes
0 answers
7 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?
user avatar
0 votes
0 answers
66 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} \...
user avatar
  • 61
1 vote
1 answer
25 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 ...
user avatar
1 vote
1 answer
37 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}...
user avatar
  • 691
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.
user avatar
0 votes
1 answer
74 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 "...
user avatar
  • 91
11 votes
1 answer
169 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: "...
user avatar
  • 785
0 votes
0 answers
24 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[...
user avatar
  • 281
1 vote
5 answers
131 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 ...
user avatar
0 votes
1 answer
43 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 ...
user avatar
  • 4,737
4 votes
4 answers
185 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 ...
user avatar
0 votes
2 answers
59 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
user avatar
9 votes
2 answers
150 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 ...
user avatar
  • 191
1 vote
0 answers
34 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} \...
user avatar
  • 607
0 votes
0 answers
22 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 ...
user avatar
  • 2,037
0 votes
0 answers
51 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: \...
user avatar
  • 1
3 votes
2 answers
52 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 ...
user avatar
  • 33
1 vote
0 answers
24 views

Why not resize delimiters automatically per default? [duplicate]

I recently read through parts of the mathtools package documentation. On page 26 they start writing about paired delimiters and their DeclarePairedDelimiter, DeclarePairedDelimiterX commands. I was ...
user avatar
  • 43
0 votes
1 answer
65 views

please help in emergency [closed]

hi everyone could you help me. how can I write in tex
user avatar
0 votes
1 answer
45 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} \...
user avatar
2 votes
1 answer
99 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]{...
user avatar
2 votes
1 answer
86 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 ...
user avatar
0 votes
2 answers
33 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}&...
user avatar
2 votes
1 answer
198 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} \...
user avatar
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[...
user avatar
  • 793
2 votes
3 answers
81 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 }%...
user avatar
2 votes
0 answers
41 views

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

How to print the mathematical symbol of {{ }}
user avatar
  • 21
2 votes
1 answer
83 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 ...
user avatar
  • 335
2 votes
3 answers
161 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=...
user avatar
  • 125
0 votes
0 answers
33 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 ...
user avatar
2 votes
1 answer
74 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 ...
user avatar
2 votes
3 answers
129 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 ...
user avatar
0 votes
0 answers
40 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 \...
user avatar
  • 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 ...
user avatar
3 votes
3 answers
412 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 ...
user avatar
  • 793
0 votes
1 answer
89 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} \...
user avatar
0 votes
1 answer
96 views

How to get \shortintertext and \intertext to color their inline math contents in beamer?

I would like the intertext of math to be colored even inside \shortintertext and \intertext. Using \newcommand{\colorInlinedMath}{\everymath{\color{SpringGreen3}}\sisetup{color=SpringGreen3}} I switch ...
user avatar
0 votes
0 answers
55 views

Best use for Delimiters, Integrals, Big Operators, fonts

I know different packages, amsmath (or mathtools that $\supset$ amsmath) that creates nice delimiters, while stix and stix2 create ugly delimiters. If in a documentclass[]{book} or in documentclass[]{...
user avatar
  • 793
8 votes
1 answer
138 views

\mathopen<size><bracket> vs. \mathopen{<size><bracket>}

If we look at the definitions of \bigl and \bigr, we find \def\bigl{\mathopen\big} \def\bigr{\mathclose\big} In other words, \bigl<bracket> is equivalent to \mathopen\big<bracket>. And ...
user avatar
  • 10.9k
2 votes
2 answers
197 views

How `\Aboxed` works?

As a requirement in a homework I was asked to enclose my answers with a red box, so I imported mathtools and xcolor and tried with: \color{red}\Aboxed{\color{black}#1} where #1 is the equation, but ...
user avatar
  • 335
0 votes
1 answer
184 views

I want to print inverted delta in LaTex [duplicate]

Inverted delta for representing gradient how to do that? i didnt find a command I know to print using \delta but cant represent gradient.
user avatar
-1 votes
2 answers
186 views

How I can use cancel package? [closed]

\dfrac{\cancel{4} \times \cancel{5} \times \cancel{3}}{\cancel{2} \times \cancel{10}}
user avatar
0 votes
0 answers
26 views

How can I access the size of a subequation, or of a delimiter, in math mode?

I would like a macro that typesets delimiters as $\langle!\langle$ around math expressions. If I try \DeclarePairedDelimiter\angles{\langle\!\langle}{\rangle\!\rangle}, I don't get the right size for ...
user avatar
  • 198
0 votes
0 answers
46 views

Package keyvalue Error: Unknown option 'mathtools-overbracket' for package unicode-math-luatex

The PDF file fails to be generated after using the option warnings-off = {mathtools-colon, mathtools-overbracket} of unicode-math with the error Package keyvalue Error: Unknown option 'mathtools-...
user avatar
  • 8,759
4 votes
3 answers
158 views

Equation \frac inside \underbrace has bigger font

in explaining parts of an equation, I group terms in an array and add \underbrace explanations to single parts the first term within each underbrace is a fraction (\frac), but its font is too big when ...
user avatar
0 votes
0 answers
19 views

Reducing line distance between mathematical expression? [duplicate]

I want to write the following mathematical expressions to define two sets; but, the distance between each line in the middle of two sets is more than I expect. \[ set1= \{1, . . . , n\} \] \[ set2 = \{...
user avatar
1 vote
0 answers
38 views

mathtools + XeTeX + unicode-math + beamer makes upright math have unexpected behavior

Problem: In the below MWE, math is rendered correctly, unless there is \mathrm or an operator like \sin, and then the entire $...$ is rendered in upright font; Further, all future $...$ are upright. ...
user avatar
0 votes
1 answer
47 views

new macro for \DeclarePairedDelimiterXPP

\documentclass[11pt]{article} \usepackage{amsmath, amssymb} \usepackage{mathtools} \def\pr{\mathbb{P}} \makeatletter \let\Pr\undefined \DeclarePairedDelimiterXPP\@Pr[1]{\pr}[]{}{#1} \...
user avatar
0 votes
0 answers
43 views

Smashoperator with unicode-math and luatex

Consider the following MWE \documentclass[11pt,oneside,openright,a4paper]{memoir} \usepackage{fontspec} \usepackage{unicode-math} \usepackage{mathtools} \begin{document} \[ L(x)= \smashoperator{\...
user avatar
1 vote
2 answers
131 views

Alignment of custom icon in Beamer

I am not a Latex expert so while writing my documents, I face many problems with TeX command. And TeX StackExchange provides answers for most of my problems. However, one of my problems still does not ...
user avatar

1
2 3 4 5
10