-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbeamerfontthemenumpex.sty
40 lines (37 loc) · 1.49 KB
/
beamerfontthemenumpex.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
33
34
35
36
37
38
39
40
% Beamer mtheme
%
% Copyright 2014 Matthias Vogelgesang
% Licensed under CC-BY-SA 4.0 International.
%
% The initial template comes from the HSRM beamer theme by Benjamin Weiss, which
% you can find at https://github.com/hsrmbeamertheme/hsrmbeamertheme.
%
\ProvidesPackage{beamerfontthemenumpex}
\ifxetex
\RequirePackage{fontspec}
\defaultfontfeatures{Mapping=tex-text}
\setsansfont[BoldFont={Marianne Bold}]{Marianne}
\newfontfamily\ExtraLight{Marianne Light}
\newfontfamily\Light{Marianne Light}
\newfontfamily\Book{Marianne}
\newfontfamily\Medium{Marianne Medium}
\newfontfamily\code{Courier}
\AtBeginEnvironment{tabular}{\setsansfont[BoldFont={Marianne}, Numbers={Monospaced}]{Marianne}}
\setbeamerfont{title}{family=\Book, size=\huge}
\setbeamerfont{author}{family=\ExtraLight, size=\small}
\setbeamerfont{date}{family=\ExtraLight, size=\small}
\setbeamerfont{section title}{family=\Book, size=\huge}
\setbeamerfont{block title}{family=\Book, size=\normalsize}
\setbeamerfont{block title alerted}{family=\Book,size=\normalsize}
\setbeamerfont{subtitle}{family=\Light, size=\fontsize{12}{14}}
\setbeamerfont{frametitle}{family=\Book, series=\scshape, size=\large}
\setbeamerfont{caption}{size=\small}
\setbeamerfont{caption name}{family=\Book}
\setbeamerfont{description item}{family=\Book}
\setbeamerfont{page number in head/foot}{size=\scriptsize}
\else
\setbeamerfont{section title}{family=\tt, size=\Large}
\setbeamerfont{title}{family=\tt, size=\Large}
\AtBeginEnvironment{tabular}{\tt}
\fi
% \linespread{1.15}