Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

The ConTeXt wiki article on enumerations shows many solutions for creating an enumerated list, however, I see no examples for creating an in-paragraph enumeration, e.g.:

Five animals lived in the forest: (1) bears, (2) snakes, (3) fish, (4) birds, and (5) wolves.

How can I create in-paragraph enumerations in ConTeXt?

share|improve this question
add comment

1 Answer 1

up vote 8 down vote accepted

Use the text key:

\setupitemize [stopper=]
\starttext

Five animals lived in the forest:
\startitemize [n,text]
  \startitem
    bears,
  \stopitem
  \startitem
    snakes,
  \stopitem
  \startitem
    fish,
  \stopitem
  \startitem
    birds, and
  \stopitem
  \startitem
    wolves.
  \stopitem
\stopitemize

\stoptext

Result:

result

The stopper key is necessary to remove the trailing dot. You can adjust the distance with textdistance key.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.