%[TLP:CLEAR]
% MANCHOT
%
% Manchot is an Astrophysics package aNd Class to Help writing dOcuments in Tex 
% (MANCHOT)
%
%@ Author: Moussouni, Yaël (MSc student; yael.moussouni@etu.unistra.fr)
%@ Institution:  Université de Strasbourg, CNRS, Observatoire astronomique
%                de Strasbourg, UMR 7550, F-67000 Strasbourg, France
%@ Date: 2025-05-03
%
% Licence:
% MSc2 Internship: SMACS Cluster
% Copyright (C) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
% 
% manchot-beamer.cls
% Copyright (C) 2025 Yaël Moussouni (yael.moussouni@etu.unistra.fr)
% 
% This program 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.
% 
% This program 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.
% 
% You should have received a copy of the GNU General Public License 
% along with this program. If not, see www.gnu.org/licenses/.

\ProvidesClass{manchot-beamer}[2025-05-03]


% Initial packages 

\RequirePackage[utf8]{inputenc} % input encoding
\RequirePackage[T1]{fontenc} % font encoding
\RequirePackage{xcolor} % colours

% Definitions

\def\yii@warning{}
\def\yii@title{}
\def\yii@subtitle{}
\def\yii@author{}
\def\yii@institution{}
\def\yii@division{}
\def\yii@date{}

\def\yii@headtopleft{\yii@title}
\def\yii@headbottomleft{\yii@subtitle}
\def\yii@headtopright{\yii@author}
\def\yii@headbottomright{\yii@institution}

\newif\iftwocolumn
\newif\ifdark
\newif\ifbright
\newif\ifserif
\newif\ifberlin
\newif\ifilmenau

\newif\ifcold
\newif\ifwarm

\newif\ifblue
\newif\iflightblue
\newif\ifred
\newif\ifyellow
\newif\ifgreen
\newif\ifviolet
\newif\ifcyan
\newif\iforange

\input{src/common_palette.tex}

% Options

\PassOptionsToClass{aspectratio=32}{beamer}
\PassOptionsToClass{compress}{beamer}
\PassOptionsToClass{10pt}{beamer}

\input{src/beamer_options.tex}

\LoadClass{beamer} 

% Additional packages

\RequirePackage{geometry} % page geometry
\RequirePackage{paracol} % multiple columns
\RequirePackage{fancyhdr} % header and footer
\RequirePackage{pagecolor} % page colours
\RequirePackage{setspace} % spacing between lines
\RequirePackage{cuted} % full width strip environment
\RequirePackage{hyperref} % links, references, etc. - must be the last package

% Settings

\input{src/beamer_settings.tex}

% Commands

\input{src/beamer_commands.tex}

