I have recently switched from pdfLaTeX to LuaLaTeX in order to use the Tex Gyre fonts with math support. I have fixed several things which did not look right (to me) after switching. However, one issue still remains unsolved: the faktor package does not seem to be working properly anymore. Does anyone have a fix/workaround for this? I really enjoyed this package for centered math. Here is a MWE:
\documentclass[a4paper, 11pt]{article} \usepackage{faktor} \usepackage{amssymb} \begin{document} \(\faktor{A}{B}\) \end{document} This is without using the Tex Gyre fonts and produces the expected output.
\documentclass[a4paper, 11pt]{article} \usepackage{faktor} \usepackage{unicode-math} \setmainfont{TeX Gyre Termes} \setmathfont{TeX Gyre Termes Math} \begin{document} \(\faktor{A}{B}\) \end{document} This is with using the TeX Gyre Termes font and produces a weird output.


