Tag Info

New answers tagged

2

I've removed stuff related to the non-standard package since your document doesn't seem to depend on it. (I doubt it needs tasks either.) There are 2 immediate issues. One is that you haven't activated Latin hyphenation patterns so TeX is unable to break lines sensibly and the narrowness of the text width causes stuff to spill over. This can be solved by ...


2

This can be achieved using the multicol package. \begin{multicols}{2} \end{multicols} around the outer enumeration or the second enumeration list will provide two columns. \documentclass{book} \usepackage{multicol} \usepackage{enumitem} \begin{document} \begin{multicols}{2} \begin{enumerate} \item \begin{enumerate} \item \begin{enumerate} \item right ...


5

\documentclass{report} \usepackage{enumitem} \begin{document} \begin{description}[style=multiline,leftmargin=4.75cm,labelsep=0cm] \item[C]High-level programming language. \item[Monovalent heat pump system]The entire demand for space heating, ventilation heating and heating of DHW is covered by the heat pump. \end{description} \end{document}


0

Insert a manual break within a structure that allows it: \documentclass{article} \usepackage{enumitem} \begin{document} \begin{description}[leftmargin=10em,labelwidth=!,labelsep=0pt,align=left] \item[C]High-level programming language. \item[\smash{\begin{tabular}[t]{@{}l}Monovalent heat \\ pump system\end{tabular}}] The entire demand for space ...


0

Or wouldn't it be simply this (I find that a first paragraph with a non-zero leftmargin, and subsequent paragraphs in the item with a zero left margin doesn't look too good): \documentclass{article} \usepackage{enumitem} \setlist[enumerate]{% wide =0.5\parindent, listparindent=0pt% }% \begin{document} A normal paragraph of text just to show where the left ...


1

I'm not sure why you want to do this. However, here's the way: \documentclass{article} \usepackage{showframe} \usepackage{enumitem} \setlist[enumerate]{ labelsep=8pt, labelindent=0.5\parindent, itemindent=0pt, leftmargin=*, before=\setlength{\listparindent}{-\leftmargin}, } \begin{document} A normal paragraph of text just to show where the left ...


2

\documentclass[11pt]{amsart} \usepackage{enumitem} \makeatletter \def\nest{% \edef\reset{\c@enumi\the\c@enumi\relax}\c@enumi\z@ } \makeatother \begin{document} \begin{enumerate} \item A \nest % \begin{enumerate} \item C \item D \reset % \end{enumerate} \item B \end{enumerate} \end{document}


1

How about \documentclass[11pt]{amsart} \usepackage{enumitem} \newlist{Enumerate}{enumerate}{4} \setlist[Enumerate]{label=\arabic*} \begin{document} \begin{enumerate} \item A \begin{Enumerate} \item C \item D \end{Enumerate} \item B \end{enumerate} \end{document} If you do not want to mess with the second level list, then make a different ...


1

It sounds like you need \setlist[enumerate,2]{label=(\arabic*)} Here's a complete example: % arara: pdflatex \documentclass[11pt]{amsart} \usepackage{enumitem} \setlist[enumerate,2]{label=(\arabic*)} \begin{document} \begin{enumerate} \item A \begin{enumerate} \item C \end{enumerate} \item B \end{enumerate} \end{document}


3

The parsers of key=value syntax take care not to expand macros. It is better to use the facilities of the package to set the defaults: \documentclass[11pt]{amsart} \usepackage{enumitem} \setlist[enumerate]{topsep=0em,partopsep=0em} \begin{document} \begin{enumerate} \item aaa \end{enumerate} \end{document}


2

You make make acro use any valid list type by saying \acsetup{list-type=<name of list>} Here is an example: \documentclass{article} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{acro,enumitem} \newlist{foo}{description}{1} \newlist{baz}{description}{1} \setlist[foo]{font=\normalfont\itshape} \setlist[baz]{font=\normalfont\scshape} ...


2

You can eliminate that via \setlength\multicolsep{0pt}: Code: \documentclass{article} \usepackage{enumitem} \usepackage{multicol} \begin{document} I can get rid of the margin here: \begin{enumerate}[topsep=0pt] \item a \item b \end{enumerate} \vspace{10pt} and also here {\setlength\multicolsep{0pt}% \begin{multicols}{2} ...


2

This is just an addition to egregs answer. There is no reason to use an extra env for this. Just add the extra configuration whenever we are inside a theorem env. Downside: this has to be added to every thm like env. I use this to control that enumerates are formatted consistently in teaching materials etc. \documentclass{article} ...


4

Use \thetheorem: \documentclass{article} \usepackage{amsmath,amsthm} \usepackage{enumitem} \theoremstyle{plain} \newtheorem{theorem}{Theorem} \newenvironment{thenumerate}[1][] {\enumerate[label=\alph*\textup{)},ref=\thetheorem.\alph*),#1]} {\endenumerate} \begin{document} \begin{theorem}[Great result] \label{th:great} Let $1$ be the number one. Then: ...


1

You can use this: \documentclass{article} \usepackage[showframe, nomarginpar]{geometry} \usepackage{mathtools} \usepackage{enumitem} \begin{document} Some text some more text some more text some more text some more text some more text some more text some more text some more text. \begin{enumerate}[align = left,labelwidth =* ,labelsep*=-1pt,itemindent = ...


3

I am not entirely sure I understand everything you are trying to do but maybe this will help: \documentclass{article} \usepackage{enumitem} \begin{document} \begin{enumerate}[label=(\alph*), ref=\alph*] \item Thing 1\label{first} \item Thing 2 \item Thing 3 \item Thing 4 \end{enumerate} As I have said before: \begin{itemize} ...



Top 50 recent answers are included