2019-05-27 13:42:34 +02:00
|
|
|
% Copyright (C) 2018-2019 Pasquale Claudio Africa and the LaTeX community.
|
|
|
|
% A full list of contributors can be found at
|
|
|
|
%
|
|
|
|
% https://github.com/elauksap/focus-beamertheme
|
2018-12-29 16:03:57 +01:00
|
|
|
%
|
|
|
|
% This file is part of beamerthemefocus.
|
|
|
|
%
|
|
|
|
% beamerthemefocus is free software: you can redistribute it and/or modify
|
|
|
|
% it under the terms of the GNU General Public License as published by
|
|
|
|
% the Free Software Foundation, either version 3 of the License, or
|
|
|
|
% (at your option) any later version.
|
2019-05-27 13:42:34 +02:00
|
|
|
%
|
2018-12-29 16:03:57 +01:00
|
|
|
% beamerthemefocus is distributed in the hope that it will be useful,
|
|
|
|
% but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
% GNU General Public License for more details.
|
2019-05-27 13:42:34 +02:00
|
|
|
%
|
2018-12-29 16:03:57 +01:00
|
|
|
% You should have received a copy of the GNU General Public License
|
|
|
|
% along with beamerthemefocus. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
\NeedsTeXFormat{LaTeX2e}
|
2019-05-27 13:42:34 +02:00
|
|
|
\ProvidesPackage{beamerthemefocus}[2019/01/18 v2.3 Focus Beamer theme]
|
2018-12-29 16:03:57 +01:00
|
|
|
|
|
|
|
\mode<presentation>
|
|
|
|
|
|
|
|
|
|
|
|
% THEME OPTIONS. ---------------------------------------------------------------
|
|
|
|
\DeclareOptionBeamer{numbering}{%
|
|
|
|
\PassOptionsToPackage{numbering=#1}{beamerouterthemefocus}
|
|
|
|
}
|
|
|
|
|
|
|
|
\newif\if@focus@loadfirafonts
|
|
|
|
\@focus@loadfirafontstrue
|
|
|
|
|
|
|
|
\DeclareOptionBeamer{nofirafonts}{\@focus@loadfirafontsfalse}
|
|
|
|
\ProcessOptionsBeamer
|
|
|
|
|
|
|
|
|
|
|
|
% LOAD EXTERNAL PACKAGES. ------------------------------------------------------
|
|
|
|
\if@focus@loadfirafonts
|
|
|
|
\RequirePackage[T1]{fontenc}
|
2019-05-27 13:42:34 +02:00
|
|
|
|
2018-12-29 16:03:57 +01:00
|
|
|
\PassOptionsToPackage{type1}{FiraSans}
|
|
|
|
\PassOptionsToPackage{type1}{FiraMono}
|
2019-05-27 13:42:34 +02:00
|
|
|
|
2018-12-29 16:03:57 +01:00
|
|
|
\RequirePackage{FiraSans}
|
|
|
|
\RequirePackage{FiraMono}
|
|
|
|
\fi
|
|
|
|
|
|
|
|
\usecolortheme{focus}
|
|
|
|
\usefonttheme{focus}
|
|
|
|
\useinnertheme{focus}
|
|
|
|
\useoutertheme{focus}
|
|
|
|
|
|
|
|
\setbeamertemplate{navigation symbols}{}
|
|
|
|
|
|
|
|
|
|
|
|
% SET MARGINS. -----------------------------------------------------------------
|
|
|
|
\setbeamersize{text margin left=0.75cm, text margin right=0.75cm}
|
|
|
|
\setlength{\leftmargini}{0.75cm}
|
|
|
|
|
|
|
|
\mode<all>
|