As the title states, I am looking for a way to disable the use of special unicode symbols for mathematical letters (Mathematical Alphanumeric Symbols) in the PDF-output that I get when using the unicode-math package.
I use the unicode-math package for the following reasons:
- Being able to use unicode-letters in the source text.
- Being able to copy text and math from the generated PDF as text with all unicode symbols preserved.
The only part of unicode-math that I want to turn off is that alphanumeric letters like x and Γ generate different unicode-letters depending on the “font style” (symnormal, symbfit, symbb, etc). Some of the problems I have with this are:
- Some screen readers read all math letters such as
$A$as "MATHEMATICAL ITALIC CAPITAL A", making the PDF less accessible for some. - It is difficult to search for mathematical symbols in the PDF.
- It is harder to copy and paste mathematics as "pseudo-plaintext".
So really all I want is to have the same visual output, but map alphanumeric characters back to their ASCII/non-mathematical variants in the plain text stored in the PDF. I have some ideas, but I'm not knowledgeable enough about *TeX and unicode to actually know what is possible:
- Are there some parameters that can be passed to the unicode-math package?
- Is it possible to generate a cmap (similar to the cmap and mmap packages)?
- Is there some other PDF feature that can be used (e.g. additional PDF metadata)?
\textnormal, for example,\textnormal{\itshape x}. You’d of course want to write a shorter macro. – Davislor May 02 '21 at 15:26