![如何減小投影機中標題的大小?](https://rvso.com/image/390910/%E5%A6%82%E4%BD%95%E6%B8%9B%E5%B0%8F%E6%8A%95%E5%BD%B1%E6%A9%9F%E4%B8%AD%E6%A8%99%E9%A1%8C%E7%9A%84%E5%A4%A7%E5%B0%8F%EF%BC%9F.png)
我有這個代碼:
\documentclass{beamer}
\mode<presentation> {
\usetheme{PaloAlto}
%\setbeamertemplate{footline} % To remove the footer line in all slides uncomment this line
%\setbeamertemplate{footline}[page number] % To replace the footer line in all slides with a simple slide count uncomment this line
%\setbeamertemplate{navigation symbols}{} % To remove the navigation symbols from the bottom of all slides uncomment this line
}
\usepackage{graphicx} % Allows including images
\usepackage{booktabs} % Allows the use of \toprule, \midrule and \bottomrule in tables
%----------------------------------------------------------------------------------------
% TITLE PAGE
%----------------------------------------------------------------------------------------
\title[Managerial Economics]{VW Invasion of North America} % The short title appears at the bottom of every slide, the full title is only on the title page
\institute[FDSM] % Your institution as it will appear on the bottom of every slide, may be shorthand to save space
{
\textit{Fudan Business} \\\textit{School of Management} \\ % Your institution for the title page
\medskip
%\textit{[email protected]} % Your email address
}
\date{\today} % Date, can be changed to a custom date
\begin{document}
\section{Section 1}
\begin{frame}
\frametitle{Section 1}
\end{frame}
\end{document}
我想減小標題大小。
答案1
我用這個:
\makeatletter
\setlength{\beamer@headheight}{1cm}
\makeatother
這樣我就可以縮小尺寸
答案2
您可以在載入主題之前簡單地將高度選項傳遞給sidebar
外部主題,而不是弄亂投影機的內部長度:\PassOptionsToPackage{height=1cm}{beamerouterthemesidebar}
\documentclass{beamer}
\PassOptionsToPackage{height=1cm}{beamerouterthemesidebar}
\mode<presentation> {
\usetheme{PaloAlto}
%\setbeamertemplate{footline} % To remove the footer line in all slides uncomment this line
%\setbeamertemplate{footline}[page number] % To replace the footer line in all slides with a simple slide count uncomment this line
%\setbeamertemplate{navigation symbols}{} % To remove the navigation symbols from the bottom of all slides uncomment this line
}
%\usepackage{graphicx} % Allows including images
\usepackage{booktabs} % Allows the use of \toprule, \midrule and \bottomrule in tables
%----------------------------------------------------------------------------------------
% TITLE PAGE
%----------------------------------------------------------------------------------------
\title[Managerial Economics]{VW Invasion of North America} % The short title appears at the bottom of every slide, the full title is only on the title page
\institute[FDSM] % Your institution as it will appear on the bottom of every slide, may be shorthand to save space
{
\textit{Fudan Business} \\\textit{School of Management} \\ % Your institution for the title page
\medskip
%\textit{[email protected]} % Your email address
}
\date{\today} % Date, can be changed to a custom date
\begin{document}
\section{Section 1}
\begin{frame}
\frametitle{Section 1}
\end{frame}
\end{document}
題外話:不需要graphicx
用beamer加載包