%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%
% IISER Thiruvananthapuram Presentation/Beamer Format
% LaTeX Template
%
% Copyright (c) 2022 by Nikhil Alex Verghese, BS-MS '17, IISER Thiruvananthapuram
%
% This work is licensed under the Creative Commons Attribution 4.0 International License.
% (CC BY-NC-SA 4.0)
%
% To view a copy of this license, visit ``http://creativecommons.org/licenses/by-nc-sa/4.0/'' or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
%
% FORWARD ANY AND ALL SUGGESTIONS TO: nikhil.alexv17@alumni.iisertvm.ac.in
%
% READ ALL INSTRUCTIONS (presented as comments) IN EACH TEX FILE CAREFULLY.
%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%
% Comments like this begin with a % character.
% Ctrl+b for \textbf{bold} and Ctrl+i for \textit{italics}
% Refer to these links for useful beamer tips and tricks
% http://tug.ctan.org/macros/latex/contrib/beamer/doc/beameruserguide.pdf
% https://www.overleaf.com/learn/latex/Beamer
% https://en.wikipedia.org/wiki/Beamer_%28LaTeX%29 --> `External Links'
% THE FOLLOWING TEMPLATE IS FRAGILE:
% It is recommended you familiarise yourself with a rough idea of the presentation's framework before adding custom elements.
% THE FOLLOWING TEMPLATE DOES NOT SUPPORT THE USE OF FRAME SUBTITLES.
%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%
% PREAMBLE (PACKAGES AND DOCUMENT CONFIGURATION) %
%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%
\documentclass[10pt,presentation,shownotes,aspectratio=169]{beamer}
\usetheme{Warsaw} % Use of other themes is not highly recommended as its features would clash with other custom-defined ones.
\usecolortheme{crane} % Yellow colour scheme, others include default, beaver, dolphin, dove, lily, orchird, rose, seahorse, wolverine and whale.
\usefonttheme{default}
\setbeamertemplate{caption}[numbered]
\setbeamercolor{block body example}{bg=green!12}
%\setbeamertemplate{navigation symbols}{} % Uncomment to disable the bottom right navigation buttons
%\setbeamercovered{transparent}
\setbeamertemplate{theorems}[numbered]
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[english]{babel}
\usepackage{csquotes}
\usepackage{mathtools,amsfonts,amssymb,setspace}
\usepackage{pstricks} % PSTricks offers an extensive collection of quick and easy macros for generating PostScript including macros for colour, graphics, pie charts, rotation, trees and overlays.
% (https://ctan.org/pkg/pstricks-base?lang=en)
\usepackage{hyperref} % hyperref package for creating reliable hyperlinks and customizations
% (https://ctan.org/pkg/hypperref?lang=en)
\usepackage{tikz} % Tikz package for drawing graphs and diagrams [XY-pic is now outdated]
% (https://ctan.org/pkg/tikz?lang=en, https://www.overleaf.com/learn/latex/TikZ_package)
%\usepackage{tikz-cd} % Commutative Diagrams with Tikz, primarily for linear algebra.
% (https://ctan.org/pkg/tikz-cd?lang=en)
%\usepackage{pgfplots} % The Pgfplots package is dependent on tikz package and is used to portray detailed 2D and 3D function plots from scratch as well as plot available data with a high degree of customization (https://www.overleaf.com/learn/latex/Pgfplots_package)
% (https://ctan.org/pkg/pgfplots?lang=en)
%\usepackage{caption} % The captions package allows you to better control captions for floating environments like figures, etc.
% (https://ctan.org/pkg/caption?lang=en)
%\usepackage{booktabs} % The booktabs package allows better control over tables including ruling, width, etc. (https://ctan.org/pkg/booktabs?lang=en)
\usepackage{xcolor} % Customize colours for hyperlinks, etc.
% (https://ctan.org/pkg/xcolor?lang=en)
\hypersetup{
colorlinks,
linkcolor={blue!50!black},
citecolor={blue!50!black},
urlcolor={blue!80!black}
}
\usepackage[toc,page]{appendix}
%\usepackage{appendixnumberbeamer} % This resets the page count after the \appendix function is called, unlike the traditional appendix package
% (https://ctan.org/pkg/appendixnumberbeamer?lang=en)
\usepackage[backend=biber,style=alphabetic]{biblatex} % We use BiBLaTeX for our bibliography.
% (https://ctan.org/pkg/biblatex?lang=en)
\renewcommand*{\nameyeardelim}{\addcomma\addspace}
\addbibresource{ref.bib}
\usepackage{lipsum} % The lipsum package is for generating dummy text throughout this template and is not necessary.
% \usepackage{verbatim} % The verbatim package is useful upon needing to display large amounts of code as is.
%\usepackage{siunitx} % The siunitx package helps typeset units of all kinds.
% (https://ctan.org/pkg/siunitx?lang=en)
%\usepackage{chemformula} % The chemformula package is a must for typesetting chemical compounds and reactions.
%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%
% Note: Changes to specific presentation elements usually start with /makeatletter and end with /makeatother in a tex file.
% Defining our Remark Block
\makeatletter
\def\th@remark{%
\normalfont % body font
\setbeamercolor{block title example}{bg=orange,fg=black}
\setbeamercolor{block body example}{bg=orange!20,fg=black}
\def\inserttheoremblockenv{exampleblock}
}
\makeatother
\theoremstyle{remark}
\newtheorem*{remark}{Remark}
% Defining Corollary Block
\makeatletter
\def\th@corollary{%
\textit % body font
\setbeamercolor{block title example}{bg=blue,fg=black}
\setbeamercolor{block body example}{bg=blue!20,fg=black}
\def\inserttheoremblockenv{exampleblock}
}
\makeatother
% Setting Header Properties
\setbeamertemplate{headline}
{
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=.5\paperwidth,ht=2.5ex,dp=1ex,left,leftskip=1em]{section in head/foot}%
\usebeamerfont{subsection in head/foot}\hspace*{2ex}\insertshorttitle
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.5\paperwidth,ht=2.5ex,dp=1ex,center]{date in head/foot}%
\usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2ex}
\end{beamercolorbox}}%
\vskip0pt%
}
% Defining the Title Page, you can comment/remove all of the following lines to return it to default (all centered).
\makeatletter
\defbeamertemplate*{title page}{mytitlepage}[1][]
{
\vbox{}
\vfill
\begingroup
\centering
\parbox{.75\paperwidth}{% change the width here
\begin{beamercolorbox}[wd=\linewidth,sep=8pt,center,#1]{title}
\usebeamerfont{title}\inserttitle\par%
\ifx\insertsubtitle\@empty%
\else%
\vskip0.25em%
{\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}%
\fi%
\end{beamercolorbox}%
}
\vskip1.8em
\endgroup
\begingroup
\begin{beamercolorbox}[sep=8pt,left,#1]{author}
\usebeamerfont{author}\insertauthor
\end{beamercolorbox}
\begin{beamercolorbox}[sep=8pt,left,#1]{institute}
\usebeamerfont{institute}\insertinstitute
\end{beamercolorbox}
\begin{beamercolorbox}[sep=8pt,left,#1]{date}
\usebeamerfont{date}\insertdate
\end{beamercolorbox}
\endgroup
\vskip-11.5em
\hfill
{\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic\par}
\vspace{10pt plus 0.4fill}
}
\setbeamertemplate{title page}[mytitlepage][colsep=-4bp,rounded=true,shadow=\beamer@themerounded@shadow]
\makeatother
% Setting Footer Properties
\makeatletter
\setbeamertemplate{footline}
{
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=.33\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
\usebeamerfont{author in head/foot}\insertshortauthor~~\beamer@ifempty{\insertshortinstitute}{}{(\insertshortinstitute)}
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.34\paperwidth,ht=2.25ex,dp=1ex,center]{subsection in head/foot}%
\usebeamerfont{section in head/foot}\hspace*{1ex}\insertsectionhead\hspace*{1ex}
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.33\paperwidth,ht=2.25ex,dp=1ex,right, rightskip=1em]{section in head/foot}%
\usebeamerfont{section in head/foot}\insertsubsectionhead\hspace*{2ex}
\end{beamercolorbox}}%
\vskip0pt%
}
\makeatother
% Defining when a title is required for a frame
\makeatletter
\setbeamertemplate{frametitle}{
\ifbeamercolorempty[bg]{frametitle}{}{\nointerlineskip}%
\@tempdima=\textwidth%
\advance\@tempdima by\beamer@leftmargin%
\advance\@tempdima by\beamer@rightmargin%
\begin{beamercolorbox}[sep=0.3cm,center,wd=\the\@tempdima]{frametitle}
\usebeamerfont{frametitle}%
\vbox{}\vskip-1ex%
\if@tempswa\else\csname beamer@ftecenter\endcsname\fi%
\strut\insertframetitle\strut\par%
{%
\ifx\insertframesubtitle\@empty%
\else%
{\usebeamerfont{framesubtitle}\usebeamercolor[fg]{framesubtitle}\insertframesubtitle\strut\par}%
\fi
}%
\vskip-1ex%
\if@tempswa\else\vskip-.3cm\fi% set inside beamercolorbox...
\end{beamercolorbox}%
}
\makeatother
% Setting a self-updating ToC at the beginning of every section.
\AtBeginSection[]
{
\begin{frame}
\frametitle{Table of Contents}
\tableofcontents[currentsection]
\end{frame}
}
% Setting Subsections with their own Frame Titles
\makeatletter
\newcommand<>{\insertsubsectiontitle}{\frametitle{\insertsubsection}}
\let\oldbeamer@checkframetitle\beamer@checkframetitle% Store the \frametitle checking mechanism
\renewcommand<>{\subsection}{%
\gdef\beamer@checkframetitle{% Update \frametitle checking to ...
\insertsubsectiontitle% ...insert the section title and...
\global\let\beamer@checkframetitle\oldbeamer@checkframetitle% ...revert to it's old definition
}% Regular \section stuff follows
\alt#1{\@ifnextchar[\beamer@subsection\beamer@@subsection}
{\beamer@secgobble}}
\makeatother
% Defining proofs environment for proofs requiring more than one frame
\makeatletter
\newenvironment<>{proofs}[1][\proofname]{%
\par
\def\insertproofname{#1\@addpunct{.}}
\usebeamertemplate{proof begin}#2}%
{\usebeamertemplate{proof end}}
\makeatother
% Uncomment for some standard math notations
% \newcommand{\reals}{\mathbb{R}}
% \newcommand{\mtrx}{\mathbb{M}}
% \newcommand{\jacobian}{\mathcal{J}}
% \newcommand{\tallstrut}{\vphantom{\frac{5_A}{4,10^3}}}
% \newcommand{\abs}[1]{\left\lvert #1 \right\rvert}
% \newcommand{\norm}[1]{\left\lVert #1 \right\rVert}
%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%
% TITLE PAGE %
% REPLACE PLACEHOLDER TEXT IN [] %
%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%
% Note: Longer input for Title Page Only, Abridged Input for Header and Footer.
% Hiding the Title Page Definition Above (Line 139) will restore the title page to its default.
\title[\color{white} Short Pres. Title
\hspace{0.3cm}\insertframenumber/\inserttotalframenumber]{\LARGE [Extended Presentation Title]}
\author[Short Name, Roll No.]{\texorpdfstring{{\LARGE [Full Name]}\\[7pt] {[Roll Number]}}{}}
\institute[So\_, IISER TVM]{{\large School of [Department],}\\ Indian Institute of Science Education and Research\\Thiruvananthapuram}
% Uncomment the following lines in place of the two commands above in case of more than one author.
%\author[1st Author \textit{et al.}]{\Large [First Author\inst{1} \and Second Author\inst{2}]}
%\institute[So\_, IISER TVM]{{large \inst{1} School of [Department],}\\ Indian Institute of Science Education and Research\\Thiruvananthapuram \and \inst{2} Collaboration University}
% Enter Presentation Details
% (Major/Minor Project Presentation, Thesis Defense, etc.)
\date[Short Pres. Details]{[Dissertation/Thesis Defense]\\(Date)}
\titlegraphic{\includegraphics[height=105pt]{Images/Logos/IISER_TVM_logo.png}}
% Document starts here
\begin{document}
\setlength{\belowcaptionskip}{10pt plus 2pt minus 4pt}
% Title page
% Background Credits: Muskan Jain
{
\setbeamertemplate{background}
{
\includegraphics[width=\paperwidth,height=\paperheight]{Images/IISER_Campus_BG.png}
}
\begin{frame}[plain]
\maketitle
\end{frame}
}
% Sections
\input{Sections/1_Introduction}
%\input{Sections/2_Section2}
%\input{Sections/3_Section3}
\input{Sections/4_Conclusion}
\input{Sections/5_Summing Up}
% Bibliography/References
\begin{frame}[allowframebreaks]
\frametitle{References}
\nocite{*}
\printbibliography
\end{frame}
% Appendix
\appendix
\input{Sections/6_Appendix}
\end{document}