Insert a command Before \documentclass

Herbert Voss Herbert.Voss at fu-berlin.de
Wed Mar 1 11:07:38 UTC 2023



Am 01.03.23 um 11:31 schrieb Udicoudco:
> On Wed, Mar 1, 2023 at 9:17 AM Herbert Voss <Herbert.Voss at fu-berlin.de> wrote:
>>
>>
>>
>> I do not get such a warning with lualatex:
>>
>> \usepackage{unicode-math}
>> \setmathfont{Latin Modern Math}
>>
>>
>> Herbert
> the package unicode-math sets Latin Modern Math
> as the math font by default, so there is no need for
> \setmathfont{Latin Modern Math}

then try

\usepackage{unicode-math}
%\setmathfont[]{Latin Modern Math}
\setmathfont[version=bold]{STIX Two Math}

and use

foo $y=f(\symbf{x})$

Herbert


More information about the lyx-users mailing list