% Font setup shared by the slides and by the notes pages that mknotes
% typesets, so that the two match. Loaded by example.tex directly and passed
% to mknotes with --preamble.
%
% Requires fontspec, which unicode-math pulls in on the slides side. Paths must
% stay relative to the document directory: LuaTeX fails to resolve a
% parent-relative Path= and dies with an unhelpful empty-filename error.

\setsansfont{OpenSans}[
  Path = fonts/OpenSans/, Extension = .ttf,
  UprightFont = *-Regular, BoldFont = *-Bold,
  ItalicFont = *-Italic, BoldItalicFont = *-BoldItalic]

\setmonofont{RobotoMono}[
  Path = fonts/RobotoMono/, Extension = .ttf,
  UprightFont = *-Regular, BoldFont = *-Bold,
  ItalicFont = *-Italic, BoldItalicFont = *-BoldItalic]

\renewcommand{\familydefault}{\sfdefault}
