1
\newcommand{\subscript}[2]{$#1 _ #2$}
\begin{itemize}[label=(\subscript{a}{{\arabic*}})]
    \item
    Generated by the vvv
    \item
    Generated by the ccc
\end{itemize}

Using itemize, can we list the items like a_1, a_2, a_3.

Please provide me a method. I do not want to use enumerate

10
  • 6
    Please explain why you do not want to use enumerate? It is literally made for this. Itemsize is for static labels.
    – daleif
    Commented Feb 27 at 8:51
  • 2
    And please don't show a code snippet only. Always try to show a minimal working example.
    – cabohah
    Commented Feb 27 at 8:57
  • 3
    I guess it could be argued that it's not clear what's so bad about enumerate. Also whether OP wants to avoid the package or the environment (but why is more important).
    – Teepeemm
    Commented Feb 27 at 14:30
  • 1
    @Mico There isn't a MWE in the question, but it uses an itemize environment with optional argument. So it is even unclear how this environment is defined. So IMHO the questioner should not only explain, why not use enumerate, but also extend the code snippet to a MWE.
    – cabohah
    Commented Feb 27 at 15:51
  • 1
    @Mico I think a puzzling claim like that is usually a sign of an XY problem. So if we can get OP to elaborate on what they're actually doing and why they think their puzzling claim is proper, then we stand a chance of solving their stated problem and also solving their Y problem more appropriately. (And if OP had originally meant they can't use the enumerate package, then using the enumitem package is either appropriate (because enumitem is why they couldn't use enumerate) or not (because they don't have extra packages installed?).)
    – Teepeemm
    Commented Feb 27 at 20:11

1 Answer 1

7

I recommend you use an enumerate environment rather than an itemize environment.

enter image description here

\documentclass{article}
\usepackage{enumitem}
\begin{document}

\begin{enumerate}[label=a\textsubscript{\arabic*}]
\item aaa
\item bbb
\item ccc
\end{enumerate}

\end{document} 

Addendum: If you want the labels to be typeset in math mode rather than in text mode, simply replace

[label=a\textsubscript{\arabic*}] 

with

[label=$a_{\arabic*}$]

No need to create a separate \subscript macro.

0

You must log in to answer this question.

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