相对于框架内容,超链接按钮位于第二层

相对于框架内容,超链接按钮位于第二层

在下面的框架中,带有超链接按钮的脚注与两幅图像重叠:

在此处输入图片描述

有没有办法在序言中声明超链接的脚注位于相对于每张幻灯片上的内容的第二层(背景)?

代码:

\documentclass{beamer}
%
%
\usepackage[english]{babel}
\usepackage{multirow}
\usepackage{amsmath}
\usepackage[]{hyperref}
\newcommand{\btVFill}{\vskip0pt plus 1filll}

\usepackage{totcount}
\regtotcounter{section}

\newcommand\Fontvi{\fontsize{6}{5.2}\selectfont}

% Format of the title of every section:
\AtBeginSection[]{\label{sec:\thesection}
  \begin{frame}{Outline}
       \tableofcontents[
         currentsection,
         sectionstyle=show/shaded,
         subsectionstyle=shaded/shaded/shaded,
         subsubsectionstyle=shaded/shaded/shaded/shaded
         ]
  \end{frame}
}

\newcounter{prevsec}
\setbeamertemplate{navigation symbols}{}

% Create footline: 
\setbeamertemplate{footline}{%
        \setcounter{prevsec}{\thesection}
        \ifnum\theprevsec>1
            \addtocounter{prevsec}{-1}
        \fi

    \quad\hyperlinkpresentationstart{\beamerreturnbutton{Back to start}}%
    \quad\hyperlinksectionstart{\beamerreturnbutton{Back to section start}}%
%   \quad\hyperlink{moredetails}{\beamergotobutton{More details}}%
    \ifnum\thesection<\totvalue{section}%
        \quad\hyperlinksectionstartnext{\beamerskipbutton{Next section}}%
    \else%
        \quad \beamerskipbutton{Next section}%
    \fi%
    \quad\hyperlink{sec:\theprevsec}{\beamerskipbutton{Previous section}}%
    \vspace*{0.2cm}%
}


% Outline at the beginning of each subsection:
\AtBeginSubsection[]
{
    \begin{frame}{Outline}
        \tableofcontents[currentsection,currentsubsection]
    \end{frame}
}

% Outline at the beginning of each subsubsection:
\AtBeginSubsubsection[]
{
    \begin{frame}{Outline}
        \tableofcontents[currentsection,currentsubsection]
    \end{frame}
}

\begin{document}

   \section{sec1}
    \begin{frame}%{ss}
    1st section/ page 1 out of 1
    \end{frame}

    \begin{frame}
    1st section/ page 2 out of 2
    \end{frame}

    \begin{frame}[label=Detailed_Analysis]
        Detailed Analysis
    \end{frame}

    \section{sec2}

\def\Blablabla{

%Some text, some text some text
  \begin{enumerate}
\Fontvi
  \item Some text: Some info
  \item Some other text: Some other info
  \end{enumerate}
}
%
\begin{frame}%[plain]
%
\begin{table}
\centering
%\vspace{-1em}
\begin{tabular}{c|c|c|c|c}
$A$ & $B$ & $C$ & $D$ and $E$  \\\hline
$1.1$ & $1.2$ & $1.3$ & $1.4$ & $1.5$
\end{tabular}
%\caption{\label{tab:widgets}An example table.}
\end{table}
\vspace{-0.5em}
%
\centering
\includegraphics[width=.48\linewidth]{example-image}
\begin{minipage}[b][0.4\textheight][c]{.45\linewidth} \Blablabla \end{minipage}\\[1em]
\includegraphics[width=.48\linewidth]{example-image}\quad
\includegraphics[width=.48\linewidth]{example-image}
\end{frame}

    \section{sec3}
    \begin{frame}
    3rd section
    \end{frame}

    \begin{frame}
    More content on the 3rd section
    \end{frame}

    \begin{frame}
    Even More content on the 3rd section
    \end{frame}

    \end{document}

更新:问题中发布的上述代码具有每次更改部分时显示大纲的功能。显示大纲时,也可以通过单击跳转到所选部分。例如,如果我们已经完成了第 1 部分,则下一张幻灯片是突出显示即将到来的第 2 部分的大纲,也可以单击褪色的第 3 部分跳转到第 3 部分:

在此处输入图片描述

通过使用@samcarter 答案,现在开始新部分时仍会出现大纲,但单击部分名称跳转到该部分的功能已被禁用,如下所示代码 2

\usepackage[english]{babel}
\usepackage{multirow}
\usepackage{amsmath}
\newcommand{\btVFill}{\vskip0pt plus 1filll}

\usepackage{totcount}
\regtotcounter{section}

\newcommand\Fontvi{\fontsize{6}{5.2}\selectfont}

\newcounter{prevsec}

\setbeamertemplate{footline}{}
\setbeamertemplate{navigation symbols}{}

\makeatletter
\setbeamertemplate{sidebar canvas left}
  {%
  \tiny%
  \leavevmode%
  \hbox{%
  \rule{0pt}{.99\paperheight}%
        \setcounter{prevsec}{\thesection}
        \ifnum\theprevsec>1
            \addtocounter{prevsec}{-1}
        \fi

    \quad\hyperlinkpresentationstart{\beamerreturnbutton{Back to start}}%
    \quad\hyperlinksectionstart{\beamerreturnbutton{Back to section start}}%
%   \quad\hyperlink{moredetails}{\beamergotobutton{More details}}%
    \ifnum\thesection<\totvalue{section}%
        \quad\hyperlinksectionstartnext{\beamerskipbutton{Next section}}%
    \else%
        \quad \beamerskipbutton{Next section}%
    \fi%
    \quad\hyperlink{sec:\theprevsec}{\beamerskipbutton{Previous section}}%
    \vspace*{0.2cm}%
        }%
  \vskip0pt%
  }
