Text Formattingif I use \sf the types get serif, but red !

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Metuschelach
Posts: 1
Joined: Thu Dec 03, 2009 10:47 pm

if I use \sf the types get serif, but red !

Post by Metuschelach »

Hello,
if I use \sf the types changes to serif typeface but with white filling and red edges. What could be the problem?

Metuschelach

Recommended reading 2024:

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

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

daleif
Posts: 199
Joined: Wed Nov 19, 2008 12:46 am

Re: if I use \sf the types get serif, but red !

Post by daleif »

without more information and a minimal example, it is impossible to say
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

if I use \sf the types get serif, but red !

Post by Stefan Kottwitz »

Hi,

\sf is obsolete, use \textsf or \sffamily instead, see LaTeX2e font selection.

Stefan
LaTeX.org admin
Post Reply