Is there a way to use \setlist
in the enumitem
package to get a structure like
FF 1: This is research question 1.
H_1.1: This is statistical hypothesis 1.1.
H_1.2: This is statistical hypothesis 1.2.
FF 1: This is research question 2.
H_2.1: This is statistical hypothesis 2.1.
H_2.2: This is statistical hypothesis 2.2.
So technically I have to change the prefix for the labels for different levels of the list. All I have achieved until now is:
\documentclass{article}
\usepackage{enumitem}
\newlist{forschungsfragen}{enumerate}{2}
\setlist[forschungsfragen,1]{label=FF \arabic*:, ref=\arabic*}
\setlist[forschungsfragen,2]{label=$H_{\arabic*}$:, ref=\arabic*}
\begin{document}
\begin{forschungsfragen}
\item This is research question 1
\begin{forschungsfragen}
\item This is statistical hypothesis 1.1.
\item This is statistical hypothesis 1.2.
\end{forschungsfragen}
\item This is research question 2
\begin{forschungsfragen}
\item This is statistical hypothesis 2.1.
\item This is statistical hypothesis 2.2.
\end{forschungsfragen}
\end{forschungsfragen}
\end{document}
So how can I get the counter of the research question level shown on while having "H_" as a prefix?