I have an enumerate environment with 3 items in it, say H1, H2, and H3. I would like to reference this list as a whole, calling it H. Ideally, I could make an enumerate environment like cases and have H followed by a large left curly brace and then the enumerate environment for H1, H2, and H3. Is there a way to do this?

  /   H1
H<    H2
   \_ H3

Something like this, while being able to reference the whole list as \ref{H}.


You can use cases inside enumitem. To be able to reference the items of the enumitem you have to create a new float to wrap the whole thing in, in my example enucase, and put a label on the \item you want to refer to. This is a rough and ready solution but works. Just note that if you want to put normal text into the items following the curly bracket you have to wrap it \text{} or something similar.


\usepackage{amsmath} % for cases and \text{}
\usepackage[shortlabels]{enumitem} % to define the Alphabetic enumerate label

\usepackage{float} % to create the new float
\newfloat{enucase}{tbhp}{loe}[section] %{float-name}{placement}{toc-style-list}[section reference]
\floatname{enucase}{Enumerated Case} %{float-name}{name-in-loe/toc}


\section{Enumerated Cases with numbers}

            \item A
            \item\label{H} $ H =
                one \\
                two \\
             \item B

    refers to Case \ref{H}
\section{Enumerated cases only with letters}

            \item bla bla bla
            \item\label{B} $ =
                \text{item one} \\
                \text{item two} \\
                \text{item three}
             \item bla bla

refers to Case \ref{B}


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.