I've got few questions:
– First, I want to remove the school name from the footer and instead need the abbreviation (like for Massachusetts Institute of Technology, need MIT) within parenthesis next to my name.
– Next, as the second item of the footer, the slide heading, for eg. Outline, Introduction etc.
– Lastly, as the third item, conference name and the institutions logo.
I appreciate your help. Thank you.
\documentclass{beamer}
\mode<presentation>
{
\usetheme{Madrid} % or try default, Darmstadt, Warsaw, ...
\usecolortheme{default} % or try albatross, beaver, crane, ...
\usefonttheme{serif} % or try default, structurebold, ...
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{caption}[numbered]
}
\usepackage[english]{babel}
\usepackage[utf8x]{inputenc}
\usepackage{chemfig}
\usepackage[version=3]{mhchem}
\usepackage{pgfpages}
\pgfpagesuselayout{resize to}[%
physical paper width=8in, physical paper height=6in]
\title[Molecules in \LaTeX{}]{A short presentation on molecules in \LaTeX{}}
\author{J. Hammersley}
\institute{www.overleaf.com}
\date{\today}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\end{document}
Best Answer
If you specify the institution as
\institute[MIT]{Massachusetts Institute of Technology}
then you will get what you want.
To achieve this you need to redefine the footline template that beamer is using. If you look inside
beamerthemeMadrid.sty
you see that the Madrid theme uses\useoutertheme{infolines}
. Looking atbeamerouterthemeinfolines.sty
you can have the same look and feel as the Madrid theme but with what you want in the different slots by using:All that I have done compared with the
beamerouterthemeinfolines.sty
is to add the lineso that the title page (ie. when
\thepage
is equal to 1) uses the short title and the other pages use the frame title. Of course, if you don't give a frame title, using\frametitle{...}
, this will cause problems.Secondly, the lines
add the conference name, which you will need to specify, antogether with a "fake" logo, which I have forced into the right place using
\raisebox
. To specify the conference, use\conference{<Conference name>}
and replace theexample-image
with an image for your logo.With this in place the minimal working example below produces:
and here is the code: