{sans-serif} fonts are those that do not have the small projecting features called "serifs" at the end of strokes.

learn more… | top users | synonyms

32
votes
2answers
19k views

\bfseries is to \textbf as WHAT is to \textsf

Neither of \sfseries nor \sfshape seem to work. So what is the command I'm looking for to change the current group to sans serif? \bfseries, \scshape and \itshape work, but I can't find the sans serif ...
28
votes
1answer
13k views

Simplest way to typeset entire document in sans serif (Helvetica)

How do I typeset an entire document in Helvetica/sans serif without littering the document with font changes for every heading/paragraph, etc.? Like this but with the paragraphs all in Helvetica. For ...
19
votes
3answers
4k views

Is \mathrm really preferable to \text? [duplicate]

It seems to be the de facto standard to use \mathrm for upright letter notation in math mode as opposed to \text. Would it not be better to use \text in general? One particular problem I am thinking ...
18
votes
5answers
4k views

Is there a sans-serif font that appears different for I (capital i) and l (small L)?

Is there a sans-serif font that appears different for I and l? If we are not familiar with "Kim Jong Il", we might spell his name as Kim Jong Two or other incorrect ones.
17
votes
1answer
4k views

The right way to get sans-serif math?

I notice that beamer has everything in sans-serif by default, including math. In a regular article, simply using \sffamily doesn't cause math to be set in sans-serif. Using ...
14
votes
3answers
2k views

traditional German sans-serif (and serif) blackboard-bold symbols

