17

Possible Duplicate:
Enumerate with Properties

How can I create a list with a mixed listing, i.e. made of a fixed prefix (e.g. a letter) and an auto incremented number. E.g.

A1 my text....
A2 another text;
A3 again text.

Maybe exists such a package that I don't know...

marked as duplicate by cmhughes, Mensch, Andrew Swann, Martin Schröder, egreg Jan 17 '13 at 17:47

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

27

Use enumitem.

\documentclass{article}

\usepackage{enumitem}

\begin{document}

\begin{enumerate}[label=A\arabic*]
\item First item
\item Second item
\end{enumerate}

\end{document}
  • Thanks! I'm going to install the package! Just let me a few minutes to check it out! – JeanValjean Jan 17 '13 at 13:56
  • It works as promised :). And I see that I can also specify italics and bold styles. Very nice package! Thanks again! – JeanValjean Jan 17 '13 at 14:04
  • 4
    What does the * in \arabic* do? – Martin Thoma Jan 10 '17 at 11:31
  • 2
    @MartinThoma According to the documentation, "A set of starred versions of \alph, \Alph, \arabic, \roman and \Roman, without argument stand for the current counter in enumerate". I.e. it is required to ensure that the current number is print. – Nijin22 Mar 28 '18 at 7:36

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