Adding template files

This commit is contained in:
Abdulee 2024-12-22 09:14:15 +01:00
parent 4781ba3b9c
commit 94d1ffccad
11 changed files with 415 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

BIN
background/corners.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

BIN
background/corners2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

187
beamerthemeBokeronTemp.sty Normal file
View File

@ -0,0 +1,187 @@
% Bokeron Template based on Bayes Business School Beamer theme by Emilio Luis Sáenz Guillén
\ProvidesPackage{beamerthemeBokeronTemp}
\RequirePackage{silence}
\WarningsOff[mathdesign/mdbch]
\RequirePackage{etoolbox}
% Eliminate navigation symbols
\setbeamertemplate{navigation symbols}{}
% Section and subsection numbering in table of contents
\setbeamertemplate{section in toc}[sections numbered]
\setbeamertemplate{subsection in toc}[subsections numbered]
% Current position in the presentation
\useoutertheme[subsection = false]{miniframes}
\setbeamercolor{section in head/foot}{bg=BokeronBlue, fg=white}
% Captions numbering
\setbeamertemplate{caption}[numbered]
% Set slide margins
\setbeamersize{text margin left=2em, text margin right=10em}
% Set Normal Text Color
\setbeamercolor{normal text}{fg=Black}
% Structure colour (bullet points and section headings...)
\setbeamercolor{structure}{fg=BokeronBlue}
% Font
\RequirePackage{fontspec}
\setromanfont{Arial}
\setsansfont[Scale=MatchLowercase]{Open Sans}
\RequirePackage{tikz}
% Font substitution
\DeclareFontFamilySubstitution{TS1}{\sfdefault}{lmr}
\DeclareFontFamilySubstitution{OMS}{\sfdefault}{lmr}
% Define colours
\definecolor{BokeronTitleBlue}{RGB}{0, 149, 197}
\definecolor{LighterBokeronTitleBlue}{RGB}{204,217,236}
\definecolor{BokeronBlue}{RGB}{30, 160, 186}
\definecolor{BoxLightBlue}{RGB}{173, 235, 255}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%% TITLE %%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Adjust Frame Title Position
\setbeamertemplate{frametitle}{\vskip-0.2\paperheight\insertframetitle}
% Frame Title Font
\setbeamerfont{frametitle}{family=\rmfamily,series=\mdseries,size=\Large}
% Set Color for Title-like Elements
\setbeamercolor{titlelike}{fg=BokeronTitleBlue}
% Title page
\setbeamertemplate{title page}{
\vbox{}
\vfill
\hbox{
% Uncomment the following line if using Finsbury square or red background
% \hspace{3.5in}
\begin{minipage}[t]{0.4\textwidth}
{\usebeamerfont{title}\usebeamercolor[fg]{title}\inserttitle\par}
\ifx\insertsubtitle\@empty\else
{\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}
\fi
\vspace{0.1in}
{\usebeamerfont{author}\usebeamercolor[fg]{author}\insertauthor\par}
\vspace{0.1in}
{\usebeamerfont{institute}\usebeamercolor[fg]{institute}\insertinstitute\par}
{\usebeamerfont{date}\usebeamercolor[fg]{date}\insertdate\par}
\end{minipage}
\hfill
}
\vfill
}
% Sizes
\setbeamerfont{title}{family=\rmfamily,size=\LARGE}
\setbeamerfont{author}{size=\large}
\setbeamerfont{institute}{size=\large}
% Colours
\setbeamercolor{title}{fg=white}
\setbeamercolor{subtitle}{fg=white}
\setbeamercolor{author}{fg=white}
\setbeamercolor{institute}{fg=white}
\setbeamercolor{date}{fg=white}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%% BACKGROUND %%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usebackgroundtemplate%
{%
\includegraphics[width=\paperwidth,height=\paperheight]{background/corners2.png}%
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%% CLOSING SLIDE %%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamertemplate{endpage}{
\begin{frame}[plain]
\begin{tikzpicture}[remember picture, overlay]
% Background image
\node[at=(current page.center)] {
\includegraphics[width=\paperwidth,height=\paperheight]{background/CoverPage_OpenBokeron.png}
};
\end{tikzpicture}
\end{frame}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%% ITEMIZE %%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamertemplate{itemize item}{\textbullet}
\setbeamertemplate{itemize subitem}{--}
\setbeamertemplate{itemize subsubitem}{\textbullet}
% First-Level List Identations
\setlength{\leftmargini}{1.25em}
% Second-Level List Indentation
\setlength{\leftmarginii}{1em}
% Third-Level List Indentation
\setlength{\leftmarginiii}{1em}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%% FRAME TITLES %%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Normal frame title
\newcommand{\normalframetitle}{%
\setbeamertemplate{frametitle}{\vskip0.2\paperheight\insertframetitle}
\setbeamerfont{frametitle}{size=\LARGE,series=\mdseries}
\setstretch{1}
}
% Small frame title
\newcommand{\smallframetitle}{%
\setbeamertemplate{frametitle}{\vskip0.05\paperheight\insertframetitle}
\setbeamerfont{frametitle}{size={\fontsize{11}{15}},series=\bfseries}
}
% Smaller frame title
\newcommand{\smallerframetitle}{
\setbeamertemplate{frametitle}{\vskip0.025\paperheight\insertframetitle}
\setbeamerfont{frametitle}{size={\fontsize{8}{12}},series=\bfseries}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%% TABLES %%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand{\arraystretch}{1.3}
\newcommand{\tableheadrow}{\rowcolor{BokeronBlue}}
\newcommand{\tableheadcol}[1]{{\bfseries\color{white}#1}}
\AtBeginEnvironment{tabular}{\color{black}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%% BLOCK %%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamerfont{block title}{family=\rmfamily,size=\large}
\setbeamercolor{block title}{fg=white,bg=BokeronTitleBlue}
\setbeamercolor{block body}{bg=LighterBokeronTitleBlue}
\setbeamertemplate{blocks}[rounded][shadow=false]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%% FOOTLINE %%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamertemplate{footline}{%
\vskip0.15\paperheight
}
\setbeamercolor{myfootlinecolor}{bg=white,fg=BokeronBlue}
\setbeamertemplate{footline}
{%
\begin{beamercolorbox}[colsep=1.5pt, ht=3.5ex, dp=1.125ex, leftskip=.3cm, rightskip=.3cm plus1fil]{myfootlinecolor}
\leavevmode{\usebeamerfont{author in head/foot}\insertshortauthor}%
\hfill
{\usebeamerfont{institute in head/foot}\insertshortinstitute}%
\hfill%
{\usebeamerfont{title in head/foot}\insertframenumber/\inserttotalframenumber}
\end{beamercolorbox}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%% OTHERS %%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Disable warning on \author
\pdfstringdefDisableCommands{%
\def\\{}%
\def\texttt#1{<#1>}%
}

BIN
images/LogoOpenBokeron.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

99
main.tex Normal file
View File

@ -0,0 +1,99 @@
%% Requires compilation with XeLaTeX or LuaLaTeX
\documentclass[10pt,table,dvipsnames, t, compress, aspectratio=169]{beamer}
%% Packages
\usepackage{tikz} % Load TikZ for creating graphics
\usetikzlibrary{tikzmark,calc,arrows.meta,shapes.arrows,decorations.pathreplacing}
% tikzmark: mark locations in the document
% calc: do coordinate calculations in TikZ
% arrows.meta: customize arrow styles
% shapes.arrows: predefined arrow shapes for nodes
% decorations.pathreplacing: decorate or replace paths (e.g., with brackets)
\usepackage{caption, subcaption, bbm, mathtools, amsmath, lmodern}
\usepackage{graphicx, amssymb, cancel, pifont, bm}
\usefonttheme[onlymath]{serif}
% Bibliography
\usepackage[style=apa, backend=biber]{biblatex}
\addbibresource{sn-bibliography.bib}
% Theme
\usetheme{BokeronTemp}
% Hyperref
\usepackage{hyperref}
% url in blue
\newcommand{\bluehref}[2]{%
\begingroup
\hypersetup{urlcolor=blue}%
\href{#1}{\color{blue}#2}%
\endgroup
}
% Color box
\usepackage{xcolor}
\usepackage{tcolorbox}
\newtcolorbox{mybox}{colback=BoxLightBlue, colframe=BokeronBlue, width=0.9\linewidth}
%% Title
\title{\textbf{\large Presentation Title}}
\author{ Abdullah Sultan\\
\texttt{masu@uma.es}
\\
Alguien Más\\
\texttt{alguien@uma.es}}
\institute[Open Bokeron]{Open Bokeron\\ https://openbokeron.uma.es}
\date{DD/MM/YYY}
\begin{document}
%----------------------------------------------------------------------------------------
% TITLE SLIDES
%----------------------------------------------------------------------------------------
{
\usebackgroundtemplate{
\begin{tikzpicture}[remember picture, overlay]
\node[at=(current page.center)] { \includegraphics[width=\paperwidth,height=\paperheight,keepaspectratio]{background/OpenBokeronPresentation_Cover.jpg} % portada
};
\end{tikzpicture}
}
\begin{frame}[plain]
\titlepage
\end{frame}
}
% Current section
\AtBeginSection[ ]
{
\begin{frame}{}
\tableofcontents[currentsection,currentsubsection,
sectionstyle=show/shaded]
\end{frame}
}
% Current subsection
\AtBeginSubsection[ ]
{
\begin{frame}{}
\tableofcontents[currentsection,currentsubsection,
sectionstyle=show/shaded]
\end{frame}
}
\smallframetitle
%----------------------------------------------------------------------------------------
% Empezamos aquí
%----------------------------------------------------------------------------------------
\input{sections/Introduction}
\input{sections/OtherExamples}
\input{sections/Conclusion}
\frame[shrink=30] {\printbibliography}
\AtEndDocument{\usebeamertemplate{endpage}}
\end{document}

23
sections/Conclusion.tex Normal file
View File

@ -0,0 +1,23 @@
\section{Conclusion}
\begin{frame}{Conclusion}
\begin{itemize}
\item[\ding{104}] Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
\item[\ding{104}] Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
\end{itemize}
\pause
\vspace{0.1in}
\begin{picture}(55,55)
\put(0,50){\makebox(340,5){\upbracefill}}
\end{picture}
\vspace{-0.75in}
\centering
\begin{mybox}
\begin{itemize}
\item[\ding{229}] Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
\end{itemize}
\end{mybox}
\end{frame}

20
sections/Introduction.tex Normal file
View File

@ -0,0 +1,20 @@
\section{Introduction}
\begin{frame}
\frametitle{\textbf{Administrative Details}}
\textbf{About myself:}
\begin{itemize}
\item Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
\item Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
\item Email: \bluehref{dummy.email@domain.com}{dummy.email@domain.com}.\\
Personal website: \bluehref{https://loremipsum.example.com}{https://loremipsum.example.com}.
\end{itemize}
\pause
\textbf{Tutorials' details:}
\begin{itemize}
\item Cover around {\color{blue}2-3} lorem ipsum questions every week.
\item Requirement: be \textit{minimally} familiar with the lorem ipsum dolor sit amet, and, if possible, also with the respective lorem exercises.
\item References: \cite{doe2024example} \& \cite{smith2025dummy}
\end{itemize}
\end{frame}

View File

@ -0,0 +1,65 @@
\section{Other display examples}
\begin{frame}{Slide Title}
\frametitle{Slide Title}
\framesubtitle{Large Right Image Example}
\begin{columns}[T] % [T] ensures correct vertical alignment
\begin{column}{0.48\linewidth} % Left column
\textbf{Section Title}
\begin{itemize}
\item Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.
\item Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
\end{itemize}
\end{column}
\begin{column}{0.48\linewidth} % Right column
\begin{figure}
\centering
\includegraphics[width=0.8\textwidth]{images/LogoOpenBokeron.png}
\caption{Write picture caption here.}
\label{fig:enter-label1}
\end{figure}
\end{column}
\end{columns}
\end{frame}
\begin{frame}{Slide Title}
\frametitle{Slide Title}
\framesubtitle{Large Right Image Example}
\begin{columns}[T] % [T] ensures correct vertical alignment
\begin{column}{0.48\linewidth} % Right column
\begin{figure}
\centering
\includegraphics[width=0.8\textwidth]{images/LogoOpenBokeron.png}
\caption{Write picture caption here.}
\label{fig:enter-label2}
\end{figure}
\end{column}
\begin{column}{0.48\linewidth} % Left column
\textbf{Section Title}
\begin{itemize}
\item Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.
\item Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.
\end{itemize}
\end{column}
\end{columns}
\end{frame}
\begin{frame}{Slide Title}{Three-Column Example}
\small % Reduce font size in this slide
\begin{columns}[T] % [T] ensures correct vertical alignment
\begin{column}{0.4\linewidth} % Left column
\includegraphics[width=0.6\linewidth]{images/LogoOpenBokeron.png}\\
\textbf{Section Title}\\
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
\end{column}
\begin{column}{0.4\linewidth} % Center column
\includegraphics[width=0.6\linewidth]{images/LogoOpenBokeron.png}\\
\textbf{Section Title}\\
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
\end{column}
\end{columns}
\end{frame}

21
sn-bibliography.bib Normal file
View File

@ -0,0 +1,21 @@
@book{doe2024example,
author = {John Doe},
title = {An Example of Dummy Book},
year = {2024},
publisher = {Fictional Press},
address = {New York},
edition = {2nd},
isbn = {978-3-16-148410-0},
note = {This is a dummy book for illustrative purposes},
}
@book{smith2025dummy,
author = {Jane Smith},
title = {Understanding Placeholder References},
year = {2025},
publisher = {Imaginary Press},
address = {London},
edition = {3rd},
isbn = {978-1-234-56789-7},
note = {This is a dummy reference for illustrative purposes},
}