-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbeamerfontthemeeth.sty
executable file
·32 lines (26 loc) · 1.32 KB
/
beamerfontthemeeth.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
% Available on https://gitlab.ethz.ch/bsaverio/ethbeamer
% Created by Saverio Bolognani based on ETH official design
% This file should only customize fonts
\usepackage[T1]{fontenc} % for correct hyphenation and T1 encoding
\RequirePackage{lmodern}
\RequirePackage{tgheros} % Helvetica
\renewcommand{\familydefault}{\sfdefault}
\RequirePackage{microtype} % for character protrusion and font expansion
% \usefonttheme[onlymath]{serif} % math like in the papers (serif)
\usefonttheme{serif} % math like in the papers (serif)
\urlstyle{same}
% Font size of the title frame
\setbeamerfont{title}{size=\fontsize{13}{17.4}\selectfont,series=\mdseries}
\setbeamerfont{author}{size=\fontsize{10}{12},series=\bfseries}
\setbeamerfont{date}{size=\fontsize{10}{12},series=\mdseries}
% Font size of the frame titles and toc
\setbeamerfont{frametitle}{size=\fontsize{16}{30}}
\setbeamerfont{framesubtitle}{size=\footnotesize}
\setbeamerfont{section in toc}{size=\normalsize}
% Font size of the slide content
\setbeamerfont{normal text}{size=\footnotesize}
\setbeamerfont{block title}{size=\footnotesize}
\setbeamerfont{itemize/enumerate body}{size=\footnotesize}
\setbeamerfont{itemize/enumerate subbody}{size=\footnotesize}
\setbeamerfont{itemize/enumerate subsubbody}{size=\footnotesize}
\AtBeginDocument{\usebeamerfont{normal text}}