ConTeXt: título sobreposto de texto em enumeração serrada

ConTeXt: título sobreposto de texto em enumeração serrada

Considere o seguinte trecho de código

\defineenumeration[axiom]
                    [prefix=yes,
                    alternative=serried,
                    text=Axiom,
                    right={.~},
                    title=yes,
                    titlestyle={\tf},
                    titleleft={(},
                    titleright={)},
                    style={\it}]

\startTEXpage
\startaxiom[title={Incidence Axiom I}]
  For every pair of distinct points $P$ and $Q$ there is exactly one line $l$ such that $P$ and $Q$ lie on $l$.
\stopaxiom
\stopTEXpage

Este trecho de código produz uma enumeração simples para axiomas. Agora, ao usá-lo, o título é sobreposto pelo conteúdo do texto do axioma, assim:

insira a descrição da imagem aqui

Como posso evitar esse comportamento?

Responder1

Adicionar width=fit.

\defineenumeration
  [axiom]
  [prefix=yes,
  alternative=serried,
  text=Axiom,
  right={.~},
  title=yes,
  titlestyle={\tf},
  titleleft={(},
  titleright={)},
  width=fit,
  style={\it}]

\startTEXpage[offset=1dk]
\startaxiom[title={Incidence Axiom I}]
  For every pair of distinct points $P$ and $Q$ there is exactly one line $l$ such that $P$ and $Q$ lie on $l$.
\stopaxiom
\stopTEXpage

com com=ajuste

informação relacionada