Text FormattingSans Serif font problem

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
kbr85
Posts: 2
Joined: Sat May 12, 2012 11:50 pm

Sans Serif font problem

Post by kbr85 »

Hi all,

I want to use bold italic letters with the sans serif font like in:

{\bfseries\itshape\sffamily bold italic sans-serif type}

but this only produces:

bold italic sans-serif type

and not:

bold italic sans-serif type

If I try to use the same with roman letter then it works fine. Any suggestions?

Recommended reading 2024:

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

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

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Sans Serif font problem

Post by Stefan Kottwitz »

Not every font provides this combination of properties. Latin modern does - try this:

Code: Select all

\documentclass{article}
\usepackage{lmodern}
\begin{document}
{\bfseries\itshape\sffamily bold italic sans-serif type}
\end{document}
Stefan
LaTeX.org admin
kbr85
Posts: 2
Joined: Sat May 12, 2012 11:50 pm

Re: Sans Serif font problem

Post by kbr85 »

It works
Thanks a lot!!!
Post Reply