\makeatother
%
% Outline at the beginning of every section:
\AtBeginSection[]{\label{sec:\thesection}
  \begin{frame}{Outline}
       \tableofcontents[
         currentsection,
         sectionstyle=show/shaded,
         subsectionstyle=shaded/shaded/shaded,
         subsubsectionstyle=shaded/shaded/shaded/shaded
         ]
  \end{frame}
}

% Outline at the beginning of each subsection:
\AtBeginSubsection[]
{
    \begin{frame}{Outline}
        \tableofcontents[currentsection,currentsubsection]
    \end{frame}
}

% Outline at the beginning of each subsubsection:
\AtBeginSubsubsection[]
{
    \begin{frame}{Outline}
        \tableofcontents[currentsection,currentsubsection]
    \end{frame}
}

\begin{document}

   \section{sec1}
    \begin{frame}%{ss}
    1st section/ page 1 out of 1
    \end{frame}

    \begin{frame}
    1st section/ page 2 out of 2
    \end{frame}

    \begin{frame}[label=Detailed_Analysis]
        Detailed Analysis
    \end{frame}

    \section{sec2}

\def\Blablabla{

%Some text, some text some text
  \begin{enumerate}
\Fontvi
  \item Some text: Some info
  \item Some other text: Some other info
  \end{enumerate}
}
%
\begin{frame}%[plain]
%
\begin{table}
\centering
%\vspace{-1em}
\begin{tabular}{c|c|c|c|c}
$A$ & $B$ & $C$ & $D$ and $E$  \\\hline
$1.1$ & $1.2$ & $1.3$ & $1.4$ & $1.5$
\end{tabular}
%\caption{\label{tab:widgets}An example table.}
\end{table}
\vspace{-0.5em}
%
\centering
\includegraphics[width=.48\linewidth]{example-image}
\begin{minipage}[b][0.4\textheight][c]{.45\linewidth} \Blablabla \end{minipage}\\[1em]
\includegraphics[width=.48\linewidth]{example-image}\quad
\includegraphics[width=.48\linewidth]{example-image}
\end{frame}

    \section{sec3}
    \begin{frame}
    3rd section
    \end{frame}

    \begin{frame}
    More content on the 3rd section
    \end{frame}

    \begin{frame}
    Even More content on the 3rd section
    \end{frame}


\end{document}

更新 2:除此之外,使用代码 2似乎有错误的链接功能,例如,如果我在第 2 页打开 pdf,如果我将鼠标放在正确区域的某个位置,Go to page 1则会出现以下信息:

在此处输入图片描述

如果我点击了,我就会被重定向到第 1 页。

这是使用okular。如果我使用以下命令打开文档,也会发生同样的情况evince

在此处输入图片描述

答案1

这些按钮似乎仍然可以点击,但是你必须猜测它们在哪里。

\documentclass{beamer}

\usepackage{totcount}
\regtotcounter{section}

\newcounter{prevsec}

\setbeamertemplate{footline}{}
\setbeamertemplate{navigation symbols}{}

% Format of the title of every section:
\AtBeginSection[]{\label{sec:\thesection}
  \begin{frame}{Outline}
       \tableofcontents[
         currentsection,
         sectionstyle=show/shaded,
         subsectionstyle=shaded/shaded/shaded,
         subsubsectionstyle=shaded/shaded/shaded/shaded
         ]
  \end{frame}
}


\makeatletter
\setbeamertemplate{sidebar canvas left}{%
    \begin{minipage}[t][.98\paperheight][b]{\textwidth}
      \tiny%
      \setcounter{prevsec}{\thesection}
      \ifnum\theprevsec>1
        \addtocounter{prevsec}{-1}
      \fi
        \quad\hyperlinkpresentationstart{\beamerreturnbutton{Back to start}}%
      \quad\hyperlinksectionstart{\beamerreturnbutton{Back to section start}}%
        \ifnum\thesection<\totvalue{section}%
        \quad\hyperlinksectionstartnext{\beamerskipbutton{Next section}}%
      \else%
        \quad \beamerskipbutton{Next section}%
      \fi%
      \quad\hyperlink{sec:\theprevsec}{\beamerskipbutton{Previous section}}%
    \end{minipage}   
}
\makeatother

\begin{document}

  \section{sec1}
    \begin{frame}%{ss}
    1st section/ page 1 out of 1
    \end{frame}

    \begin{frame}
    1st section/ page 2 out of 2
    \end{frame}

    \begin{frame}[label=Detailed_Analysis]
        Detailed Analysis
    \end{frame}

    \section{sec2}
%
\begin{frame}%[plain]
%
\begin{table}
\centering
%\vspace{-1em}
\begin{tabular}{c|c|c|c|c}
$A$ & $B$ & $C$ & $D$ and $E$  \\\hline
$1.1$ & $1.2$ & $1.3$ & $1.4$ & $1.5$
\end{tabular}
%\caption{\label{tab:widgets}An example table.}
\end{table}
\vspace{-0.5em}
%
\centering
\includegraphics[width=.48\linewidth]{example-image}
\begin{minipage}[b][0.4\textheight][c]{.45\linewidth} \end{minipage}\\[1em]
\includegraphics[width=.48\linewidth]{example-image}\quad
\includegraphics[width=.48\linewidth]{example-image}
\end{frame}

    \section{sec3}
    \begin{frame}
    3rd section
    \end{frame}

    \begin{frame}
    More content on the 3rd section
    \end{frame}

    \begin{frame}
    Even More content on the 3rd section
    \end{frame}


\end{document}

在此处输入图片描述

相关内容