我想知道如何使用类似于alternative=serried
ConTeXt 标题的内容,例如章节或章节,例如
1. This is a section.- This is a nice text example.
There's another line.
And another line.
2. Love and glory.- Another section to keep writing.
答案1
您正在寻找alternative=text
:
\setuphead[section]
[style=\bf,
alternative=text,
number=yes]
\starttext
\startsection[title={This is a section.}]
This is a nice text example.
There's another line.
And another line.
\stopsection
\startsection[title={Love and glory.}]
Another section to keep writing.
\stopsection
\stoptext