General"description" environment

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
trnbvn
Posts: 8
Joined: Mon Oct 06, 2008 9:24 pm

"description" environment

Post by trnbvn »

In the "description", items are bold. Is there any way I can redefine to have items in normal style?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

"description" environment

Post by Stefan Kottwitz »

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:

Code: Select all

\renewcommand*\descriptionlabel[1]{%
\hspace\labelsep\normalfont #1}
Stefan
LaTeX.org admin
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

"description" environment

Post by localghost »

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¹
trnbvn
Posts: 8
Joined: Mon Oct 06, 2008 9:24 pm

"description" environment

Post by trnbvn »

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:

Code: Select all

\renewcommand*\descriptionlabel[1]{%
\hspace\labelsep\normalfont #1}
Stefan
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

"description" environment

Post by localghost »

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}
trnbvn
Posts: 8
Joined: Mon Oct 06, 2008 9:24 pm

Re: "description" environment

Post by trnbvn »

Thanks
Post Reply