Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

📚 The CoCalc Library - books, templates and other resources

132928 views
License: OTHER
1
% This is the inner theme file of the Feather theme.
2
% Copyright (c) 2014 by Lilyana Vaskova Vankova <[email protected]>
3
%
4
% This program is free software: you can redistribute it and/or modify
5
% it under the terms of the GNU General Public License as published by
6
% the Free Software Foundation, either version 3 of the License, or
7
% (at your option) any later version.
8
%
9
% This program is distributed in the hope that it will be useful,
10
% but WITHOUT ANY WARRANTY; without even the implied warranty of
11
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
% GNU General Public License for more details.
13
%
14
% You can find the GNU General Public License at <http://www.gnu.org/licenses/>.
15
16
%----------------------------------------------------------------------------------------------------------------------------------
17
18
\NeedsTeXFormat{LaTeX2e}
19
\ProvidesPackage{beamerinnerthemeFeather}[2014/04/08 v1.0.0 The Feather Beamer Theme]
20
21
%----------------------------------------------------------------------------------------------------------------------------------
22
23
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
24
% Theme options, definitions and templates.
25
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
26
27
%----------------------------------------------------------------------------------------------------------------------------------
28
29
% beamer specific options
30
31
\mode<presentation> %refers to the first four modes (beamer,handout,second and trans). That is, to all modes except the article mode
32
{
33
34
%----------------------------------------------------------------------------------------------------------------------------------
35
36
% title page
37
%% definitions for fonts of the different elements
38
39
\setbeamerfont{institute}{family=\rmfamily, size = \footnotesize}
40
\setbeamerfont{title}{family=\rmfamily, size = \Large}
41
\setbeamerfont{subtitle}{family=\rmfamily, size = \large}
42
\setbeamerfont{author}{family=\rmfamily, size = \normalsize}
43
\setbeamerfont{date}{family=\rmfamily, size = \footnotesize}
44
45
\setbeamertemplate{title page}
46
{
47
48
%% setting the above deffinitions
49
50
\begin{minipage}[c][\textheight][c]{\textwidth}
51
52
\centering
53
54
{\usebeamerfont{institute}\insertinstitute}\vspace*{30pt}
55
56
{\usebeamerfont{title}\usebeamercolor[fg]{title}\inserttitle}\vspace*{10pt}
57
58
{\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle}\vspace*{30pt}
59
60
{\usebeamerfont{author}\insertauthor}\vspace*{30pt}
61
62
{\usebeamerfont{date}\insertdate}\vspace*{\baselineskip}
63
64
\end{minipage}
65
}
66
67
%----------------------------------------------------------------------------------------------------------------------------------
68
69
% final page
70
71
\defbeamertemplate{final page}{text}[1]
72
{
73
\begin{minipage}[c][\textheight][c]{\textwidth}
74
\centering
75
#1
76
\end{minipage}
77
}
78
\newcommand{\finalpage}[1]
79
{
80
\setbeamertemplate{final page}[text]{#1}
81
\usebeamertemplate{final page}
82
}
83
84
%----------------------------------------------------------------------------------------------------------------------------------
85
86
% add the feather to the background of the titlepage and the final page
87
88
\newcommand{\1}
89
{
90
\setbeamertemplate{background}
91
{
92
\includegraphics[width=\paperwidth,height=\paperheight]{Feathergraphics/1}
93
\tikz[overlay] \fill[fill opacity=0.75,fill=white] (0,0) rectangle (-\paperwidth,\paperheight);
94
}
95
}
96
97
%----------------------------------------------------------------------------------------------------------------------------------
98
99
% use numbers instead of a picture for the references
100
101
\setbeamertemplate{bibliography item}[text]
102
103
}
104
105
\mode<all>
106