2

Consider the following piece of code

\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

This piece of code produces a simple enumeration for axioms. Now, when using it the title is overlapped by the text content of the axiom, just like so:

enter image description here

How can I avoid that behaviour?

1 Answer 1

1

Add 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

with with=fit

You must log in to answer this question.