
특정 플로트의 랜딩 페이지에서 페이지 번호를 표시하지 않으려고 합니다. 하지만 거기에 실행 헤드가 나타나야 합니다.
내 MWE 쇼, 페이지 번호를 표시하지 않는 방법그리고달리는 머리 thisfloatpagestyle{empty}
. 그러나 나는 "문제"라는 제목의 섹션에 실행 헤드가 있기를 원합니다.
제가 \ofoot
잘못된 곳에 배치하고 있는 걸까요? 아니면 더 깨끗한 솔루션이 있습니까?
감사해요!
MWE:
\documentclass[headings=optiontohead]{scrbook}
\usepackage{scrlayer-scrpage}
\pagestyle{headings}
\usepackage{floatpag}
\usepackage{graphicx}
\title{TestHeadingsFigure}
\author{Test}
\date{September 2020}
\begin{document}
\maketitle
\chapter{test}
\section{Everything is ok}
%Float appears on whole page, no running head and no page number (works)
\begin{figure}[p]
\thisfloatpagestyle{empty}
\includegraphics[height=0.3\textheight]{example-image-a}
\caption{Test}
\end{figure}
\clearpage
\section{Problem}
\vfill
%Float appears on lower part of page, runnig head should exist, but page number should not exist (but it does!, so it's not working)
\begin{figure}[!h]
\ofoot{}
\thisfloatpagestyle{scrheadings}
\includegraphics[width=\paperwidth]{example-image-a}\caption{Test}
\end{figure}
\clearpage
\section{It's ok}
%Float should be a normal float, runnig head and page number as on normal pages (works)
\begin{figure}[!h]
\includegraphics{example-image-a}
\caption{Test}
\end{figure}
\end{document}