4

What is the ConTeXt equivalent of \usepackage[inline]{enumitem}?

See: How to make horizontal lists?

I have read https://wiki.contextgarden.net/Command/_setupitemgroup without finding what I need.

1 Answer 1

3

You can use the text option.

You can set it for a single list:

\startTEXpage
    Before text
    \startitemize[A, text]
        \item One
        \item Two
        \item Three
    \stopitemize
    after text.
\stopTEXpage

output

Or for all lists of a certain type:

\setupitemize[1][n][style=ssbf]
\setupitemize[2][text, KR]

\startTEXpage
    \startitemize
        \item \startitemize
            \item One
            \item Two
            \item Three
        \stopitemize
        \item \startitemize
            \item Four
            \item Five
            \item Six
        \stopitemize
        \item \startitemize
            \item Seven
            \item Eight
            \item Nine
        \stopitemize
    \stopitemize
\stopTEXpage

output

3
  • Thank you, do you know if there is a way to remove the parentheses?
    – user304322
    Dec 4, 2023 at 20:23
  • 2
    @richardIII When using the text key, you can get rid of the parentheses by \setupitemize[2][text,KR][lefttext=,righttext=].
    – mickep
    Dec 4, 2023 at 20:44
  • Perfect, thanks
    – user304322
    Dec 4, 2023 at 20:44

You must log in to answer this question.