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

Italic uppercase Greek letters #38

Closed
cao- opened this issue Mar 26, 2021 · 1 comment
Closed

Italic uppercase Greek letters #38

cao- opened this issue Mar 26, 2021 · 1 comment

Comments

@cao-
Copy link
Contributor

cao- commented Mar 26, 2021

I get opposite behaviour on uppercase Greek letters when using \it if a unicode font family is loaded. Try to see the output of the following lines with and without the \fontfam[lm] line.

\fontfam[lm]

\it\Omega

$\it\Omega$

\bye

amstex defines the command \varOmega to obtain the italic Omega in math mode, and similar commands for the other letters. Maybe adding them into OpTeX too would be useful.

olsak added a commit that referenced this issue Mar 26, 2021
@olsak
Copy link
Owner

olsak commented Mar 26, 2021

Thank for this report.

When \fontfam[lm] is present then $\it\Omega$ should be italic Omega. I corrected this by my last commit.

When \fontfam[lm] is not present then \it\Omega (otside math mode) behaves strangely, but I don't know the exact expected behavior becaue it is not defined with 7bit fonts. Classical TeX repors error here.

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