I use the euler font for math and compile with LuaLaTeX.
To solve a problem with the accent \bar
, I load unicode-math
which resets the mathfont:
:
Why does unicode-math
overwrite eulervm
and how can I get back to the correct font?
Here is my MWE:
% !TeX program = lualatex
\documentclass{scrartcl}
\usepackage{amsmath}
\usepackage[euler-digits]{eulervm}
\usepackage[no-math]{fontspec}
\usepackage{unicode-math}
\begin{document}
\begin{align}
E &= mc^2\\
\bar{y}
\end{align}
\end{document}
\bar
accent?unicode-math
. @DavidCarlisle Thanks for this information. Would you change the math font via\setmathfont
? Which one would you load?