1

I have defined in ConTeXt an enumeration for definitions:

\defineenumeration[definition][theorem][
    text={Definition},
    prefix=chapter,
    way=bychapter,
    right=.,
    titleleft=(,
    titleright=.),
    distance=0.5em,
    headstyle=\ss,
    title=yes,
    titlestyle=\ss,
    alternative=serried,
    width=broad,
    indentnext=no]

I would like to set the distance between the header, i.e. "Defintion [numberOfTheDefintion]", and the title thereof to 0.5em (just like I set with the distance key the distance between the title and the text of the definition).

Thank you.

1
  • Use titledistance=0.5em.
    – Aditya
    Feb 19, 2015 at 13:20

1 Answer 1

0

As Aditya said, the solution is to set the titledistance key to 0.5em like this:

\defineenumeration[definition][theorem][
    text={Definition},
    prefix=chapter,
    way=bychapter,
    right=.,
    title=yes,
    titledistance=0.5em, % the "titledistance" key does the job
    titleleft=(,
    titleright=.),
    distance=0.5em,
    headstyle=\ss,
    titlestyle=\ss,
    alternative=serried,
    width=broad,
    indentnext=no]

Thank you.

3
  • 1
    This is rather a comment, but not an answer
    – user31729
    Feb 19, 2015 at 18:39
  • @SoundsOfSilence: I am curious. Why do you not consider this a complete answer?
    – Aditya
    Mar 5, 2015 at 4:36
  • @Aditya: At the time I wrote my comment, there was no source added, just one line of text ;-)
    – user31729
    Mar 6, 2015 at 12:22

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .