Beamer。伯克利。如何向上移动右侧索引?

Beamer。伯克利。如何向上移动右侧索引?

我怎样才能在 Beamer 中向上移动正确的索引?

在此处输入图片描述

\documentclass[serif]{beamer}
\usetheme{Berkeley}
\usepackage[utf8]{inputenc}
\usepackage{mathpazo}

\makeatletter
\beamer@headheight=1.5\baselineskip

\newcommand\Fontvi{\fontsize{8}{10.2}\selectfont}

\title{}
\author{}
\date{\today}

\begin{document}

\logo{\color{blue!50}\scalebox{2}{unir}}

\frame
{
\begin{center}

\begin{figure}
    \centering
    \includegraphics[width=3cm]{UNIR-Logo.jpg}  
    \end{figure}

\textcolor[rgb]{0.00,0.50,1.00}{Universidad Internacional de La Rioja}\\
\vspace{0.32cm}

Trabajo fin de máster\\
\vspace{0.32cm}

\textcolor[rgb]{0.00,0.50,1.00}{One}\\
\vspace{0.32cm}

\Fontvi{
\begin{tabular}{|r|l|}
  \hline
  % after \\: \hline or \cline{col1-col2} \cline{col3-col4} ...
  Presentado por: & Xan \\
    \hline
 Fecha: & Marzo de 2.016 \\  
  \hline
\end{tabular}
}
\end{center}


}


\frame{\Fontvi{\tableofcontents}}

\section{Introducción}
\frame
{
Aquí estará el planteamiento del problema.
}
\subsection{Problema}
\frame
{
\frametitle{This is the second slide}
\framesubtitle{A bit more information about this}
}

\subsection{Justificación}
\frame
{
}

\subsection{Objetivos}
\frame
{
}

\section{Marco Teórico}
\frame
{
}

\subsection{Modelo Van Hiele}
\frame
{
}

\frame
{
}

\subsection{Modelo Vinner}
\frame
{
}

\subsection{Modelo Duval}
\frame
{
}

\subsection{Visualización y representación}
\frame
{
}

\subsection{Obstáculos a la enseñanza efectiva}
\frame
{
}

\section{Propuesta de Intervención}
\frame
{
}

\subsection{Actividad 1}
\frame
{
}

\subsection{Actividad 2}
\frame
{
}

\subsection{Actividad 3}
\frame
{
}

\subsection{Actividad 4}
\frame
{
}

\subsection{Actividad 5}
\frame
{
}

\section{Conclusiones}
\frame
{
}

\subsection{Conclusiones-Discusión}
\frame
{
}

\subsection{Limitaciones y prospectiva}
\frame
{
}


\end{document}

答案1

这些空格是留给标题和作者的。填写\title{}\author{},你就会看到。

如果你确实想忽略这些信息,定义最初位于beamerouterthemesidebar.sty第 129-155 行

  \defbeamertemplate*{sidebar \beamer@sidebarside}{sidebar theme}
  {
    \beamer@tempdim=\beamer@sidebarwidth%
    \advance\beamer@tempdim by -6pt%
    {\usebeamerfont{title in sidebar}%
      \vskip1.5em%
      \hskip3pt%
      \usebeamercolor[fg]{title in sidebar}%
      \insertshorttitle[width=\beamer@tempdim,center,respectlinebreaks]\par%
      \vskip1.25em%
    }%
    {%
      \hskip3pt%
      \usebeamercolor[fg]{author in sidebar}%
      \usebeamerfont{author in sidebar}%
      \insertshortauthor[width=\beamer@tempdim,center,respectlinebreaks]\par%
      \vskip1.25em%
    }%
    \insertverticalnavigation{\beamer@sidebarwidth}%
    \vfill
    \ifx\beamer@sidebarside\beamer@lefttext%
    \else%
      \usebeamercolor{normal text}%
      \llap{\usebeamertemplate***{navigation symbols}\hskip0.1cm}%
      \vskip2pt%
    \fi%
  }%

通过删除两个子组,可以得到

\defbeamertemplate*{sidebar \beamer@sidebarside}{sidebar theme revised}
  {
    \beamer@tempdim=\beamer@sidebarwidth%
    \advance\beamer@tempdim by -6pt%
    \insertverticalnavigation{\beamer@sidebarwidth}%
    \vfill
    \ifx\beamer@sidebarside\beamer@lefttext%
    \else%
      \usebeamercolor{normal text}%
      \llap{\usebeamertemplate***{navigation symbols}\hskip0.1cm}%
      \vskip2pt%
    \fi%
  }%

相关内容