Text Formatting ⇒ description always bold?
description always bold?
Dear all hi again,
I have a simple question.
When I use description it automatically defines the caption of \item bold.
For instance,
(i)->(ii).
Is it possible to make it normal font instead of bold?
For instance,
(i)->(ii).
I know that this can be done by using itemize but when I use itemize the alignement is not in the form I want.
thanks.
I have a simple question.
When I use description it automatically defines the caption of \item bold.
For instance,
(i)->(ii).
Is it possible to make it normal font instead of bold?
For instance,
(i)->(ii).
I know that this can be done by using itemize but when I use itemize the alignement is not in the form I want.
thanks.
NEW: TikZ book now 40% off at Amazon.com for a short time.
-
- Posts: 105
- Joined: Fri Nov 30, 2007 11:32 pm
description always bold?
Most likely there is a better solution than the one below. But the following also works.
If you don't want to define a command then you can enter the item as the second item has been entered. Or you can define a command and use that instead as done for the third item.
Code: Select all
\documentclass[12pt]{article}
\def\MyItem[#1]#2{\item[{\rm #1}]#2}
\begin{document}
\begin{description}
\item[First item] This is the first item.
\item[{\rm Second item}] This is the second item.
\MyItem[Third item] This is the third item.
\end{description}
\end{document}
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
description always bold?
Have a look at the enumitem package to customize list environments like description and adapt the given advices to your needs.
Best regards
Thorsten¹
Best regards
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
- Stefan Kottwitz
- Site Admin
- Posts: 10321
- Joined: Mon Mar 10, 2008 9:44 pm
description always bold?
Hi,
the description environment is defined by document classes or packages. For instance if you are using the article class you could solve your problem by:
If you are using a different class let us know.
Stefan
the description environment is defined by document classes or packages. For instance if you are using the article class you could solve your problem by:
Code: Select all
\renewcommand*\descriptionlabel[1]{\hspace\labelsep\normalfont #1}
Stefan
LaTeX.org admin
description always bold?
Thanks to all,
I am using article class and the code
works perfect.
I am using article class and the code
Code: Select all
\renewcommand*\descriptionlabel[1]{\hspace\labelsep\normalfont #1}
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
description always bold?
Just for the record and to demonstrate the easy handling of the suggested package.
Code: Select all
\documentclass[11pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{babel}
\usepackage{enumitem}
\usepackage{lmodern}
\usepackage{blindtext}
\setdescription{font=\normalfont}
\begin{document}
\blindtext
\begin{description}
\item[blindtext:] \blindtext
\end{description}
\blindtext
\end{document}
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