我们如何在其中添加部分、子项、子项非数字\usetheme{Antibes}
?
我们知道,在 中\usetheme{Antibes}
,章节、小节、小小节都是按名称列出的。
我们如何添加章节编号、章节标题/小节无编号/小节无编号小节标题,而不仅仅是它们的标题。
例如:
我们不想
Introduction
history
good
但想要
1. Introduction
1.1 history
1.1.1 good
答案1
\documentclass{beamer}
\usetheme{Antibes}
\setbeamertemplate{headline}
{%
\begin{beamercolorbox}[wd=\paperwidth,ht=2.125ex,dp=1.125ex,leftskip=.3cm,rightskip=.3cm plus1fil]{title in head/foot}
\usebeamerfont{title in head/foot}\insertshorttitle
\end{beamercolorbox}
\begin{beamercolorbox}[wd=\paperwidth,ht=2.125ex,dp=1.125ex,leftskip=.3cm,rightskip=.3cm plus1fil]{section in head/foot}
\usebeamerfont{section in head/foot}%
\hskip6pt \thesection\ \insertsectionhead
\end{beamercolorbox}
\begin{beamercolorbox}[wd=\paperwidth,ht=2.125ex,dp=1.125ex,leftskip=.3cm,rightskip=.3cm plus1fil]{subsection in head/foot}
\usebeamerfont{subsection in head/foot}%
\hskip12pt \thesection.\thesubsection\ \insertsubsectionhead
\end{beamercolorbox}
\begin{beamercolorbox}[wd=\paperwidth,ht=2.125ex,dp=1.125ex,leftskip=.3cm,rightskip=.3cm plus1fil]{section in head/foot}
\usebeamerfont{subsubsection in head/foot}%
\hskip18pt \thesection.\thesubsection.\thesubsubsection\ \insertsubsubsectionhead
\end{beamercolorbox}
}
\title{test}
\begin{document}
\section{blub}
\subsection{Propiedades Elctricas}
\subsubsection{Anlisis de Impedancia}
\begin{frame}{frametitle}{framesubtitle}
Hola
\end{frame}
\end{document}