Last active
October 24, 2016 06:55
-
-
Save mindw/ec1e7bb416a9d87dda57a46452d5e28d to your computer and use it in GitHub Desktop.
Fix LaTeX nested too deep error.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| % source: | |
| % http://jasonjuang.blogspot.co.il/2016/06/how-to-solve-too-deeply-nested-error.html | |
| % http://www.texnia.com/archive/enumitem.pdf | |
| % http://texdoc.net/texmf-dist/doc/latex/latex2e-help-texinfo/latex2e.pdf | |
| \usepackage{enumitem} | |
| \setlistdepth{20} | |
| \renewlist{itemize}{itemize}{20} | |
| % initially, use dots for all levels | |
| \setlist[itemize]{label=$\cdot$} | |
| \setlist[itemize]{labelsep=.5em} | |
| % customize the first 3 levels | |
| \setlist[itemize,1]{label=\textbullet} | |
| \setlist[itemize,2]{label=--} | |
| \setlist[itemize,3]{label=*} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment