-
Notifications
You must be signed in to change notification settings - Fork 29
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
De-emphasise the \mathXX
synonyms in the documentation
#446
Comments
I don't see them as backward compatibility but they should perhaps be
documented as font changes as opposed to \symxx which are symbol (character
selectors).
At work, where much of the maths is describing program flow rather than
traditional mathematics almost all the identifiers are multi-letter so you
need \mathrm{..} \mathit{..} \mathbf{...} not just as a legacy feature, but
to get a font with text kerning and ligatures. I'm not convinced that they
should be \textxx{..} and pay the price of being boxed four times and being
slower and in some cases poorer script positioning,
…On 25 January 2018 at 05:13, Will Robertson ***@***.***> wrote:
I'm not sure if I'll ever phase out the \mathXX synonyms entirely, but
they definitely seem to cause confusion. (E.g.,
https://tex.stackexchange.com/questions/411995/unicode-math-
changing-it-and-bfup-font-ranges)
I now think it would be best to introduce all the new commands as \symXX,
and only later introduce the synonyms. The synonyms are really only there
for backwards compatibility...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#446>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABNcAvu8GN2g2bsKifV5-uQ0pAAFu4gAks5tOA1cgaJpZM4RsVyN>
.
|
Oops sorry, I should have explained myself better. I meant that the legacy \mathrm commands should be promoted as what they are, and new UM commands \symup, etc, not given “synonyms” with \math.. prefix just because that’s what people are used to writing. |
To be a little more clear, the synonyms I was referring to are listed below.
But the rest are less clear:
I haven't fully sorted how this can be fixed up to avoid continued confusion, but I think I need to do a re-think. |
I really think that As Incidentally, what is the correct way to force a multi-letter identifier to be typeset in bold italics? |
Incidentally, what is the correct way to force a multi-letter identifier to be typeset in bold italics?
Use \setmathfontface to define your own \mathbfit command.
I agree that unicode-math should drop the synonyms like \mathbfit entirely.
|
Is there a way to turn certain synonyms off? For instance, UM redefines |
You can redeclare \documentclass{article}
\usepackage{amsmath,amssymb}
\usepackage{unicode-math}
\setmathfont{STIX Two Math} % has a very distinctive Blackboard Bold font
\AtBeginDocument{\DeclareMathAlphabet{\mathbb}{U}{msb}{m}{n}}
\begin{document}
$\mathbb{A}\ne\symbb{A}$
\end{document} |
I'm not sure if I'll ever phase out the
\mathXX
synonyms entirely, but they definitely seem to cause confusion. (E.g., https://tex.stackexchange.com/questions/411995/unicode-math-changing-it-and-bfup-font-ranges)I now think it would be best to introduce all the new commands as
\symXX
, and only later introduce the synonyms. The synonyms are really only there for backwards compatibility...The text was updated successfully, but these errors were encountered: