10
votes
1answer
71 views

Automatically number a word in description if used at least twice

I defined an environment with description which automatically numbers the bold words if they appear twice or more often in an \item[]. So far it works fine, but I cannot add a 1 to the first word, if ...
3
votes
2answers
119 views

Optional argument to \item to appear in brackets after the counter

Usually, when you have the following document: \documentclass{article} \usepackage{enumitem} \begin{document} \begin{enumerate} \item Mary \item[had] a little \item lamb \end{enumerate} ...
4
votes
2answers
132 views

Description numbering

I have an article document. In this document I have sections and subsections. In a subsection there are nested 'description' lists. I want that items of this description have numbers which use the ...
8
votes
1answer
2k views

Automatically number a description list [duplicate]

Possible Duplicate: Enumerated description list I would basically like to produce some kind of combination of an enumerate and a description environment. Manually \begin{description} ...