# Tag Info

## New answers tagged enumitem

0

The answers package does an automatic definition of the solution environment numbering/heading, defining \Solutionlabel, basically to be \emph{Solution #1}, #1 being fed with \textbf --- which is wrong for another reason (due to the label=\arabic* way of enumitem, this can't work this way. Use label={\bfseries \arabic*} rather. The trick is to redefine the ...

4

Automatic labels are easy. But they are completly useless for manual references. Try out this document and then uncomment the item and compile again: \documentclass{article} \usepackage{enumitem} \newcommand\automaticlabel{\label{\theenumi.\theenumii}} \begin{document} \begin{enumerate} \item \begin{enumerate} %\item I forgot Yellow \automaticlabel ...

2

Since you don't show any further document structure, why not use sectional units to denote your "nested list structure": \documentclass{article} % Configuración para español \usepackage[spanish,activeacute]{babel} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{sectsty,indentfirst} \sectionfont{\normalsize\normalfont\bfseries} ...

4

In the following line \def\@myitem[#1]{\item[#1]\mbox{}\\} you have \\ which creates another line. Remove it to remove the blank space. If you want to further reduce the space you can add a negative vertical space. Here's the two versions. Output Added \vspace{-1ex} Empty Code \documentclass{article} \usepackage{enumitem} % New line after ...

3

The error is a "undefined label", so you can supply a label with \item[] as Mico suggest, or you can define a label: \documentclass[english]{article} \usepackage{enumitem} \newlist{wideenum}{enumerate}{4} \setlist[wideenum]{label*=\arabic*.,wide} \begin{document} \begin{wideenum} \item abbreviation \item dfjks \ldots \end{wideenum} \end{document}

2

Here is an adaptation of Optional argument to \item to appear in brackets after the counter for your case: Notes: If you wish to redefine a macro that has optional parameters, you have to use \LetLtxMacro from the letltxmacro package . A detailed description of \LetLtxMacro can be found at this question at When to use \LetLtxMacro?. Code: ...

4

The most likely reason for \begin{enumerate}[label=\arabic*$$\star$$] throwing a "bad math delimiter" error, whereas \begin{enumerate}[label=\arabic*$\star$] does not, is that you're using an older LaTeX format (specifically, older than 2015/01/01), in which $$and$$ are "fragile" commands (in the LaTeX jargon sense of the word). In contrast, \$ has ...

Top 50 recent answers are included