Is it possible to use a task inside another task environment?

by manooooh   Last Updated January 14, 2018 05:23 AM

I am trying to put a task inside another task environment (I am very impressed that nobody has asked this), but it does not work:

\begin{tasks}(1)
    \task Task a)
    \task Task b)
    \begin{tasks}(1)
        \task Task b)1 % or b)1)  ,  or b1)  ,  something like that.
    \end{tasks}
    \task Task c)
\end{tasks}

When I compile I have 7 errors.


Instead of that, I use the inparaenum environment. For example:

\begin{tasks}(1)
    \task Task a)
    \task Task b)

    \begin{inparaenum}[b1)]
        \item Item b1)
        \hfil
        \item Item b2)
        \\
        \item Item b3)
        \hfil
        \item Item b4)
    \end{inparaenum}
    \task Task c)
\end{tasks}

Note that between \item Task b and \begin{inparaenum}[b1)] I added a line break because if not, the text appears immediately after Task b).

But if I run this code:

\begin{tasks}(1)
    \task Task a)

    \begin{inparaenum}[a1)]
        \item Item a1) % it says: 11) Item a1)
        \hfil
        \item Item a2) % it says: 22) Item a2)
        \\
        \item Item a3) % it says: 33) Item a3)
        \hfil
        \item Item a4) % it says: 44) Item a4)
    \end{inparaenum}
    \task Task b)
    \task Task c)
\end{tasks}

I get the following warning:

Package paralist Warning: Incorrect label; no or multiple counters.
(paralist)                The label is: a1) on input line 2435.

For that reason I do not want to work with the inparaenum environment, but yes with the task environment haha. I would like to work with a task within another task. Does anyone know if this is possible?

If not, I would like to solve the second problem.

Thanks!

Tags : errors tasks


Related Questions


Troubles with tasks package under TeXlive 2017

Updated February 08, 2018 10:23 AM



How to change the "step" of each new task

Updated September 22, 2017 20:23 PM

How to write Mongolian character use task

Updated December 16, 2017 17:23 PM