Custom font families
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
```
commitfd4ba42666314d851da89619b5d05924c093046e
authorVladislav Turbanov <vturbanov@gmail.com>
dateWed 18 May 2016, 22:02 (10 years ago)
parent63471c3
default.latex+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$