Ticket #9107: test-deep-itemize-nesting.tex

File test-deep-itemize-nesting.tex, 736 bytes (added by nthiery, 7 years ago)
Line 
1\documentclass[12pt]{article}
2
3\usepackage{enumitem}
4%\setlistdepth{9}
5
6\makeatletter
7\newcommand{\py@itemnewline}[1]{%
8  \@tempdima\linewidth%
9  \advance\@tempdima \leftmargin\makebox[\@tempdima][l]{#1}%
10}
11
12\newenvironment{fulllineitems}{
13  \begin{list}{}{\labelwidth \leftmargin \labelsep 0pt
14                 \rightmargin 0pt \topsep -\parskip \partopsep \parskip
15                 \itemsep -\parsep
16                 \let\makelabel=\py@itemnewline}
17}{\end{list}}
18\makeatother
19
20\begin{document}
21
22\begin{itemize}
23\item 
24\begin{itemize}
25\item 
26\begin{itemize}
27\item 
28\begin{itemize}
29\item 
30\begin{itemize}
31\item 
32\begin{itemize}
33\item 
34\end{itemize}
35\end{itemize}
36\end{itemize}
37\end{itemize}
38\end{itemize}
39\end{itemize}
40
41
42\end{document}