0

Preferably using the enumitem package, how can I create a list of this form?

(1), (2) First item
(3) Second item
(4) Third item
etc.
  • Are you going to reference the items as well? – Werner Aug 29 '17 at 20:28
  • Yes. I would like to be able to reference the numbers individually. – Casimir Aug 29 '17 at 20:30
  • 1
    Here is a start. – Werner Aug 29 '17 at 20:32
  • This sort of breaks the format of any normal list. What list features do you want to retain: hanging indentation, multiple paragraphs, nesting with other list environment, page breaking? – John Kormylo Aug 29 '17 at 21:03
  • @JohnKormylo Indentation can be determined by the other list items. Multiple paragraphs and page breaking are essential. Nesting with other list environment is not currently needed but what would be the issue here? – Casimir Aug 29 '17 at 21:27
1

You could set the first item (and accompanying horizontal alignment) manually:

enter image description here

\documentclass{article}

\usepackage{enumitem}

\makeatletter
\newcommand{\setref}[1]{\def\@currentlabel{#1}}
\makeatother

\begin{document}

\begin{enumerate}[label={(\arabic*)}, start=3, leftmargin=*]
  \item[] \hspace*{\dimexpr-\labelindent-\labelwidth-\labelsep+\itemindent}%
    \setref{(1)}\label{first-a}\setref{(2)}\label{first-b}%
    (1), (2) \hspace{\itemindent}First item
  \item \label{second} Second item
  \item Third item
  \item etc.
\end{enumerate}

See items~\ref{first-a} and~\ref{first-b}, or~\ref{second}.

\end{document}

We also set the reference manually via \setref{<stuff>}, after which one can use \label in the usual way. If hyperref is loaded, consider adding \phantomsection to appropriately mark the hyperlink to jump to.

  • Are you interested in referencing (1) or (2)? – Werner Aug 29 '17 at 22:57
  • Both if possible. If not then (1) is fine. – Casimir Aug 30 '17 at 6:18
  • @Casimir: See the updated answer. – Werner Aug 30 '17 at 16:31
  • Very nice! hyperref is indeed loaded, thanks for the hint. – Casimir Aug 30 '17 at 16:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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