You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting cdmath=false as class option when using the unicode-math package leads to issues in typesetting of math operators like \ln and \exp, which are now italicized.
This issue seems to go into the same direction as #22. The workaround is also the same:
\documentclass[
% cdmath=false, % do NOT specify here
]{tudscrartcl}
\usepackage{unicode-math}
\begin{document}
\TUDoptions{cdmath=false} % but here
Hello, Math: $x = \ln (σ) + \exp (μ)$\end{document}
Another observation: When using the subfiles package it's required to set \TUDoptions{cdmath=false} explicitly after \begin{document} in each file. Setting it in \AtBeginDocument{} does not work.
The text was updated successfully, but these errors were encountered:
The font selection mechanism needs to be refactored in various places and an improved interaction with unicode-math is on my list. Currently, the actual font selection is delayed to the end of the preamble an especially the math font selection is done even after the begindocument hook. Maybe using \AfterEndPreamble{...} would help for the subfiles issue. Unfortunately, I do not have time to work on the next major release so please do not expect any improvements in the near future.
Setting
cdmath=false
as class option when using theunicode-math
package leads to issues in typesetting of math operators like\ln
and\exp
, which are now italicized.This MWE:
leads to:
This issue seems to go into the same direction as #22. The workaround is also the same:
Another observation: When using the
subfiles
package it's required to set\TUDoptions{cdmath=false}
explicitly after\begin{document}
in each file. Setting it in\AtBeginDocument{}
does not work.The text was updated successfully, but these errors were encountered: