
다음 코드 부분을 고려하십시오.
\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