Custom font families for beamer
Adding ability to define custom font families. Needed for correct `polyglossia` operation with Cyrillic fonts and perhaps can find some other usages. Example usage in YAML metadata:
```
fontfamilies:
- name: \cyrillicfont
font: Liberation Serif
- name: \cyrillicfonttt
options: Scale=MatchLowercase
font: Liberation Mono
```
commitabb9e892e48d32936a35510cb0dc057a27231f42
authorArtem Klevtsov <a.a.klevtsov@gmail.com>
dateWed 14 Sep 2016, 16:24 (10 years ago)
parent284279f
default.beamer+3
@@ -24,6 +24,9 @@ $endif$
2424 \usepackage{fontspec}
2525 \fi
2626 \defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase}
27+$for(fontfamilies)$
28+ \newfontfamily{$fontfamilies.name$}[$fontfamilies.options$]{$fontfamilies.font$}
29+$endfor$
2730$if(euro)$
2831 \newcommand{\euro}{€}
2932$endif$