答案1
在页码上方放置规则的一个简单方法是禁用自动放置并将\setupfootertexts
页码放在页脚中。
\setuppagenumbering
[location=]
\startsetups [pagenumber]
\framed
[
width=1.5in,
align=flushright,
frame=off,
topframe=on,
foregroundstyle=bold,
]
{
\prefixedpagenumber
}
\stopsetups
\setupfootertexts
[] [\directsetup{pagenumber}]
\starttext
\input ward
\stoptext