我正在 TexStudio 中使用 Ilmenau beamer 主题进行演示,我想要一些点来指定我在演示中的位置,但我不需要子部分标题(标题位于标题框的顶部,保持空白)。我只想有顶部标题和两个页脚。有人知道吗?
以下是我目前的代码
\documentclass[aspectratio=1610]{beamer}
\usepackage[utf8]{inputenc}
\usefonttheme[onlymath]{serif}
\usepackage{siunitx}
\definecolor{ATLAS}{HTML}{0B80C3}
\usetheme[compress]{Ilmenau}
\usecolortheme{default}
\setbeamertemplate{page number in head/foot}[framenumber]
\setbeamertemplate{navigation symbols}{}
\setbeamercolor{title}{fg=white, bg=ATLAS}
\setbeamercolor{structure}{fg=ATLAS, bg=ATLAS}
\setbeamercolor{block title}{fg=white, bg=ATLAS}
\begin{document}
...
\end{document}
答案1
您可以使用\beamer@theme@subsectionfalse
关闭子部分栏:
\documentclass[aspectratio=1610]{beamer}
\usepackage[utf8]{inputenc}
\usefonttheme[onlymath]{serif}
\usepackage{siunitx}
\definecolor{ATLAS}{HTML}{0B80C3}
\usetheme[compress]{Ilmenau}
\makeatletter
\beamer@theme@subsectionfalse
\makeatother
\usecolortheme{default}
\setbeamertemplate{page number in head/foot}[framenumber]
\setbeamertemplate{navigation symbols}{}
\setbeamercolor{title}{fg=white, bg=ATLAS}
\setbeamercolor{structure}{fg=ATLAS, bg=ATLAS}
\setbeamercolor{block title}{fg=white, bg=ATLAS}
\begin{document}
\section{title}
\begin{frame}
\frametitle{title}
test
\end{frame}
\end{document}