Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make symcal work with lowercase latin letters #589

Merged
merged 4 commits into from
Aug 10, 2023

Conversation

marcin-serwin
Copy link
Contributor

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

  • Tests added to cover new/fixed functionality
  • Documentation added if necessary
  • 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 marcin-serwin changed the title Make symcal work for lowercase latin letters Make symcal work with lowercase latin letters Jun 9, 2022
@wspr
Copy link
Collaborator

wspr commented Aug 10, 2023

Sorry for the slow reply. I have no memory of why these were not defined identically to begin with! Many thanks for the initiative and the well organised pull request.

@wspr wspr merged commit 424cddd into latex3:master Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants