\RequirePackage{iftex}
\ifxetex
  \RequirePackage{amsmath}
  \RequirePackage{unicode-math}
  \RequirePackage{libertinus}
\else
  \ifluatex
    \RequirePackage{amsmath}
    \RequirePackage{unicode-math}
  %  \setmathrm{TeX Gyre Pagella Math}
  %  \setmathtt{TeX Gyre Pagella Math}
  %  \setmathsf{TeX Gyre Pagella Math}
  %  \setmathfont{TeX Gyre Pagella Math}
  %  \RequirePackage{Alegreya,AlegreyaSans}
  %  \RequirePackage{libertinus-otf}
  %  \setmathfont{latinmodern-math.otf}
  \else
    %\PassOptionsToPackage{scaled=0.82}{beramono}
    \RequirePackage[T1]{fontenc}
    \RequirePackage{libertinus-type1}
    \RequirePackage{libertinust1math}
    %  \RequirePackage{beramono}
    %  \RequirePackage[de,expert,uprightgreek]{lucidabr}% für mathe
    %  \IfFileExists{lucbmath.sty}{\RequirePackage[de,expert,uprightgreek]{lucbmath}}{}% für mathe
  \fi\fi

\endinput

