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

Proper handling of unicode prime #9

Closed
wspr opened this issue Jun 10, 2009 · 4 comments
Closed

Proper handling of unicode prime #9

wspr opened this issue Jun 10, 2009 · 4 comments

Comments

@wspr
Copy link
Collaborator

wspr commented Jun 10, 2009

Unicode prime doesn't need to be superscripted. I think this patch by Ross Moore does the trick:

\makeatletter
\UnicodeMathSymbol{"02032}{\prime}{\mathord}{prime}%
\let\prime =E2=80=B2
{\catcode`\' \active
  \gdef '{\bgroup\prim@s}}
\makeatother
@jcsalomon
Copy link

That’s not quite correct. According to Ross Mills at Tiro Typeworks, Cambria Math has TeX-flavored (i.e., full-height) prime glyphs in the [ssty] table. Also, in Asana Math the glyph needs to be superscripted since all forms of U+2032 are TeX-flavored.

@wspr
Copy link
Collaborator Author

wspr commented Sep 12, 2009

Deal with primes properly.
Only thing that doesn't work now is chains of unicode primes.

closed by cd34a55
closed by cd34a55

@jcsalomon
Copy link

Please re-open this!

This code from AMS testmath.tex, $\ln\psi_0'(1)=0$, looks like $\psi_0{}'$, i.e., the prime is not stacked over the subscript.

Interestingly, $\ln\psi_0^\primesingle(1)=0$ works.

Similarly, \sideset{}{'}\sum_{0\le i\le m} E_i.

@wspr
Copy link
Collaborator Author

wspr commented Sep 23, 2009

Keep setting 'em up and I'll keep knockin' them over :) This is now fixed; the problem was that I wasn't superscript the primes when I should have been.

Thanks again!

This issue was closed.
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

No branches or pull requests

2 participants