unicode-math icon indicating copy to clipboard operation
unicode-math copied to clipboard

Make `symcal` work with lowercase latin letters

Open marcin-serwin opened this issue 2 years ago • 0 comments

Status

READY

Description

The documentation describes mathcal and mathscr as synonyms, but the mathscr correctly maps the lowercase Latin letters, while mathcal only handles the uppercase letters. This PR changes the cal alphabet to be the same as scr.

Todo

  • [x] Tests added to cover new/fixed functionality
  • [x] Documentation added if necessary
  • [x] Code follows expl3 style guidelines

Minimal example demonstrating the new/fixed functionality

\documentclass{article}
\usepackage{unicode-math}
\setmathfont{STIXTwoMath-Regular.otf}

\begin{document}
\[
    \symscr{ABCDabcd} \quad \symcal{ABCDabcd}
\]
\end{document}

Before image

After image

marcin-serwin avatar Jun 09 '22 08:06 marcin-serwin