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

\it with \bar internal error when using latin modern font for italic letters. #610

Open
libinxu01 opened this issue Apr 12, 2023 · 0 comments

Comments

@libinxu01
Copy link

libinxu01 commented Apr 12, 2023

Description

I declare latin modern font for italic letters, but when I use single letter with \it and \bar, it results in internal error. I wonder how to resolve it ?
error

I found it's weird that \bar{\it{v}} is wrong, but \bar{\it{vv}} is right.

Add info or delete as appropriate:

  • Relevant for XeTeX

Minimal example demonstrating the issue

\documentclass{book}

\usepackage[bold-style=ISO, mathbf=sym]{unicode-math}
\setmathfont{TeX Gyre Termes Math}
\AtBeginDocument{\DeclareMathAlphabet{\mathit}{OML}{lm}{m}{it}}

\begin{document}
	$ \it{v} $\par
	$ \mathit{v} $\par
	$ \bar{\it{v}} $\par
\end{document}
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

1 participant