我目前正在使用:
\setuphead[section] [style=\tfb\bf, color=titlegrey, align=right]
如何修改它以包含下划线(或下划线)?
答案1
也许是这样的?
\setuphead
[section]
[style=\tfb\bf,
deeptextcommand=\underbar,
color=titlegrey,
align=right]
\definehead
[mysection]
[section]
[deeptextcommand=\underbars]
\starttext
\section[title={This is supposed to be underlined, and it is. Or is it?}]
\samplefile{ward}
\mysection[title={This is supposed to be underlined, and it is. Or is it?}]
\samplefile{ward}
\stoptext