如何将页脚文本(红色矩形)从页脚分隔线(绿色矩形)向下推?页脚(整体)在页面上的位置无关紧要。
MWE:(\setlength\footheight{1.5\baselineskip}
只是把两个盒子都往上推)
\documentclass{scrbook}
\usepackage{fontspec}
\usepackage{blindtext}
\usepackage[
footsepline=0.25pt, % to show the footwidth
]{scrlayer-scrpage}
\setlength\footheight{1.5\baselineskip}
\begin{document}
\blindtext
\end{document}
答案1
要么你把线条向上移动
\documentclass{scrbook}
\usepackage{blindtext}
\usepackage[
footsepline=0.25pt, % to show the footwidth
]{scrlayer-scrpage}
% shift lines up:
\ModifyLayer[addvoffset=-.6ex]{scrheadings.foot.above.line}
\ModifyLayer[addvoffset=-.6ex]{plain.scrheadings.foot.above.line}
\begin{document}
\blindtext
\end{document}
或脚朝下的层
\documentclass{scrbook}
\usepackage{blindtext}
\usepackage[
footsepline=0.25pt, % to show the footwidth
]{scrlayer-scrpage}
% shift foot down
\ModifyLayer[addvoffset=.6ex]{scrheadings.foot.odd}
\ModifyLayer[addvoffset=.6ex]{scrheadings.foot.even}
\ModifyLayer[addvoffset=.6ex]{scrheadings.foot.oneside}
\ModifyLayer[addvoffset=.6ex]{plain.scrheadings.foot.odd}
\ModifyLayer[addvoffset=.6ex]{plain.scrheadings.foot.even}
\ModifyLayer[addvoffset=.6ex]{plain.scrheadings.foot.oneside}
\begin{document}
\blindtext
\end{document}