maria (imported from SE)
[![enter image description here][1]][1]

I want to add a slide number above the green line in footnote in latex e.g; 2 should appeared on same position above the green line

I want it like a picture attached and it should be above the green line.

[1]: https://i.stack.imgur.com/zZXJC.png

code is here:


\documentclass[10pt,xcolor=svgnames]{beamer}
%\documentclass{article}

%usepackage[english]{babel}
\usepackage{fancyhdr}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usepackage{tcolorbox}
\usepackage{geometry}
%\usepackage{graphicx}
%\usepackage[svgnames]{xcolor}
\usepackage{amssymb}
\colorlet{white}{white}
\mode<presentation>
%

%
%\usetheme{Dresden}
%\usecolortheme{beaver}
%\setbeamercolor{itemize item}{fg=darkred!80!white}
%
%\usetheme{Singapore}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\usepackage{BeamerColor}
%\usetheme[]{Szeged}
%\The new themes are Warsaw, Boadilla, AnnArbor,Rochester,Antibes,JuanLesPins,Berlin,rounded,crane
%\usetheme[]{Szeged}
%\usetheme{Pittsburgh}
%\usetheme{CambridgeUS}
%\usetheme[hoptionsi]{Berkeley}
%\usecolortheme[]{wolverine}
%\usetheme[]{Berkeley}
%\usetheme{dresden}
%\usefonttheme{structureitalicserif}
\usetheme{Antibes}
%\usecolortheme{crane}
%\usetheme[]{}
%\usecolortheme[named=OliveGreen]{structure}
%\usecolortheme[named=Brown]{structure}
%\usecolortheme[named=OliveGreen]{structure}
%\usecolortheme{wolverine}
%\usecolortheme{oily}
%\setbeamerfont{}{size={50cm}}
\setbeamertemplate{enumerate items}[default]
\setbeamertemplate{theorems}[ams style]
\usepackage{ragged2e}\justifying
\usepackage{amsmath,amssymb,amsthm}
\usepackage{epsf}
%\usepackage{graphics}
%\usepackage{graphicx}
\usepackage{color}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{cor}[theorem]{Corollary}
\newtheorem{Algorithm}[theorem]{Algorithm}
\newcommand{\R}{\mathbb{R}}
\newtheorem{remark}[theorem]{Remark}
%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newcommand{\Date}{3 october 2019}% change the date here
\newcommand{\companyName}{Company Name Here} % change company name here
\newcommand{\Speaker}{Speaker} %change speaker name with 'speaker'
\newcommand{\SpeakerTitle}{Speaker's Title} %change speaker title with "Speaker's Title"
\title[company name]
{\LARGE \textbf{company name}}

\subtitle{}

\author[ABCD]{\textcolor[rgb]{0.00,0.25,0.00}{ABCD}\\Supervised by Dr. ABCDE}

\institute[]
{\inst{}%
ABC Uni

}
%
\date[]{ }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\documentclass{beamer}
\useoutertheme{split}
\setbeamertemplate{footline}[page number]
\pagestyle{plain}
\thispagestyle{empty}

\pagestyle{fancy}
\fancyhf{}
\rfoot{\thepage}

\begin{document}

%\begin{frame}
%  \titlepage
%\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% FRAME 2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\bgroup
\usebackgroundtemplate{
\includegraphics[width=\paperwidth,height=\paperheight]{1.png}}
\begin{frame}
\tikz[remember picture, overlay] \fill[green] (current page.south west) rectangle ++(\paperwidth,0.27cm); %Draw green line at the bottom of the page

\begin{flushleft}
\hbox{\includegraphics[width=5cm]{2.png}}
\vspace{-0.8cm}
\newgeometry{textwidth = 5cm} % change it if you change the width of the logo
\begin{flushright}
\subcaptionbox{\textcolor{white}{A tagline for the company spans}}\\
\subcaptionbox{\textcolor{white}{two lines just under the logo.}} \\
\end{flushright}
\vspace{-0.7cm}
\newgeometry{textwidth = 5cm} % change it if you change the width of the logo
\begin{flushright}
\subcaptionbox{\textcolor{white}{\Date}}
\end{flushright}
\end{flushleft}

\restoregeometry
%\textcolor{white}{\text{A tagline for the company \\
%spans two lines just under the logo}}
%\vfill
\begin{columns}%beamer
\column{0.6\textwidth}
% blank
\column{0.6\textwidth}
\begin{flushleft}
\begin{tcolorbox}[standard jigsaw, opacityback = 0, top =2cm, left = 0 cm, colframe=white, width = 6.25 cm]
\end{tcolorbox}
\textcolor{white}{\Speaker, \SpeakerTitle}
\end{flushleft}

\end{columns}
%\section{1}
\end{frame}

\egroup
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% FRAME 3 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}
\tikz[remember picture, overlay] \fill[green] (current page.south west) rectangle ++(\paperwidth,0.27cm); %Draw green line at the bottom of the page

