summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/bfh-ci/tex/beamerfontthemeBFH.sty
blob: 8e8612cad6439ed918f6221554f8945d06099fd7 (plain)
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
%% This is file `beamerfontthemeBFH.sty' version 2.1.3 (2022/03/20),
%% it is part of
%% BFH-CI -- Corporate Design for Bern University of Applied Sciences
%% ----------------------------------------------------------------------------
%%
%%  Copyright (C) 2021–2022 by
%%      Marei Peischl <marei@peitex.de>
%%      Andreas Habegger <andreas.habegger@bfh.ch>
%%
%% ============================================================================
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3c
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.3c or later is part of all distributions of LaTeX
%% version 2008/05/04 or later.
%%
%% This work has the LPPL maintenance status `maintained'.
%%
%% The Current Maintainers of this work are
%%   Marei Peischl <bfh-ci@peitex.de>
%%   Andreas Habegger <andreas.habegger@bfh.ch>
%%
%% The development respository can be found at
%% https://gitlab.ti.bfh.ch/bfh-latex/bfh-ci/
%% Please use the issue tracker for feedback!
%%
%% ============================================================================
%%
\ProvidesPackage{beamerfontthemeBFH}[2022/03/01 v2.1.2 BFH-CI beamer font theme, CI of Bern University of Applied Sciences]

% ====================
% Dependencies
% ====================

\RequirePackage{bfhfonts}

\mode<presentation>
\usefonttheme[only large]{structurebold}

% ====================
% Fonts
% ====================

\usefonttheme{professionalfonts}

\setbeamerfont{headline title}{size=\Huge,series=\bfseries}
\setbeamerfont{headline author}{size=\Large}
\setbeamerfont{headline institute}{size=\normalsize}
\setbeamerfont{heading}{series=\bfseries}
\setbeamerfont{caption}{size=\small}
\setbeamerfont{footline}{size=\tiny}

\setbeamerfont*{title}{size=\LARGE,series=\bfseries}
\setbeamerfont*{subtitle}{size=\large,series=\bfseries}
\setbeamerfont*{date}{size=\footnotesize,series=\bfseries}
\setbeamerfont*{author}{size=\footnotesize,series=\bfseries}
\setbeamerfont*{institute}{parent=author}

\setbeamerfont{section title}{series=\normalfont,size=\LARGE}
\setbeamerfont{title in sidebar}{series=\bfseries}
\setbeamerfont{author in sidebar}{series=\bfseries}
\setbeamerfont{frametitle}{series=\mdseries}
\setbeamerfont{block title}{size=\small}
\setbeamerfont{block body}{size=\small}
\setbeamerfont{block title example}{size=\small}
\setbeamerfont{block body example}{size=\small}
\setbeamerfont{block title alerted}{size=\small}
\setbeamerfont{block body alerted}{size=\small}

\setbeamerfont{lecture title}{series=\normalfont,size=\LARGE}

\setbeamerfont{section in toc}{size=\normalsize}
\setbeamerfont{subsection in toc}{size=\small}
\setbeamerfont*{itemize/enumerate body}{size=\footnotesize}
\setbeamerfont*{itemize/enumerate subbody}{parent=itemize/enumerate body}
\setbeamerfont*{itemize/enumerate subsubbody}{parent=itemize/enumerate body}

\mode<all>

\endinput