Text Formatting ⇒ description always bold?
description always bold?
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.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
-
curiouslearn
- Posts: 105
- Joined: Fri Nov 30, 2007 11:32 pm
description always bold?
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?
Best regards
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
- Stefan Kottwitz
- Site Admin
- Posts: 10397
- Joined: Mon Mar 10, 2008 9:44 pm
description always bold?
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
description always bold?
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?
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}Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10