\section{Open Ball, Closed Ball, Sphere}\label{1114}
\begin{flushleft}
\vbox{
\begin{minipage}[t][0.025\textheight][t]{\textwidth}
\tiny{\companyName $|$ \Date}
\end{minipage}\\

\begin{minipage}[b][0.2\textheight][b]{0.95\textwidth}
\begin{tcolorbox}[standard jigsaw, opacityback = 0, top =0.5cm, bottom = 0.5cm, left = 0 cm, colframe=black]
\textbf{CLICK TO ADD TITLE} %Edit this if you just want to change the text, else if you want to remove complete box then delete the block of "tcolorbox" and start writting required text
\end{tcolorbox}
\end{minipage}\\

\begin{minipage}[t][0.5\textheight][t]{0.95\textwidth}
\begin{tcolorbox}[standard jigsaw, opacityback = 0, bottom =2in , left = 0 cm, colframe=black]
\textbf{CLICK TO ADD TITLE} %Edit this if you just want to change the text, else if you want to remove complete box then delete the block of "tcolorbox" and start writting required text
\end{tcolorbox}
\end{minipage}
\begin{picture}(25, 30)(-293, -215)
\includegraphics[scale=0.5]{3.png}
\end{picture}
}
\end{flushleft}

\end{frame}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% FRAME 4 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\bgroup
\usebackgroundtemplate{%
\includegraphics[width=\paperwidth,height=\paperheight]{1.png}}
\begin{frame}
\tikz[remember picture, overlay] \fill[green] (current page.south west) rectangle ++(\paperwidth,0.27cm); %Draw green line at the bottom of the page
\begin{flushleft}
\hbox{\includegraphics[width=5cm]{2.png}}
\vspace{-1cm}
\newgeometry{textwidth = 5cm} % change it if you change the width of the logo
\begin{flushright}
\subcaptionbox{\textcolor{white}{A tagline for the company spans}}\\
\subcaptionbox{\textcolor{white}{two lines just under the logo.}} \\
\end{flushright}
\vspace{-0.6cm}
\newgeometry{textwidth = 5cm} % change it if you change the width of the logo
\begin{flushright}
\subcaptionbox{\textcolor{white}{\Date}}
\end{flushright}
\end{flushleft}
\restoregeometry

%\textcolor{white}{\text{A tagline for the company \\
%spams two lines just under the logo}}
%\vfill
\begin{columns}%beamer
\column{0.55\textwidth}
% blank
\column{0.55\textwidth}
\begin{flushleft}
\vspace{0.9cm}
\textcolor{white}{\textbf{QUESTIONS?}}\\
\vspace{0.2cm}
\textcolor{white}{\Speaker, \SpeakerTitle}
\end{flushleft}

\end{columns}
%	\section{1}
\thispagestyle{empty}

\end{frame}
\egroup

\end{document}


samcarter
Instead of adding reoccurring elements manually to each frame, one can adjust the appropriate beamer templates.

The footline template is a good place for adding the framenumber and the green line:


\documentclass{beamer}

\setbeamertemplate{footline}{%

\vskip0.1cm
\color{green}\rule{\paperwidth}{0.27cm}%
}

\begin{document}

\begin{frame}
test
\end{frame}

\end{document}


- don't use the fancyhdr package with beamer. This will interfere with beamer's own mechanism to add footline and headers.
- you don't need \usepackage{geometry}, \usepackage{graphicx}, \usepackage{graphics}, \usepackage[svgnames]{xcolor}, \usepackage{amsmath,amssymb,amsthm} with beamer, beamer already loads these
- using \justifying will do nothing
- don't use formatting instructions inside macros. Instead of writing \title[company name]{\LARGE \textbf{company name}} adjust the respective beamer templates, e.g. \setbeamerfont{title}{size=\LARGE,series=\bfseries}
- it is usually a bad idea to play around with \newgeometry in beamer. In the best case it will do nothing, in the worst case it will destroy the layout because various lengths are not recalculated correctly
- you must not use \subcaptionbox{} outside floats (and the necessary package is also not loaded)
- you can't place two columns of .6\textwidth each besides each other, there is not enough room and they will invade the margins