New answers tagged

1

There is a limit of nesting six list based environments (including, for instance, quotation, quote, description, enumerate and itemize). However at most four of them can be enumerate or itemize. The following example fails because there are five nested enumerate environments: \documentclass{article} \begin{document} \begin{quotation} Level 1 ...


3

Here is a solution with enumitem. I define fenum environments, with two levels, cloned from enumerate, with the relevant parameters. \documentclass{article} \usepackage[x11names]{xcolor} \usepackage[showframe]{geometry} \usepackage{enumitem} \newlist{fenum}{enumerate}{2} \setlist[fenum, 1]{label =\setlength\fboxsep{0pt}% ...


4

Without using any extra packages, just redefine \theenumii, \labelenumi and \labelenumii: \documentclass{article} \renewcommand{\theenumii}{\theenumi.\arabic{enumii}} \renewcommand{\labelenumi}{\theenumi)} \renewcommand{\labelenumii}{\theenumii)} \begin{document} \begin{enumerate} \item Firat item \item Second item ...


2

The enumeration is strange here, therefore I use a new list named strangenumerate Since label*= cannot be applied here for the deeper nested levels (it prints a ), there are some other strategies: Make a conditional on the level of nesting and change the label according to this Refer directly to the counter of the current level, i.e. strangenumeratei ...



Top 50 recent answers are included