-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbeamerthemeUniNA.sty
36 lines (32 loc) · 1.45 KB
/
beamerthemeUniNA.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
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamerthemeUniNA}[2018/11/16 An unofficial beamer theme for the University of Naples "Federico II"]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Load required packages
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage{tikz}
%\RequirePackage{pgfplots}
\usetikzlibrary{positioning,automata,calc,fit,shapes,backgrounds,arrows.meta}
\usetikzlibrary{external}
\RequirePackage{calc}
\RequirePackage{fp}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Theme options and definitions
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%theme options
\DeclareOptionBeamer{progressstyle}{\PassOptionsToPackage{progressstyle=#1}{beamerouterthemeUniNA}}
\DeclareOptionBeamer{rotationcw}{\PassOptionsToPackage{rotationcw}{beamerouterthemeUniNA}}
\DeclareOptionBeamer{shownavsym}{\PassOptionsToPackage{shownavsym}{beamerouterthemeUniNA}}
\DeclareOptionBeamer{sectionpages}{\PassOptionsToPackage{sectionpages}{beamerinnerthemeUniNA}}
\DeclareOptionBeamer{logo}{\PassOptionsToPackage{logo=#1}{beamerouterthemeUniNA}}
\ProcessOptionsBeamer
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%beamer specific options
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\mode<presentation>%refers to the first four modes (beamer,handout,second and trans). That is, to all modes except the article mode
{
\useinnertheme{UniNA}
\useoutertheme{UniNA}
\usecolortheme{UniNA}
\usefonttheme{UniNA}
}%end of beamer specific options
\mode<all>