Custom 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 Article