{sans-serif} fonts are those that do not have the small projecting features called "serifs" at the end of strokes.
sans-serif fonts are those that do not have the small projecting features called "serifs" at the end of strokes. The term comes from the French word sans, meaning "without".
LaTeX offers support both for changing one's entire document to sans-serif and for using sans-serif alongside serif. Questions about changing the font of an entire document should also use the fonts tag; some fonts have their own tags, such as helvetica.
There are several ways to switch into sans serif in one's document:
- The command
\textsf…}will convert letters into small caps. {\sffamily…}acts as a switch to turn small caps on within a group of braces; in particular, it can combine with other formatting switches.\mathsf{…}produces sans serif in math mode.\sfis deprecated. Don't use it.
Frequently Asked Questions
- What's the simplest way to typeset the entire document in sans-serif? (Helvetica)
- After that, how can I also get all math in sans-serif?
\bfseriesis to\textbfas what is to\textsf?- How can I make vectors bold and italic within a
sansmathenvironment? - What are the usage guidelines for serif vs. sans-serif?
- How can I get a bold sans-serif font in LaTeX?