Template talk:Overunderset

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
WikiProject iconMathematics Template‑class
WikiProject iconThis template is within the scope of WikiProject Mathematics, a collaborative effort to improve the coverage of mathematics on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.

The {{overset}}, {{underset}}, {{overunderset}} templates work incorrectly with the "→", "←" and "⇌" characters (e.g. in chemical reactions)[edit]

The {{overset}}, {{underset}}, {{overunderset}} templates work incorrectly with the "→", "←", "⇌" and similar chemical reaction arrow characters when representing chemical reactions, making those three templates unusable in chemistry. For example

:{{chem2|CrCl3}} {{overunderset|→|CO|Reductant}} {{chem2|Cr(CO)6}}

gives

CrCl3 COReductant Cr(CO)6

As you can see, the arrow is too short. It should be as long as the over and underset text! Although there is no such bug in the <chem> element so one can say "Well well well! Why you don't use the <chem> element which is already designed for chemistry???", or "Why you don't use the <math> element???". You are right, but still, I wuld like the bug to be corrected in the {{overset}}, {{underset}}, {{overunderset}} templates as well. Can someone correct this annoying bug and improve those three templates, to work fine just as the <chem> and <math>elements? Bernardirfan (talk) 15:59, 18 October 2023 (UTC)[reply]