2

I have this code:

\begin{document}
\begin{itemize}
    \item Item
    \begin{enumerate}
        \item First sub-item
    \end{enumerate}
    \item Item
    \begin{enumerate}
        \item Second sub-item
        \item Third sub-item
        \item Fourth sub-item
    \end{enumerate}
\end{itemize}
\end{document}

...but I want numbers in nested lists to be progressive and not to reset every time. Is there any way to do it?

Thank you very much.

3

resume from enumitem package seems to work:

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{enumitem}  %%% <-
\begin{document}
\begin{itemize}
    \item Item
    \begin{enumerate}
        \item First sub-item
    \end{enumerate}
    \item Item
        \begin{enumerate}[resume] %<-
        \item Second sub-item
        \item Third sub-item
        \item Fourth sub-item
    \end{enumerate}
\end{itemize}
\end{document}

enter image description here

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.