Document ClassesFootnote inside Title Block of Presentation

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

Footnote inside Title Block of Presentation

Post by paulosousa »

Hello,

I need to insert a footnote inside a beamer title block but it does not appear. Does anyone could help me, please?

Code: Select all

\documentclass[11pt,compress,spanish]{beamer}
\usepackage{beamerthemeshadow}
\usepackage[spanish]{babel}
\usepackage[applemac]{inputenc}
\usepackage{amsmath,amssymb,amsfonts,textcomp,setspace,graphicx,lipsum,hanging,url,hyperref,textpos,multirow, array,parskip}
\usepackage[bottom]{footmisc}
\usepackage[none]{hyphenat}
\usepackage{ragged2e}
\justifying
  
\usetheme{Warsaw}
\usecolortheme[named=purple]{structure}

\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}{}

\addtobeamertemplate{footnote}{\vspace{-6pt}\advance\hsize-0.5cm}{\vspace{6pt}}
\makeatletter
% Alternative A: footnote rule
\renewcommand*{\footnoterule}{\kern -3pt \hrule \@width 2in \kern 8.6pt}
% Alternative B: no footnote rule
% \renewcommand*{\footnoterule}{\kern 6pt}
\makeatother

\setbeamertemplate{footnote}{%
  \hangpara{2em}{1}%
  \makebox[2em][l]{\insertfootnotemark}\footnotesize\insertfootnotetext\par%
}

\AtBeginSection[]
{
\begin{frame}<beamer>{Conteúdo}
\tableofcontents[currentsection,currentsubsection, 
    hideothersubsections, 
    sectionstyle=show/shaded,
]
\end{frame}
}

\def\thefootnote{\arabic{footnote}}
\renewcommand\thempfootnote{\arabic{mpfootnote}} 


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

\begin{frame}[shrink]{Conteúdo}
\scriptsize \tableofcontents
\end{frame}

\begin{frame}
\frametitle{\textbf{Teste estatístico}} 
\begin{block}{\textbf{Teste de \textit{McNemar}}\footnotemark}
\begin{center}
\scriptsize
\begin{tabular}{|c|c|c|c|}
\hline 
 & $Q1.1_{diag} \& Q1.1_{final}$ & $Q2.1_{diag} \& Q2.1_{final}$ & $Q2.2_{diag} \& Q2.2_{final}$  \\ 
\hline 
\hline 
valor $p$ & \textbf{(a)} & \textcolor{red}{\textbf{(b)}} & \textbf{(a)} \\ 
\hline 
\end{tabular} 
\end{center}
\vspace{0.25cm}
\scriptsize
\hspace{0.24cm} \textbf{(a)} $p<0.05$ $\longrightarrow$ há diferenças significativas \\
\hspace{0.24cm} \textcolor{red}{\textbf{(b)}} $p > 0.05$ $\longrightarrow$ não há diferenças significativas
\end{block}
\footnotetext{(Marôco, 2011: 164 - 170)}
\end{frame}
\end{document}
Last edited by paulosousa on Sat May 18, 2013 7:17 pm, edited 3 times in total.

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

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Footnote inside Title Block of Presentation

Post by Johannes_B »

I bet someone told you to always prepare a proper Minimal Working Example. Why are there pictures and a title in your example. They have nothing to do with your problem.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
paulosousa
Posts: 90
Joined: Sun Jun 24, 2012 8:48 pm

Re: Footnote inside Title Block of Presentation

Post by paulosousa »

Could anyone, please, help me?
Post Reply