latex3 / unicode-math

XeLaTeX/LuaLaTeX package for using unicode/OpenType maths fonts
http://ctan.org/pkg/unicode-math
LaTeX Project Public License v1.3c
239 stars 28 forks source link

Expand um-code-sscript.dtx with SMALL CAPITAL LETTER #568

Open ArchangeGabriel opened 3 years ago

ArchangeGabriel commented 3 years ago

Description

I would like to propose expanding um-code-sscript.dtx with the inclusion of SMALL CAPITAL LETTER as aliases for uppercase subscripts.

Minimal example demonstrating the issue

\documentclass{article}
\usepackage{unicode-math}
\setmathfont{texgyrepagella-math.otf}% filename only please!
\begin{document}
\[
  Aʟ = A_L
\]
\end{document}

is what I’m proposing.

Further details

I don’t think there is any other uses for those characters in math environments, and they actually belong in the same Unicode area/usage as the existing sub- and super- scripts, that is phonetic. Plus, on my keyboard layout (bépo), they are mapped as the uppercase variant of subscript letters (that is the key combination giving e.g. ₑ gives ᴇ when you add Shift in it).

Almost all are available, the only exception being SMALL CAPITAL LETTER X (though it is being proposed for completion purpose, just as the other missing sub- and super- scripts in the current file).

If you think this is fine, I’ll set-up a PR for it.