这个主题不错,但是我想把行调小一点,如何编辑。谢谢
\documentclass[14pt]{beamer}
\usepackage[space,noindent]{ctex}
\usetheme{Berkeley}
\setbeamercolor{normal text}{bg=black!10}
\begin{document}
\kaishu
\title[aaa]{aaa}
\subtitle{aaa}
\author{aaa}
\institute[aaa]{aaa}
\date[aaa]{aaa}
\logo{\includegraphics{TeXlogo.pdf}} % you can % it
\begin{frame}
\titlepage
\end{frame}
\section{aaa}
\subsection{aaa}
\begin{frame}
\frametitle{aaa}
\framesubtitle{aaa}
aaa 1、2、3...
\end{frame}
...
\begin{frame}
aaa...
\end{frame}
...
\section{aaa}
\subsection{aaa}
\begin{frame}
...
\end{frame}
\end{document}
答案1
通过相应调整来设置序言中标题的高度\beamer@headheight
:
\documentclass[14pt]{beamer}% http://ctan.org/pkg/beamer
\let\Tiny\tiny% http://tex.stackexchange.com/q/58087/5764
\usetheme{Berkeley}
\makeatletter
\beamer@headheight=1.5\baselineskip
\makeatother
\setbeamercolor{normal text}{bg=black!10}
\begin{document}
\title[Title]{My title}
\subtitle{Subtitle}
\author{Author}
\institute[Institute]{My institute}
\date[Date]{My date}
\logo{\color{blue!50}\scalebox{2}{\TeX}} % you can % it
\begin{frame}
\titlepage
\end{frame}
\section{A section}
\subsection{A subsection}
\begin{frame}
\frametitle{Frame title}
\framesubtitle{frame subtitle}
Some text
\end{frame}
\begin{frame}
Some more text
\end{frame}
\section{Another section}
\subsection{Another subsection}
\begin{frame}
Some final text
\end{frame}
\end{document}
默认值为2.5\baselineskip
,即在您选择的 14pt 基础字体下产生 62.5pt(2.5 x 25pt)。
答案2
不要弄乱 Beamer 的内部长度,只需\PassOptionsToPackage{height=1.5cm}{beamerouterthemesidebar}
在主题加载之前将高度选项传递给侧边栏外部主题即可:
\documentclass[14pt]{beamer}
%\usepackage[space,noindent]{ctex}
\PassOptionsToPackage{height=1.5cm}{beamerouterthemesidebar}
\usetheme{Berkeley}
\setbeamercolor{normal text}{bg=black!10}
\begin{document}
%\kaishu
\title[aaa]{aaa}
\subtitle{aaa}
\author{aaa}
\institute[aaa]{aaa}
\date[aaa]{aaa}
\logo{\includegraphics[width=1cm]{example-image}} % you can % it
\begin{frame}
\titlepage
\end{frame}
\section{aaa}
\subsection{aaa}
\begin{frame}
\frametitle{aaa}
\framesubtitle{aaa}
aaa 123...
\end{frame}
...
\begin{frame}
aaa...
\end{frame}
...
\section{aaa}
\subsection{aaa}
\begin{frame}
...
\end{frame}
\end{document}