%
% font_settings-IBM_Plex.tex
%
\setmainfont{IBMPlexSerif-Regular}[
    Extension      = .otf,
    Path           = fonts/IBM_Plex/IBM-Plex-Serif/,
    BoldFont       = IBMPlexSerif-Bold,
    ItalicFont     = IBMPlexSerif-Italic,
    BoldItalicFont = IBMPlexSerif-BoldItalic,
    SmallCapsFont  = IBMPlexSerif-Regular,
    SmallCapsFeatures={Letters=SmallCaps}
]
\setromanfont{IBMPlexSerif-Regular}[
    Extension      = .otf,
    Path           = fonts/IBM_Plex/IBM-Plex-Serif/,
    BoldFont       = IBMPlexSerif-Bold,
    ItalicFont     = IBMPlexSerif-Italic,
    BoldItalicFont = IBMPlexSerif-BoldItalic,
    SmallCapsFont  = IBMPlexSerif-Regular,
    SmallCapsFeatures={Letters=SmallCaps}
]
\setsansfont{IBMPlexSans-Regular}[
    Extension      = .otf,
    Path           = fonts/IBM_Plex/IBM-Plex-Sans/,
    BoldFont       = IBMPlexSans-Bold,
    ItalicFont     = IBMPlexSans-Italic,
    BoldItalicFont = IBMPlexSans-BoldItalic,
    SmallCapsFont  = IBMPlexSans-Regular,
    SmallCapsFeatures={Letters=SmallCaps}
]
\newfontfamily{\cyrillicfont}{IBMPlexSerif-Regular}[
    Extension      = .otf,
    Path           = fonts/IBM_Plex/IBM-Plex-Serif/,
    BoldFont       = IBMPlexSerif-Bold,
    ItalicFont     = IBMPlexSerif-Italic,
    BoldItalicFont = IBMPlexSerif-BoldItalic,
    SmallCapsFont  = IBMPlexSerif-Regular,
    SmallCapsFeatures={Letters=SmallCaps,Scale=MatchUppercase}
]
\newfontfamily{\cyrillicfontrm}{IBMPlexSerif-Regular}[
    Extension      = .otf,
    Path           = fonts/IBM_Plex/IBM-Plex-Serif/,
    BoldFont       = IBMPlexSerif-Bold,
    ItalicFont     = IBMPlexSerif-Italic,
    BoldItalicFont = IBMPlexSerif-BoldItalic,
    SmallCapsFont  = IBMPlexSerif-Regular,
    SmallCapsFeatures={Letters=SmallCaps}
]
\newfontfamily{\cyrillicfontsf}{IBMPlexSans-Regular}[
    Extension      = .otf,
    Path           = fonts/IBM_Plex/IBM-Plex-Sans/,
    BoldFont       = IBMPlexSans-Bold,
    ItalicFont     = IBMPlexSans-Italic,
    BoldItalicFont = IBMPlexSans-BoldItalic,
    SmallCapsFont  = IBMPlexSans-Regular,
    SmallCapsFeatures={Letters=SmallCaps}
]
\setmonofont{IBMPlexMono-Regular}[
    Extension      = .otf,
    Path           = fonts/IBM_Plex/IBM-Plex-Mono/,
    BoldFont       = IBMPlexMono-Bold,
    ItalicFont     = IBMPlexMono-Italic,
    BoldItalicFont = IBMPlexMono-BoldItalic
]
\newfontfamily{\cyrillicfonttt}{IBMPlexMono-Regular}[
    Extension      = .otf,
    Path           = fonts/IBM_Plex/IBM-Plex-Mono/,
    BoldFont       = IBMPlexMono-Bold,
    ItalicFont     = IBMPlexMono-Italic,
    BoldItalicFont = IBMPlexMono-BoldItalic
]
\usepackage[math-style=TeX, bold-style=TeX]{unicode-math}
\setmathfont{garamond-math}[
    Extension      = .otf,
    Path           = fonts/
]
