
저는 Warsaw
테마와 smoothbars
외부테마를 가지고 작업하고 있습니다.
프레젠테이션 마지막 부분에 출판물 목록으로 사용할 참고문헌 항목을 추가하겠습니다. 그러나 이러한 슬라이드는 smoothbars
.
확인 중하위 섹션이 없는 비머 탐색 서클이 있습니까?질문 일부 하위 섹션을 추가하면 문제가 해결될 것이라고 생각했지만 작동하지 않았습니다. 프레임 \printbibliography
에 참고문헌이 포함되어 있으면 진행률 표시줄에서 해당 프레임을 건너뛰는 것 같습니다 . 그리고 이게 이번 일과 관련이 있는지는 모르겠지만벌레.
다음 예를 확인하세요. 하위 섹션을 추가하면 첫 번째 프레임이 나타납니다. 참고문헌이 있는 프레임을 제외하고 하위 섹션이 포함된 두 번째 하위 섹션의 프레임도 나타납니다.
\documentclass{beamer}
\begin{filecontents}{\jobname.bib}
@Book{test1,
author = {Goossens, Michel and Mittelbach,
Frank and Samarin, Alexander},
title = {The LaTeX Companion},
publisher = {Addison-Wesley},
location = {Reading, Mass.},
year = {1994},
}
\end{filecontents}
\useoutertheme[subsection=false]{smoothbars}
\usepackage{biblatex}
\bibliography{\jobname}
\begin{document}
\section{Section}
\subsection{Subsection}
\begin{frame}{test}
content...
\end{frame}
\section{Publications}
\subsection{Subsection}
\begin{frame}{in nav}
this frame is in navigation bar
\end{frame}
\subsection{References}
\begin{frame}
\nocite{*}
\printbibliography[heading=subbibliography]
\end{frame}
\subsection{Subsection}
\begin{frame}{in nav}
this frame is also in navigation bar, but the previous one isn't
\end{frame}
\end{document}
smoothbars
그렇다면 참고문헌이 있는 슬라이드를 /circle 진행 표시줄 에 표시하려면 어떻게 해야 합니까 ?
답변1
짧은 형식의 솔루션: 사용
\printbibliography[heading=none]
설명
biblatex
-부분
biblatex
어떤 문서 클래스가 로드되는지 테스트합니다. 클래스가 beamer
유효한 옵션이 아니므로 기본 설정이 abx@classtype
사용됩니다. 이러한 설정을 사용하면 옵션은 heading=subbibliography
다음 정의를 나타냅니다.
\defbibheading{subbibliography}[\refname]{%
\subsection*{#1}}
정의는 파일에서 수행됩니다 biblatex.def
. 별표 표시된 버전이 \subsection
사용된다는 점에 유의하는 것이 중요합니다.
beamer
-부분
beamer
구조화 명령 에서는 \subsection
환경 외부에 배치해야 합니다 frame
. 이러한 명령을 내부에 넣으면 frame
원하지 않는 부작용이 발생합니다. 귀하의 경우 이 명령 \subsection*
은 smoothbar
.
간단한 예에서는 다음을 보여줍니다.
\documentclass{beamer}
\useoutertheme[subsection=false]{smoothbars}
\begin{document}
\section{Section}
\subsection*{Subsection}
\begin{frame}{test}
content...a
\end{frame}
\begin{frame}{test}
\subsection*{Subsection b}
content...b
\end{frame}
\end{document}
위의 설명을 바탕으로 에서 \subsection*
수행한 작업을 제거해야 합니다 heading=subbibliography
. 가장 간단한 방법은 사용법 heading=none
이 다음과 같이 정의되는 것입니다.
\defbibheading{none}{}