-
Notifications
You must be signed in to change notification settings - Fork 2
Description
First of all, thanks for this great package. I especially appreciate the use of expl3! One further feature that I would like to see is a number formatting pattern with customisable text option. By this I mean the ability to format a number in a specific manner, primarily involving custom spacings and groupings (e.g. +## (###) ### ##### or something). Additionally, highlighting certain groupings, especially trailing ones, could be beneficial (e.g. +## (###) ### \textbf{#####}). This could be useful in an institutional or corporate context, as most numbers are identical apart from last n digits. Sometimes, the numbers of frequently called phones are shorter, and will have, let's say, 1 or 2 digits from this trailing group less. Ideally, the number formatting will adjust the given pattern automatically (e.g. +## (###) ### ##### and +## (###) ### ### for shorter numbers). It would require processing the number from the front, rather than the end, which is the current method (as far as I am aware of). Exactly for the reasons presented above, it would be useful to be able to highlight these last non-identical digits with the help of text formatting. Implementing some kind of a pattern-formatting-preset, that will be just used as an option, would be ideal. It would also allow to switch phone number formatting easily when, for instance, switching between departments of the company or institution (e.g Department A having +## (###) \textit{###} \textbf{#####} and B +## (###) \textit{####} \textbf{####}). I am not sure if it is already possible with the current version of the package or if my suggestion even fits the philosophy of the package, but I still wanted to submit it. Have a nice day!