![删除标题投影仪默认主题中的子部分](https://linux22.com/image/411087/%E5%88%A0%E9%99%A4%E6%A0%87%E9%A2%98%E6%8A%95%E5%BD%B1%E4%BB%AA%E9%BB%98%E8%AE%A4%E4%B8%BB%E9%A2%98%E4%B8%AD%E7%9A%84%E5%AD%90%E9%83%A8%E5%88%86.png)
我正在尝试基于 beamer 默认主题制作一个简单的模板。我对标题有以下目标:
- 只对部分内容使用进度项目符号
- 文本:章节、框架标题
- 优化空间(例如删除任何多余的行跳过)
我无法定义\setbeamertemplate{headline}
符合这些条件的标题模板。我使用的是 emacs+auctex+texlive2019。这是我的代码:
\documentclass{beamer}
\usepackage[french,english]{babel}
\usepackage[latin1]{inputenc}
\usepackage{tikz}
\usetikzlibrary{shapes.multipart}
\usepackage{graphicx}
\graphicspath{
{"../template_gipsa/images/"}
{"../template_gipsa/images/}
{"./images/"}
{"./images/}
}
\usepackage[backend=biber,style=numeric-comp,sorting=none]{biblatex}
\addbibresource{biblio.bib}
\AtEveryCitekey{\clearfield{url} \clearfield{note}}
\setbeamerfont{footnote}{size=\tiny}
%%% template
\usetheme{default}
\usecolortheme{default}
\usefonttheme{default}
\beamertemplatenavigationsymbolsempty
\setbeamerfont{frametitle}{family=\rm}
\setbeamerfont{title}{family=\rm}
\useoutertheme{miniframes}
\AtBeginSection[]{\section{}}
\setbeamertemplate{frametitle}{
\hbox{
\begin{beamercolorbox}[wd=\paperwidth,ht=2.5ex,dp=0pt]{}
\hspace*{0.em}\vspace{12pt}
\insertframetitle
\end{beamercolorbox}
}
}
\defbeamertemplate{title page}{customized}[1][]
{
\usebeamerfont{title}\inserttitle\par
\bigskip
\usebeamerfont{author}\insertauthor\par
\usebeamerfont{date}\insertdate\par
\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic
}
\AtBeginSection{
\begin{frame}
\frametitle{Sommaire}
\tableofcontents[currentsection,hideothersubsections]
\end{frame}
}
\AtBeginSubsection[]{
\begin{frame}{Sommaire}
\small \tableofcontents[currentsubsection]
\end{frame}
}
\setbeamertemplate{footline}
{
\leavevmode
\hbox{
\begin{beamercolorbox}[wd=.4\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}
\end{beamercolorbox}
\begin{beamercolorbox}[wd=.43\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}
\end{beamercolorbox}
\begin{beamercolorbox}[wd=.15\paperwidth,ht=2.25ex,dp=1ex,right]{title in head/foot}
\insertframenumber{} / \inserttotalframenumber\hspace*{1ex}
\end{beamercolorbox}}
\vskip0pt
}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\section{Section}
\subsection{subsection}
\begin{frame}
\frametitle{Title}
blaa
\end{frame}