I would like to have my \item enumerated in a special order, non-sequential. In the example below (which is my current project) there are always exactly 3 \items.
(To handle user errors where the \item counter exceeds the defined maximal number, it could output a (red) error text for the \item(s), to draw attention that the enumeration list contains too many \items.)
In this case I have used code for circled text from Good way to make \textcircled numbers?
I would like to type
\begin{CircleProcedure}
\item \lipsum[1][1-2]
\item \lipsum[1][1-2]
\item \lipsum[1][1-2]
\end{CircleProcedure}
instead of the 'full' argument as shown in the MWE below.
Another possible output that I'm thinking of is with a mathematical index, shown as sample No. 2
Below I show a suggested input in an MWE, but with the [] arguments that I would like to avoid.
(For simple and uniform input/output environments are used)
MWE:
\documentclass{article}
\usepackage{tikz}
\usepackage{lipsum}
\usepackage{enumitem}
\newcommand*\circled[1]{\tikz[baseline=(char.base)]{
\node[shape=circle,draw,inner sep=2pt] (char) {#1};}}
\newenvironment{CircleProcedure}
{\begin{enumerate}[labelwidth=16mm,leftmargin=16mm,labelsep=2mm]}
{\end{enumerate}}
\newenvironment{IndexProcedure}
{\begin{enumerate}[align=left,labelwidth=9mm,leftmargin=10mm,labelsep=1mm]}
{\end{enumerate}}
\begin{document}
\lipsum[1][1-5]
\begin{CircleProcedure}
\item[\circled{1}] \lipsum[1][1-2]
\item[\circled{2}] \lipsum[1][1-2]
\item[(\circled{1}+\circled{2})] \lipsum[1][1-2]
\end{CircleProcedure}
\lipsum[1][1-5]
\begin{IndexProcedure}
\item[(\textbf{P}{1})] \lipsum[1][1-2]
\item[(\textbf{P}{2})] \lipsum[1][1-2]
\item[(\textbf{P}_{1+2})] \lipsum[1][1-2]
\end{IndexProcedure}
\lipsum[1][1-5]
\end{document}
(I run pdfLaTeX 2023 on overleaf.com)


