General ⇒ How to make non-bold text in a bold context?
How to make non-bold text in a bold context?
\item[Here is a \unbold{non-bold} word:] And a description of it...
to look something like this:
* Here is a non-bold word: And a description of it...
Can you do that?
Thanks in advance.
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
Re: How to make non-bold text in a bold context?

Re: How to make non-bold text in a bold context?
i just "had" the same problem.

- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
How to make non-bold text in a bold context?
\textnormal does more than just switching to non-bold text. It could change other attributes like sans-serif, italic or slanted. For instance KOMA classes use a sans serif font for the description list. Have a look at the effect of \textnormal:
Code: Select all
\documentclass{scrartcl}
\begin{document}
\begin{description}
\item[Here is a \textnormal{non-bold} word:] And a description of it...
\item[Another item:] and its description
\end{description}
\end{document}
The command switching from bold to medium typeface is \textmd:
Code: Select all
\documentclass{scrartcl}
\begin{document}
\begin{description}
\item[Here is a \textmd{non-bold} word:] And a description of it...
\item[Another item:] and its description
\end{description}
\end{document}