%%%%%%%%%%%%%%%%%%%%%%%%
%This tempelate is provided by Abdorrahman Mehri Ghahfarrokhi, petroleum university of technology, department of energy economics.
%email address: amehri.ghahfarrokhi@gmail.com
%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass [xcolor=svgnames, t] {beamer}
\usepackage[utf8]{inputenc}
\usepackage{booktabs, comment}
\usepackage[absolute, overlay]{textpos}
\usepackage{pgfpages}
\usepackage[font=footnotesize]{caption}
\useoutertheme{infolines}
\definecolor{red}{RGB}{250,0,75}
\setbeamercolor{title in head/foot}{bg=red, fg=white}
\setbeamercolor{author in head/foot}{bg=myuniversity}
\setbeamertemplate{page number in head/foot}{}
\usepackage{csquotes}
\usepackage{amsmath}
\usepackage[makeroom]{cancel}
\usepackage{textpos}
\usepackage{tikz}
\usetheme{Madrid}
\definecolor{myuniversity}{RGB}{0, 85, 150}
\usecolortheme[named=myuniversity]{structure}
\usepackage{tikz}
\title[downtitle]{write main title here}
\subtitle{write subtitle here or deactive line}
\institute[]{Department of .....\\write faculty name \\Petroleum Univrsity of Technology}
\titlegraphic{\includegraphics[height=1.95cm]{logo/PUT_logo.jpg}}
\author[downauthor]{
First Author\\%, 2nd Author , 3rd Author ,...
%ID: 40103509\\
% }
%{
\small{Instructor:}\\
instructor
}
\date{\today}
%\date{November 15, 2023}
\addtobeamertemplate{navigation symbols}{}{%
\usebeamerfont{footline}%
\usebeamercolor[fg]{footline}%
\hspace{1em}%
\insertframenumber/\inserttotalframenumber
}
\begin{document}
\begin{frame}
\maketitle
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\logo{\includegraphics[scale=0.1]{logo/PUTlogosmall.jpg}}
%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}
\frametitle{Table of Contents}
\tableofcontents
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{section 1}
\begin{frame}{section 1}
write sth....
\begin{itemize}
\item aaaaaaa
\item bbbbbbb
\item ccccccc
\item ddddddd
%if needed add items
\end{itemize}
\end{frame}
\begin{frame}{section 1}
sentences
\begin{itemize}
\item eeeeeeeeeeeeee
\item ffffffffffffffff
%%%%%%% %if needed add items%%%%%%%%%
\end{itemize}
%\cite{add ref}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{section 2}
\begin{frame}{section 2}
sentenc........
\begin{itemize}
\item ggggggggggg
\item hhhhhhhhhhhhhh
%%%%%%if needed add items%%%%%%%%
\end{itemize}
%\cite{add ref}
\end{frame}
%%%%%%%%if needed add frame to section%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Figures}
\begin{frame}{Figures}
\begin{figure}
\includegraphics[trim=0cm 0cm 0cm 0cm,clip,width=1\textwidth]{figures/petro.jpg}
\caption{caption....} \label{figure1}
\end{figure}
%\cite{add ref}
\end{frame}
%%%%%%%if needed add more figures%%%%%%%
%%%%%% if needed add more sections with your needed frames%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame} [allowframebreaks]\frametitle{References}
\bibliographystyle{apalike}
\bibliography{bibfile}
\end{frame}
\end{document}