如果我footnote
在标题页中使用,脚注行中的名称也会得到脚注符号。如何避免后者?
\documentclass[xcolor=dvipsnames]{beamer}
\makeatletter
\mode<presentation>
{
\usetheme{Berlin}
\usecolortheme{crane}
\usefonttheme{serif}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{caption}[numbered]
\setbeamertemplate{theorems}[numbered]
\setbeamertemplate{footline}
{
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
\usebeamerfont{author in head/foot}\insertshortauthor
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}%
\usebeamerfont{title in head/foot}\insertshorttitle
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
\usebeamerfont{date in head/foot}
\insertframenumber{}% / \inserttotalframenumber
\hspace*{2ex}
\end{beamercolorbox}}%
\vskip0pt%
}%
}
\makeatother
\renewcommand*{\thefootnote}{\fnsymbol{footnote}}
\usepackage[english]{babel}
\usepackage[utf8x]{inputenc}
\title[Topic short]{Topic long}
\author{Name\footnote{thank you for funding me}}
\AtBeginSection[]
{
\begin{frame}<beamer>
\frametitle{Outline}
\tableofcontents[currentsection,currentsubsection]
\end{frame}
}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\end{document}
答案1
您可以\thanks
在标题和名称等中使用命令代替脚注。还添加了一种从这里更改致谢符号的方法:
https://latex.org/forum/viewtopic.php?t=16568
(@Stefan 的回答)
\documentclass[xcolor=dvipsnames]{beamer}
\makeatletter
\mode<presentation>
{
\usetheme{Berlin}
\usecolortheme{crane}
\usefonttheme{serif}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{caption}[numbered]
\setbeamertemplate{theorems}[numbered]
\setbeamertemplate{footline}
{
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
\usebeamerfont{author in head/foot}\insertshortauthor
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}%
\usebeamerfont{title in head/foot}\insertshorttitle
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
\usebeamerfont{date in head/foot}
\insertframenumber{}% / \inserttotalframenumber
\hspace*{2ex}
\end{beamercolorbox}}%
\vskip0pt%
}%
}
\makeatother
\usepackage[english]{babel}
\usepackage[utf8x]{inputenc}
\title[Topic short]{Topic long\thanks{test}}
\author{Name\thanks{thank you for funding me}}%Here is the problem fix
\renewcommand*{\thefootnote}{\fnsymbol{footnote}}
%Add in case you want other symblo
%\makeatletter
%\renewcommand*{\@fnsymbol}[1]{\ensuremath{\ifcase#1\or *\or \dagger\or \ddagger%\or
% \mathsection\or \mathparagraph\or \|\or **\or \dagger\dagger
% \or \ddagger\ddagger \else\@ctrerr\fi}}
%\makeatother
\AtBeginSection[]
{
\begin{frame}<beamer>
\frametitle{Outline}
\tableofcontents[currentsection,currentsubsection]
\end{frame}
}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\end{document}
已编辑:您需要删除 \thefootnote 上的更改。第二次运行后发现
答案2
您可以使用简短的作者\author[short version for footline]{long version for title page}
\documentclass[xcolor=dvipsnames]{beamer}
\makeatletter
\mode<presentation>
{
\usetheme{Berlin}
\usecolortheme{crane}
\usefonttheme{serif}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{caption}[numbered]
\setbeamertemplate{theorems}[numbered]
\setbeamertemplate{footline}
{
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
\usebeamerfont{author in head/foot}\insertshortauthor
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}%
\usebeamerfont{title in head/foot}\insertshorttitle
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
\usebeamerfont{date in head/foot}
\insertframenumber{}% / \inserttotalframenumber
\hspace*{2ex}
\end{beamercolorbox}}%
\vskip0pt%
}%
}
\makeatother
\renewcommand*{\thefootnote}{\fnsymbol{footnote}}
\usepackage[english]{babel}
\usepackage[utf8x]{inputenc}
\title[Topic short]{Topic long}
\author[Name]{Name\footnote{thank you for funding me}}
\AtBeginSection[]
{
\begin{frame}<beamer>
\frametitle{Outline}
\tableofcontents[currentsection,currentsubsection]
\end{frame}
}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\end{document}