![프레임 내용과 관련된 두 번째 레이어의 하이퍼링크 버튼](https://rvso.com/image/370315/%ED%94%84%EB%A0%88%EC%9E%84%20%EB%82%B4%EC%9A%A9%EA%B3%BC%20%EA%B4%80%EB%A0%A8%EB%90%9C%20%EB%91%90%20%EB%B2%88%EC%A7%B8%20%EB%A0%88%EC%9D%B4%EC%96%B4%EC%9D%98%20%ED%95%98%EC%9D%B4%ED%8D%BC%EB%A7%81%ED%81%AC%20%EB%B2%84%ED%8A%BC.png)
다음 프레임에서 하이퍼링크 버튼이 있는 각주가 두 이미지와 겹칩니다.
각 슬라이드의 콘텐츠와 관련하여 하이퍼링크의 각주가 두 번째 레이어(배경)에 있도록 서문에서 선언하는 방법이 있습니까?
암호:
\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:이 외에도 생성된 PDF는 다음과 같습니다.코드 2연결 기능이 잘못된 것 같습니다. 예를 들어 2페이지의 PDF를 열 때 올바른 영역 어딘가에 마우스를 놓으면 다음과 같은 정보가 Go to page 1
나타납니다.
클릭하면 1페이지로 리디렉션됩니다.
이것은 uing이었습니다 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}