alignment of subnumcases in the page
I want to label each case in cases so I used subnumcases environment.However, it seems like what is centered is the first letter, not the entire chunk.I made a MWE with the packages I need for my work,...
View ArticleHow create a NewDocumentCommand with ^or _?, {}^{} instead of {}{}
How to create a new command with ^ or _ instead of [][][]{}{}? to be coherent/analogous with \overbracket{}^{}Creating a new command for give color to \overbracket (mathtools package), I would like to...
View ArticleWhy adding `\usepackage{mathtools}` gives latex error in this example?
I am trying the solution given in How to get paragraph spacing within table to be same as outside when using parskip package?Which works fine except when I added \usepackage{mathtools} it gives error....
View ArticleMinimum and maximum limit of a set sequences in Italian notation
I'm not sure whether this question has already been treated on TeX.SE. In this Italian document the minimum (maximum) limit is denoted with \lim' (\lim'').Using this code...
View ArticleIs that extra empty space below the `\xRightarrow`?
As I was browsing this excellent solution, it seemed that there exist extra empty space below the arrow:Is this a small bug or feature designed intentionally? Or is that elegant method to balance these...
View ArticleHow can I insert math expressions which aren't simple strings into my...
I am building a package, part of which should be able to simply append mathematics to a picture. Unfortunately, it currently only works for simple strings.How could I insert the following math...
View Articlezref-clever: \zcref gives wrong reference type inside modified align environment
I have a tex file\documentclass{amsart}\usepackage{amsthm,amssymb,zref-clever,mathtools}\zcsetup{cap=true,comp=false,sort=false}\zcRefTypeSetup{equation}{ Name-sg=,...
View ArticleHow to make symbols get vertically aligned as elements of a set?
I need to vertically align each element in the set instead of floating above the...
View ArticleCustom equation style with optional tag
In his classic book "Introduction to Geometry" H.S.M. Coxeter uses the following equationnumbering style:Each equation uses Chapter.Section Equation labelling but in some cases it devolves...
View Articleempheq: numberings of referenced equations do not appear
I have a tex file\documentclass[reqno]{amsart}\usepackage{mathtools,hyperref}\mathtoolsset{showonlyrefs}\hypersetup{ colorlinks=true,...
View Articleempheq: flush group numbering to the left
I have a tex file (taken from this answer)\documentclass[reqno]{amsart}\usepackage{mathtools,hyperref}\hypersetup{ colorlinks=true,...
View ArticleExpandable space in align
In the following example, I want to have \hfill (or a similar command) expand the available space, so that the text after it is pushed to the right as much as...
View ArticleMisalignment of arrowhead and arrow body in "TeX Gyre Termes Math" font
I am using the "TeX Gyre Termes Math" font in my document. My problem is that when I use the \xRightarrow command to write text above the arrow, the arrowhead and the body are not aligned and are...
View ArticleAppropriate style for two limits with two brackets
I wanted to know which of the two styles is more elegant when I have this form\documentclass{article}\usepackage{amsmath,amssymb}\begin{document}\begin{align}\lim_{n \to \infty} \bigl( \lim_{x \to...
View ArticleBracket covers sum limits using mathclap environment
I have the following code:\documentclass{article}\usepackage{mathtools}\begin{document}\[S_1 = \frac{1}{2} \left(\sum_{\mathclap{i = n + 1}}^{n + m} a_i t_i \right)\]\end{document}And it produces this...
View ArticleI need a \overbracket to illustrate different permutations (quantum field...
I have four fields illustrate by \phi_1,\phi_2,\phi_3 and \phi_4. And I need to illustrate the permutation between them with a \overbracket. For example, the permutation between 1 and 3 would look like...
View ArticleIs there a “big” command for square brackets as large as `\left[ … \right]`?
I have the following LaTeX code (using amsmath and amssymb): \documentclass[12pt]{article} \usepackage{amsmath,amssymb} \begin{document} \[ \sum_{n=1}^{+\infty} \frac{\left(1 + \sin...
View ArticleSuperscripts too high after macros defined with \DeclarePairedDelimiter
I have a macro for absolute value (using \DeclarePairedDelimiter from mathtools):\DeclarePairedDelimiter{\abs}{\lvert}{\rvert}This works great in terms of adjusting the size of fences etc. But the...
View Articleeqref - showonlyrefs
I have equations and I want to reference some of them. Also, I would like to number only the equations that I reference. For some reason when I use \mathtoolsset{showonlyrefs=true} - nothing works and...
View Articleshowonlyrefs and cleveref
This question led to a new package:autonumI know that cleveref is not compatible with showonlyrefs as it says in the cleveref manual. But I have a book-length document that depends on showonlyrefs and...
View ArticleProblem with ntheorem, mathtools and cleveref
I have two (related) problems.I'm writing a project where the following is part of my preamble:\documentclass[a4paper,11pt,oneside]{memoir} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc}...
View ArticleWhy does \textstyle not work in \smashoperator?
In the following code, the \sum in \smashoperator appears too big. But if I put \textstyle\sum in \smashoperator, then it gives the error "*.tex: error: 290: Limit controls must follow a math operator....
View ArticleRedefine `$...$` to `\(...\)`
The mathtools package can automatically insert italics correction when using \(...\) for inline math mode. See this answer. However, I much prefer $...$ for inline math as I find it more readable and...
View ArticleEmulating the `\shortintertext` command in text mode
I am trying to reduce the spacing between an align and gather environment using the \shortintextext command.I am aware of one solution that nests the align block inside the gather environment to...
View ArticleOptional argument's value could not be transferred for the `*matrix`...
I have to write pmatrix in the l3doc class when conducting a math-related package, and I also have to use the mathtools package to typeset the small matrix. I found that after I define a token list...
View ArticleNumbering equations in dcases without \usepackage{empheq}
At the moment, I don't remember how to number the equations inside dcases , with the amsart class, without empheq, in order to assign a label to each...
View ArticleLatex Math bracket right that covers two rows of aligned's
Is it possible to make such a nice bracket like in the picture?\documentclass{article}\usepackage{amsmath,amssymb}\newcommand{\Z}{\mathbb{Z}}\begin{document}\begin{align*}a\!\in\!\Z\mid b\!\in\!\Z...
View ArticleBlock 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...
View ArticleUniform sequences of mathematical dots
When I need to write a sequence of dots without using TikZ, I often define a simple macro based on \bullet or another symbol that produces two or three dots (which they can be increase and decrease in...
View ArticleSpacing and dot weight in bsmallmatrix (from mathtools)
MWE\documentclass{article}\usepackage{mathtools}\begin{document}Le signe $(-1)^{i+j}$ suit un motif en damier :\(\begin{bsmallmatrix}+& - & +& - & \cdots \\- & +& - & +&...
View Article