Text Formatting ⇒ Make margins of description the same as margins of enumerate
Make margins of description the same as margins of enumerate
I am about all: the left margin for the label, the space after the label, the indent of a new paragraph inside the list for `description`, to become exactly the same as the corresponding margins of `enumerate`.
I use `amsbook` class.
Please help.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Make margins of description the same as margins of enumerate
isn't aporton wrote:Please help to write suitable \renewenvironment to make the margins of `description` environment exactly the same as margins of `enumerate` environment.
{description}
label wider than an item bullet or number? What's the point, then?Have you considered using
{itemize}
instead of {description}
(testwise, perhaps)?The enumitem package may offer what you're looking for (so far, I only used it for adaptable
{enumerate}
lists; not sure what it does {description}
-wise).KR
Rainer
Make margins of description the same as margins of enumerate
I want it to work in the special case when therais wrote:isn't aporton wrote:Please help to write suitable \renewenvironment to make the margins of `description` environment exactly the same as margins of `enumerate` environment.{description}
label wider than an item bullet or number? What's the point, then?
Have you considered using{itemize}
instead of{description}
(testwise, perhaps)?
The enumitem package may offer what you're looking for (so far, I only used it for adaptable{enumerate}
lists; not sure what it does{description}
-wise).
KR
Rainer
{description}
label is thin.{itemize}
is not what I need.Make margins of description the same as margins of enumerate
what, just because the label's not in bold face when using itemize?porton wrote: I want it to work in the special case when the{description}
label is thin.
{itemize}
is not what I need.
\item[\textbf{...}]
should do it inside {itemize}
, then. Or perhaps
Code: Select all
\newcommand*\ditem[1][]{\item[\textbf{#1}]}
I'm just saying using
{itemize}
may be easier than adapting the {description}
environment.For the latter, see `texdoc enumitem'.
KR
Rainer