
Рассмотрим следующий фрагмент кода
\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
Этот фрагмент кода производит простое перечисление для аксиом. Теперь, при его использовании заголовок перекрывается текстовым содержимым аксиомы, вот так:
Как мне избежать такого поведения?
решение1
Добавлять 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