Spaces:
Sleeping
Sleeping
Siyuan Hu
commited on
Commit
·
20a552d
1
Parent(s):
e3a1bdb
revert(template): restore original beamerthemegemini.sty (remove font fallbacks); rely on font install in postBuild instead
Browse files
template/beamerthemegemini.sty
CHANGED
|
@@ -15,39 +15,17 @@
|
|
| 15 |
% Fonts
|
| 16 |
% ====================
|
| 17 |
|
| 18 |
-
|
| 19 |
-
\
|
| 20 |
-
|
| 21 |
-
\IfFontExistsTF{Raleway}{
|
| 22 |
-
\newfontfamily\Raleway[Ligatures=TeX]{Raleway}
|
| 23 |
-
}{
|
| 24 |
-
\newfontfamily\Raleway[Ligatures=TeX]{DejaVu Sans}
|
| 25 |
-
}
|
| 26 |
|
| 27 |
-
\
|
| 28 |
-
\newfontfamily\Lato[Ligatures=TeX]{Lato}
|
| 29 |
-
}{
|
| 30 |
-
\newfontfamily\Lato[Ligatures=TeX]{DejaVu Sans}
|
| 31 |
-
}
|
| 32 |
|
| 33 |
-
\
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
]
|
| 40 |
-
}{
|
| 41 |
-
\IfFontExistsTF{DejaVu Sans}{
|
| 42 |
-
\setsansfont{DejaVu Sans}[
|
| 43 |
-
BoldFont=*-Bold,
|
| 44 |
-
ItalicFont=*-Oblique,
|
| 45 |
-
BoldItalicFont=*-BoldOblique
|
| 46 |
-
]
|
| 47 |
-
}{
|
| 48 |
-
\setsansfont{Latin Modern Sans}
|
| 49 |
-
}
|
| 50 |
-
}
|
| 51 |
|
| 52 |
\setbeamerfont{headline}{family=\Raleway}
|
| 53 |
\setbeamerfont{headline title}{size=\Huge,series=\bfseries}
|
|
|
|
| 15 |
% Fonts
|
| 16 |
% ====================
|
| 17 |
|
| 18 |
+
\newfontfamily\Raleway[Ligatures=TeX]{Raleway}
|
| 19 |
+
\newfontfamily\Lato[Ligatures=TeX]{Lato}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
+
\usefonttheme{professionalfonts}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
+
\setsansfont{Lato}[
|
| 24 |
+
UprightFont=*-Light,
|
| 25 |
+
ItalicFont=*-LightItalic,
|
| 26 |
+
BoldFont=*-Regular,
|
| 27 |
+
BoldItalicFont=*-Italic
|
| 28 |
+
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
|
| 30 |
\setbeamerfont{headline}{family=\Raleway}
|
| 31 |
\setbeamerfont{headline title}{size=\Huge,series=\bfseries}
|