答案1
这是一个解决方案,使用已移除的框架并放置和页脚tcolorbox
的节点,并使用样式完成。Left
Middle
page corner
boxed title
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[most]{tcolorbox}
\usepackage{fancyhdr}
\usepackage{blindtext}
\usepackage[verbose]{geometry}
\fancypagestyle{plain}{%
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\fancyfoot[C]{
\begin{tcolorbox}[enhanced,
frame hidden,
attach boxed title to top right={yshift=-\tcboxedtitleheight+0.1pt,xshift=1.25pt},
borderline north={1pt}{0pt}{yellow},
boxed title style={sharp corners=north,arc=2mm,frame hidden,colback=yellow,sidebyside},
coltitle=black,
title={Page | \thepage},
interior hidden,
underlay={\node[below,xshift=10mm] (A) at (interior.north west) {Footer Left};
\node[below] (C) at (interior.north) {Footer Middle};
}
]
\end{tcolorbox}
}
}