Document Classesbeamer | Customization of Footers

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
paulosousa
Posts: 90
Joined: Sun Jun 24, 2012 8:48 pm

beamer | Customization of Footers

Post by paulosousa »

Hi all,

I am trying to make a presentation but I have some problems at the bottom of slides
1st part (name and university is ok)
2nd part I want only the title
3rd part I want only the slide numeration .../...

how can I correct to get it ?

Code: Select all

\documentclass[11pt, compress]{beamer}
\usepackage{beamerthemeshadow}
\usepackage[portuguese]{babel}
\usepackage[applemac]{inputenc}
\usepackage{amsmath,amssymb,amsfonts,textcomp,setspace,graphicx,lipsum,hanging}
\usepackage[bottom]{footmisc}
\usepackage[none]{hyphenat}

\usetheme{CambridgeUS}
\usecolortheme{dove}

\expandafter\def\expandafter\insertshorttitle\expandafter{%
  \insertshorttitle\hfill%
  \insertframenumber\,/\,\inserttotalframenumber}
  
  
 \setbeamertemplate{footnote}{%
 \hangpara{0.25cm}{1}%
 \makebox[0.25cm][l]{\insertfootnotemark}\footnotesize\insertfootnotetext\par%
}

\renewcommand*{\footnoterule}{}

\title{TITLE}
\subtitle{SUBTITLE}
\author{Paulo Sousa}
\institute {Oporto University}
\date{\footnotesize{january 2013}}

\begin{document}
\setbeamertemplate{caption}[numbered]
\frame{\titlepage}
\frame{\tableofcontents}

\section{Introdução}
\begin{frame}
\frametitle{Introdução}
Descrever sucintamente o que perguntas no inquérito? \\ Descrever o público alvo
\begin{itemize}
\item turma I de 11.º ano com 27 alunos
\item ...
\end{itemize}
\end{frame}


\section{Referências Bibliográficas}
\begin{frame}
\frametitle{Referências Bibliográficas}
\begin{thebibliography}{6}
\bibitem{ref1} AUTOR (ano) {\em título} ...
\bibitem{ref2} AUTOR (ano) {\em título} ...
\bibitem{ref3} AUTOR (ano) {\em título} ...
\end{thebibliography}
\end{frame}

\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

beamer | Customization of Footers

Post by Stefan Kottwitz »

Hi,

remove those lines, which the numeration to the title in the middle:

Code: Select all

\expandafter\def\expandafter\insertshorttitle\expandafter{%
  \insertshorttitle\hfill%
  \insertframenumber\,/\,\inserttotalframenumber}
And disable \insertshortdate:

Code: Select all

\let\insertshortdate\empty
Stefan
LaTeX.org admin
paulosousa
Posts: 90
Joined: Sun Jun 24, 2012 8:48 pm

Re: beamer | Customization of Footers

Post by paulosousa »

Hi Stefan, thanks a lot once again for your great help
and what I must do to put in the 3rd part the subtitle and the slide numeration?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

beamer | Customization of Footers

Post by Stefan Kottwitz »

A quick trick:

Code: Select all

\let\insertshortdate\insertshortsubtitle
replaces the date, which is originally in the 3rd part, by the subtitle.
You could also redesign that part of the theme. Now it's just patching a different theme.

Stefan
LaTeX.org admin
paulosousa
Posts: 90
Joined: Sun Jun 24, 2012 8:48 pm

Re: beamer | Customization of Footers

Post by paulosousa »

perfect Stefan
I am a teacher but always learning with you, thanks a lot once again

Paulo
Post Reply