Math "norule" keyword documentation unclear
Hi Luigi, §7.6.6 of the LuaTeX manual contains the following sentence: The keyword norule will hide the rule with the above variants while keeping the rule related spacing. I would have expected for "the above variants" to mean "the commands listed in the paragraph above", rather than "the commands with the string 'above' in their name", even though the latter is correct. The patch below rewords this to make it clearer that you can only use "norule" with "\above...". This was reported by Yiannis Lazarides in the TeX.SE chat. Thanks, -- Max diff --git a/manual/luatex-math.tex b/manual/luatex-math.tex index 8671519ef..d31c82713 100644 --- a/manual/luatex-math.tex +++ b/manual/luatex-math.tex @@ -1317,10 +1317,10 @@ works. \topicindex {math+fractions} -The \prm {abovewithdelims} command accepts a keyword \type {exact}. When issued -the extra space relative to the rule thickness is not added. One can of course -use the \type {\Umathfraction..gap} commands to influence the spacing. Also the -rule is still positioned around the math axis. +The \prm {abovewithdelims} command accepts keywords \type {exact} and \type +{norule}. When issued the extra space relative to the rule thickness is not +added. One can of course use the \type {\Umathfraction..gap} commands to +influence the spacing. Also the rule is still positioned around the math axis. \starttyping $$ { {a} \abovewithdelims() exact 4pt {b} }$$ @@ -1377,9 +1377,6 @@ For Latin Modern the result looks as follows: \stoptabulate \stop -The keyword \type {norule} will hide the rule with the above variants while -keeping the rule related spacing. - \subsection {Delimiters: \type{\Uleft}, \prm {Umiddle} and \prm {Uright}} \topicindex {math+delimiters}
On Sun, 19 Oct 2025 at 08:36, Max Chernoff
Hi Luigi,
§7.6.6 of the LuaTeX manual contains the following sentence:
The keyword norule will hide the rule with the above variants while keeping the rule related spacing.
I would have expected for "the above variants" to mean "the commands listed in the paragraph above", rather than "the commands with the string 'above' in their name", even though the latter is correct. The patch below rewords this to make it clearer that you can only use "norule" with "\above...".
This was reported by Yiannis Lazarides in the TeX.SE chat.
Thanks, -- Max
(Sorry for the delay) Ok, I will check it this week. -- luigi
On Mon, 20 Oct 2025 at 12:34, luigi scarso
On Sun, 19 Oct 2025 at 08:36, Max Chernoff
wrote: Hi Luigi,
§7.6.6 of the LuaTeX manual contains the following sentence:
The keyword norule will hide the rule with the above variants while keeping the rule related spacing.
I would have expected for "the above variants" to mean "the commands listed in the paragraph above", rather than "the commands with the string 'above' in their name", even though the latter is correct. The patch below rewords this to make it clearer that you can only use "norule" with "\above...".
This was reported by Yiannis Lazarides in the TeX.SE chat.
Thanks, -- Max
(Sorry for the delay) Ok, I will check it this week.
-- luigi
commit 4135404beaf04922afc9f141b8337aa21bac9d50 (HEAD -> master,
origin/master, origin/HEAD)
Author: Luigi Scarso
participants (2)
-
luigi scarso -
Max Chernoff