What I have always been looking for in LaTeX were traditional German sans-serif blackboard-bold letters, mainly for: N (natural numbers), Z (integers), Q (rational numbers), R (reals), C (complex ...
13
votes
1answer
1k views

Style question: serif or sans fonts in figure and chart text?

Question for you design-y types: I like to use a serif font for all my text (title, headings, body). What I'd like to know is whether you think that I should go with a serif or sans serif for text in ...
12
votes
2answers
12k views

Bold sans-serif font in LaTeX

How can one format a chapter or section heading in bold using a sans-serif font? I tried \textsf{\textbf{bold sans-serif text}}, but it does not seem to work. Any idea?
12
votes
4answers
12k views

Typeset mathematical symbols also in sans serif font?

For creating the graphics for my thesis (function graphs, flow charts, line art sketches) I've chosen to use the sans serif font by \renewcommand\familydefault{\sfdefault} However when I use ...
12
votes
3answers
2k views

Book cover fonts

I am typesetting my first book. I am using Computer Modern for the font. I am trying to decide which font to use for the covers/dust jacket. I took a look at a number of similarly formatted books, ...
12
votes
4answers
7k views

When to use serif and when to use sans serif font family

This is not a technical question. However as the FAQs say this place is about people who love to create well-structured and beautifully typeset documents I take my shot. I am often confused ...
11
votes
2answers
791 views

Microtype warning with lmodern package and KOMA-script

With a simple document \documentclass{scrreprt} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{microtype} \usepackage{lmodern} \begin{document} \chapter{Test test test} ...
10
votes
2answers
2k views

Why does \usepackage[T2A]{fontenc} take over?

I want to produce a document with non-serif type. I also want to include Cyrillic characters. These two aims seem to be mutually exclusive. When I comment out \usepackage[T2A]{fontenc}, the document ...
10
votes
2answers
286 views

Uneven spacing around a hyphen in sans-serif?

I am used to writing the names of categories in sans-serif. Thus, for the category of R-modules, I have been using $R\textrm{-}\textsf{Mod}$ However, the kerning/spacing this produces has never ...
10
votes
2answers
3k views

How to typeset some text including math content in sans serif

I have a blurb of text in an external macro \SomeText, which I want to typeset in sans serif. However, \sffamily\SomeText does not change the math font and \sffamily\mathsf{\SomeText} does not work, ...
10
votes
1answer
348 views

Space between the two slashes in “http://” too big

I'm using a lot of links with http:// in my document, but the two slashes are too much separated, I'd like them to be more near each other. How do I do this, in a neat way? I'm using a sans-serif ...
10
votes
1answer
721 views

The font of operator names

What is the correct way of having all operator names be set in, say, sans serif? Saying \documentclass{article} \usepackage{amsmath} \makeatletter \def\operator@font{\sf} \makeatother ...
9
votes
2answers
5k views

PGF/TikZ and Sans Serif Fonts

I have a TikZ/PGF file created directly by a graphing package of the form \begin{tikzpicture}{dimensions} ... \end{tikzpicture}. The file uses \pgftext[...]{\selectfont{Some text here or ...
9
votes
1answer
3k views

Bold , italic (and sans-serif) math symbols

I would like to implement the suggestions in the TUGboat 30:3, 2009 about the upright/italic and bold/normal in scalars, vectors and tensors. All this is about math. I use this font: ...
9
votes
2answers
10k views

Bold, italic math (\bm) and sansmath

I'm typesetting both text and math in Latin Modern, except for the figures, where I would like to use a sans serif font for both text and math. I need to follow the ISO recommendations for math ...
8
votes
3answers
445 views

How to switch easily between normal font and sans-serif font for maths?

I would like to switch easily to sans-serif font, even for the mathematical symbols. Is it possible? So far is what I have tried : \documentclass{article} ...
8
votes
1answer
414 views

Default sans-serif for T1

When using \usepackage[T1]{fontenc}, my understanding was that the fonts were pretty much the same as the defaults, except that they carried native accentuated characters. Now, I use sans-serif in my ...
8
votes
2answers
770 views

Does latin modern sans serif have a weird kerning, or is there a problem on my side?

I don't know whether it's my brain, or my pdf reader, or a missing font on my system. I know I'm asking for Latin Modern, Sans Serif because it's for a presentation, and the result looks weird: I ...
7
votes
5answers
2k views

Sans serif font with distinguished capital I for math.

I work a lot with matrix algebra. I also give a lot of presentations. It'd be nice to have a good sans serif font to use for both. Currently, my choice is the bitstream vera sans with math package: ...
7
votes
2answers
165 views

How to make ellipsis work with sans serif font?

Problem/question It seems that the ellipsis package does not work with sans-serif fonts. Is it a known problem or maybe not a problem at all? This question follows this one, about "how to change the ...
7
votes
1answer
923 views

cfr-lm & sans serif small caps

How can I have the sans serif small caps with this fonts? \documentclass{book} % Latin Modern with oldstyle digits \usepackage[% rm={oldstyle,proportional},% sf={oldstyle,proportional},% ...
7
votes
1answer
160 views

How to have Helvetica or helvet font with lualatex having similar look as with pdflatex?

Continuing the migration to lualatex, how to have the same aspect for sans serif fonts in lualatex as with pdflatex ? Is there something I haven't install or is it the wrong commands ? ...
7
votes
2answers
221 views

Using sans font for tick labels in pgfplots

I am using a sans font for my figures. Hence I also want the tick labels of the pgfplots to be in sans. The tick labels, however, are set in a math enviroment. So changing the text font does not ...
7
votes
1answer
5k views

How do I change a font document wide?

How do I change a font for a latex document? I am using the \documentclass{article}, which sets the document in a serif font. I also declared \usepacke{helvet}, since thats the font I would like to ...
7
votes
1answer
458 views

Name of default “sffamily” font

I'm using LaTeX (texlive) in Debian Wheezy. How can I determine which font is specified by \sffamily?
7
votes
1answer
164 views

How to Recover my Bold SF Fonts

I was inspired by this link to try EulerVM with tgpagella packages: How do I set LaTeX to use AMS Euler for text and maths? But when this is used with \documentclass{scrbook}, it seems that my ...
6
votes
3answers
206 views

Sans-serif partial derivative symbol?

How can I typeset a partial derivative symbol (∂) in an upright, sans-serif font? I am using pdfLaTeX. I know this problem could be solved easily by switching to another engine — and feel free to ...
6
votes
3answers
2k views

sans serif font with siunitx

My students found this problem, which I could not solve. The percent is always printed in the serif font. Here is a test code: \documentclass[]{scrartcl} \usepackage[utf8]{inputenc} ...
6
votes
2answers
1k views

\textbf and \bf within Sans Serif

I'm using \renewcommand{\familydefault}{\sfdefault} so that my entire document is in sans serif, but I'm getting peculiar results with regards to formatting. I'm a rather sparse LaTeX user, but in ...
6
votes
1answer
3k views

Identity of LaTeX default sans serif font

What the the default sans serif font in LaTeX? If it is a clone what is it based upon?
6
votes
2answers
149 views

Reference to subequation forces serif font; how to work around?

I'm using the subequations environment in a book in which some text is in sans serif font. When I have a reference to a subequation, the reference comes out in a serif font, even if the surrounding ...
6
votes
1answer
422 views

How to set font to Serif in Beamer title only

I want to use a serif font for the title in the title slide only. I have tried: \documentclass[12pt]{beamer} \usefonttheme[stillsansserifsmall, stillsansseriftext]{serif} \title{\sc Great title} ...
6
votes
1answer
208 views

Typeset WHOLE document in sans-serif, Including Math Mode

The reigning answer for the Simplest way to typeset entire document in sans serif (Helvetica) completely disregards math-mode. This might be preferred when all math equations are set display style, ...
6
votes
1answer
478 views

Package “comicsans”: How to prevent setting of default fonts [duplicate]

I'm using the comicsans package and I noticed that it automatically changes a lot of default fonts to comics. I was wondering if there is some command to restore everything to the default fonts? ...
6
votes
1answer
336 views

How do I switch all fonts in a document to a sans-serif family? [duplicate]

Possible Duplicate: Simplest way to typeset entire document in sans serif (Helvetica) I use document class article and included \usepackage{helvet} I now begin my document with ...
6
votes
1answer
464 views

Missing symbols in the sansmath package

When using the sansmath package with the Arev font, symbols like + and = fail to appear in the compiled document. \documentclass{article} \usepackage{fouriernc} % use the Arev font ...
6
votes
1answer
173 views

Choosing sans-serif font, without changing anything else

How do I make Arev the font for the sans-serif family, but nothing else? I tried using \usepackage{arev} \usepackage[T1]{fontenc} as instructed on this page, but that made everything sans-serif. I ...
6
votes
1answer
1k views

Gill Sans - possible to use on Linux with pdflatex?

There are numerous old posts whose topic relates to using the font Gill Sans in LaTeX documents. The most notable are perhaps this post from 2007 and this one from 2010. The former gives a solution ...
6
votes
0answers
534 views

otf sans serif math only in figures

I was going to use a serif font (TG Pagella) for most of the text (including captions) and a sans serif font (Candara) for my (tikz) figures. For text this works nice, but not for maths. First I used ...
5
votes
3answers
778 views

Use sans-serif in a verbatim environment?

What is the right way get fancyvrb’s verbatim environment (or any other variation) to use \textsf as the font? I can do it with: \begin{Verbatim}[commandchars=\\\{\}] \textsf{Here’s some textsf.} ...
5
votes
2answers
862 views

sans serif math in tables and siunitx

I want to know the easiest way to ensure that the content inside a tabular, including siunitx columns is set using a/the sans serif math font. The normal document is set in serif font. This approach ...
5
votes
2answers
1k views

Change math font for figures only (including TikZ environments within figures)

In my document, I want the main text to be in the times font, and the math to be in the txfonts font. This I can do with the help of the txfonts package. However, I want everything that shows up in my ...
5
votes
3answers
4k views

Which sans serif and monospace fonts suit Century Schoolbook?

I find the Century Schoolbook family very legible for online documentation. However, I am unsure what sans serif (for typesetting, e.g., LaTeX package names) and monospace (for typesetting code) ...
5
votes
2answers
171 views

Removing gap above “Chapter X” introduces problems with the text formatting

I am trying to get the page layout of my thesis sorted out. I am using fancyhdr to give me the page number in the top right and chapter name in the top left with a horizontal rule under, and sectsty ...
5
votes
1answer
337 views

Sans serif fonts for section titles in ConTeXt

In LaTeX, some document classes specify sans serif fonts for chapter and section titles, and serif fonts for the main text of a document. what is the proper way to achieve this in ConTeXt? I have code ...