Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • 3
    Off-topic: Loading the polyglossia package without a language choice doesn't do much good. I guess you're loading polyglossia for its side-effect of sorts, which is to load the fontspec package, thereby enabling the use of \setmainfont.. For coding clarity, I think it would be useful to replace \usepackage{polyglossia} with \usepackage{fontspec} or -- better yet -- \usepackage{unicode-math} since (a) unicode-math also loads fontspec automatically and (b) unicode-math enables the use of \setmathfont. Commented Dec 12, 2025 at 4:44
  • Good point! That was just the hurry to get an MWE, the example did require lualatex and the specific set of onts ... Commented Dec 13, 2025 at 18:32