Page MenuHomePhabricator

Feature request: allow correct math formatting for actuarial notation
Open, Needs TriagePublic

Description

Actuarial notation includes features not currently supported by the existing <math> markup. The most important missing feature is the enclosing angle used to denote a duration in years. For details (including examples and current unsatisfactory workarounds) see:
https://en.wikipedia.org/wiki/User:Stelio/Actuarial/Notation

One solution is to include the actuarialsymbol TeX extension which provides this and other related functionality:
https://ctan.org/pkg/actuarialsymbol/

It would be fine if the required outcome is to use separate tags for actuarial notation on Mediawiki. Just as there is currently <math chem>...</math> (aka <chem>...</chem>), the actuarial notation could also be kept distinct by implementing <math act>...</math> (aka <act>...</act>) if needs be.

Thanks,
Stelio.

Event Timeline

Stelio created this task.Sep 12 2017, 9:06 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 12 2017, 9:06 AM
Stelio updated the task description. (Show Details)Sep 12 2017, 9:06 AM
Stelio updated the task description. (Show Details)Sep 12 2017, 12:30 PM
Pkra added a subscriber: Pkra.Sep 12 2017, 1:41 PM

MathJax's enclose extension can help here, cf. http://docs.mathjax.org/en/latest/tex.html#enclose. It enables e.g. \enclose{actuarial}{n} and could be used to define a macro in mathoid. For a live demo, try $\require{enclose}\enclose{actuarial}{x}$ at https://cdn.rawgit.com/mathjax/MathJax/2.7.2/test/sample-dynamic-2.html.

Pkra moved this task from Incoming to New TeX macro proposals on the Math board.Dec 7 2018, 11:13 AM