次のフレームでは、ハイパーリンク ボタンのあるフッターが 2 つの画像と重なっています。
各スライドのコンテンツに対して、ハイパーリンクのフッターラインを 2 番目のレイヤー (背景) に配置することをプリアンブルで宣言する方法はありますか?
コード:
\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リンク機能が間違っているようです。たとえば、PDF の 2 ページ目を開き、マウスを適切な領域に置くと、次のような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}