我希望页脚不出现在标题页中。
有了这个:
\defbeamertemplate{footline}{comein}{%
\ifnum \insertframenumber=1
\else
\begin{beamercolorbox}[wd=\textwidth,ht=0.5cm]{white}
\usebeamerfont{footline}\comein@footline
\end{beamercolorbox}
\fi
}
脚注线保持为空/空白,但仍然是页面布局的一部分。
图片中:
如果我根本不定义页脚,则标题页看起来会像这样:
但如果我确实定义了一条脚线,它看起来是这样的:
谁能帮我将页脚线从标题页中彻底删除,或者可以为我提供对标题页定义所需的更改,以获得带有页脚线定义的相同标题页?
扉页定义:
\defbeamertemplate*{title page}{comein}{%
\vspace{-1.2ex}
\makebox[\linewidth][c]{%
\begin{minipage}{\dimexpr\textwidth+\rand\relax}
\begin{tcolorbox}[
enhanced,
width=\textwidth,
height=\textheight * 2 / 3 - \rand,
arc=0mm,
boxrule=0mm,
/tcb/size=minimal,
watermark graphics=graphics/title.jpg, watermark stretch=1]%
\vspace{2.0cm}
\hfill
\hfill \pgfuseimage{comein_logo_titelseite}
\end{tcolorbox}
\begin{tcbraster}[raster columns=2,raster force size=false,raster column skip=0cm]
\begin{tcolorbox}[
width=.8\textwidth,
height=\textheight * 1 / 3 - \rand,
/tcb/size=small,
arc=0mm,
boxrule=0mm,
colback=col1]%
\vspace{0.1cm}
\begin{spacing}{0.8}
\parbox{0.96\textwidth}{\usebeamerfont{title}\usebeamercolor[fg]{title}\inserttitle}\newline
\end{spacing}
\vspace{1ex}
\usebeamerfont{topic}\usebeamercolor[fg]{topic}\inserttopic \newline
\vfill
\usebeamerfont{author}\insertauthor \usebeamerfont{square}$\text{ }\blacksquare$ \usebeamerfont{date}\insertdate%
\end{tcolorbox}
\begin{tcolorbox}[
width=.2\textwidth,
height=\textheight * 1 / 3 - \rand,
/tcb/size=small,
arc=0mm,
boxrule=0mm,
colback=white]%
\begin{center}
\pgfuseimage{bmbf_logo}\\
\pgfuseimage{chair_logo}\\
\insertlicense
\end{center}
\end{tcolorbox}
\end{tcbraster}
\end{minipage}%
}%
\begin{textblock*}{0.5\textwidth}[0,0](\doppelrand, \doppelrand)
\ifx\insertslidesurl\empty
\else
\usebeamercolor[white]{frametitle}
\textcolor{white}{\qrcode[height=1cm]{\insertslidesurl}}
\fi
\end{textblock*}
}
提前谢谢你!Tristan
答案1
您可以使用plain
框架选项作为标题框架。
为了确保这在你的主题中自动发生,你可以使用类似
\documentclass{beamer}
\setbeamertemplate{footline}{
\begin{beamercolorbox}[wd=\textwidth,ht=0.5cm]{white}
\usebeamerfont{footline}footline
\end{beamercolorbox}
}
\makeatletter
\def\ps@navigation@titlepage{%
\@nameuse{ps@empty}
}
\addtobeamertemplate{title page}{\thispagestyle{navigation@titlepage}}{}
\makeatother
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\begin{frame}
content...
\end{frame}
\end{document}