Jump to content

Wikipedia:Reference desk/Archives/Mathematics/2017 July 10

From Wikipedia, the free encyclopedia
Mathematics desk
< July 9 << Jun | July | Aug >> July 11 >
Welcome to the Wikipedia Mathematics Reference Desk Archives
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


July 10[edit]

Missing macros in <math /> environment[edit]

Dear mathematicians;-)

I got a request on phabricator for new math commands. I hope there will be a slight update of the Math extension and the underlying services in the next (two) month, which will finally abandon the old rendering mode. Thus there will be the chance for expanding the texvc language and the incorporation of new commands, like done previously with

in June 2016. Are these macros proposed by the linked phabricator task really required by a "the community"? I personally have doubts about the really wide hat and the stroked integral symbol.

--Physikerwelt (talk) 00:06, 10 July 2017 (UTC)[reply]

@Physikerwelt: The stroked (or dashed) integral is commonly used in the analysis of PDEs for averages, and in other fields used for Cauchy principal values. I find it useful. —Kusma (t·c) 12:58, 10 July 2017 (UTC)[reply]
Wide hats are nice, and are indeed commonly used in the LaTeX community. See e.g. here [1] some if this is for aesthetics, but sometimes it conveys important clarifying info. Consider that looks fine and unambiguous, while is potentially confusing. Does the hat apply to the y, the x, or the whole product? , using "widehat" would be much clearer. Better than a "really wide" would be a variable width hat, as discussed here [2], as currently widehat doesn't work well for things like . How much this appears "in the wild" or on WP, and the relative urgency filling this need is debatable, but it is indeed a real thing that real mathematicians use sometimes, and as such is a good inclusion for WP math macros. One instance for needing a really wide hat (more realistic than simply hatting a long product) is if you want to hat an entire integral or something. SemanticMantis (talk) 17:17, 10 July 2017 (UTC)[reply]
By the way, the macro for the really wide hat (that is, variable size!) is stolen from precisely the location that you mentioned.--Mathmensch (talk) 04:57, 11 July 2017 (UTC)[reply]
As the creator of the request, I support it wholeheartedly, also in view of my examples on sharelatex. --Mathmensch (talk) 18:53, 10 July 2017 (UTC)[reply]