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}