Wie kann die Größe der Kopfzeile im Beamer reduziert werden?

Wie kann die Größe der Kopfzeile im Beamer reduziert werden?

Ich habe diesen Code:

\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}

ich möchte die Header-Größe reduzieren.

Bildbeschreibung hier eingeben

Antwort1

ich habe das hier verwendet:

\makeatletter
\setlength{\beamer@headheight}{1cm}
\makeatother

damit konnte ich die Größe reduzieren

Antwort2

Anstatt mit den internen Längen der Beamer herumzuspielen, kann man die Höhenoption einfach an das sidebaräußere Design übergeben, indem man \PassOptionsToPackage{height=1cm}{beamerouterthemesidebar}vor dem Laden des Designs Folgendes verwendet:

\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}

Bildbeschreibung hier eingeben

Off-Topic: Sie müssen das graphicxPaket nicht mit Beamer laden

verwandte Informationen