删除标题页标题下方的行

删除标题页标题下方的行

如何使用这个最小示例删除标题页标题下方的行:

\setuppapersize[A4]

\setuplayout
    [width=fit, height=fit,
     topspace=2cm, header=\lineheight, headerdistance=\lineheight,
     footer=0cm]

\setupbackgrounds[header][text][bottomframe=on]  % line below header
\setupheadertexts[chapter][pagenumber]
\setuppagenumbering[location=]  % clear page number

\definemakeup[titlepage]

\starttext

\startfrontmatter
    \starttitlepagemakeup
        {\raggedcenter
            {\bfb XXXXXXX \\ XXXXXXXXXX XXXXXXXX\par}
            \blank[1cm]
            {\bfd XXXXXXXX XXXXXXXX\par}
            \blank[1cm]
            {\bfb XX XXXXX XXXX\par}
        }
        \blank[5cm]
        {\tfa
            \starttabulate[|l|p|]
            \NC XXXXXXXXX: \NC XXX XXXXXXXX XXXXXXXXX \NC\NR
            \NC XXXXX: \NC XXXX XXX XXXXXXXXXXXX XXXXX \NC\NR
            \stoptabulate
        }
    \stoptitlepagemakeup


    \completecontent
\stopfrontmatter

\startbodymatter
    \chapter{A Chapter}
    Some Text.
\stopbodymatter

\stoptext

答案1

代替

\definemakeup
  [titlepage]

\definemakeup
  [titlepage]
  [headerstate=none]

这将删除标题和下面的行。有关更多选项,请参阅ConTeXt 维基百科 - setupmakeup

相关内容