General ⇒ "description" environment
"description" environment
In the "description", items are bold. Is there any way I can redefine to have items in normal style?
NEW: TikZ book now 40% off at Amazon.com for a short time.
- Stefan Kottwitz
- Site Admin
- Posts: 10321
- Joined: Mon Mar 10, 2008 9:44 pm
"description" environment
Hi,
it depends on the document class you are using, because a description environment is usually defined by classes. For instance with article this redefinition of \descriptionlabel will work:
Stefan
it depends on the document class you are using, because a description environment is usually defined by classes. For instance with article this redefinition of \descriptionlabel will work:
Code: Select all
\renewcommand*\descriptionlabel[1]{%
\hspace\labelsep\normalfont #1}
LaTeX.org admin
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
"description" environment
Have a look at the enumitem package. More possible solutions may be found by using the search function of the forum.
Best regards and welcome to the board
Thorsten¹
Best regards and welcome to the board
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
"description" environment
It works beautifully! Thanks.
Stefan_K wrote:Hi,
it depends on the document class you are using, because a description environment is usually defined by classes. For instance with article this redefinition of \descriptionlabel will work:StefanCode: Select all
\renewcommand*\descriptionlabel[1]{% \hspace\labelsep\normalfont #1}
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
"description" environment
Just for the record a solution with the aforementioned enumitem package by inserting just two lines in the preamble.
Code: Select all
\usepackage{enumitem}
\setdescription{font=\normalfont}
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10