{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

30
votes
1answer
20k 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 ...
37
votes
2answers
23k 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 ...
18
votes
5answers
16k 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 ...
21
votes
3answers
6k 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 ...
7
votes
1answer
426 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, ...
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 ...
20
votes
1answer
6k 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 ...
20
votes
6answers
5k 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.
14
votes
3answers
3k 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 ...
11
votes
2answers
3k 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 ...
11
votes
2answers
4k 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
396 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 ...
9
votes
2answers
12k 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
1answer
6k 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 ...
15
votes
1answer
2k 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
14k 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?
8
votes
3answers
530 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} ...
7
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} ...
13
votes
4answers
9k 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 ...
10
votes
1answer
867 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
1answer
548 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 ...
7
votes
0answers
661 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 ...
4
votes
1answer
526 views

DejaVu Sans Light with XeLaTeX?

In XeLaTeX, it is possible to directly embed Unicode fonts via \newfontfamily\name_to_use{font name}. So I can, for example, write: \newfontfamily\dej{DejaVu Sans}, and later write \dej{unicode ...
0
votes
1answer
92 views

Sans-serif font in siunitx does not work with \electronmass

As default font, I want to have a serif font (MinionPro in my case). But for figure and table captions I like to use a sans-serif font (MyriadPro in my case). If I want to give a mass in electron ...
10
votes
2answers
312 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 ...
7
votes
2answers
216 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 ...
5
votes
1answer
363 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 ...
4
votes
1answer
269 views

Replace several letters in math font

I need to typeset a whole document sans serif with sourcesanspro, including formulas. I know that there are a lot of arguments against doing this, but in this particular case it makes sense. My ...
4
votes
2answers
1k views

Small caps with CMSS?

How can I use small caps with the CMSS font? When trying to set fontshape to "sc" I get a serif font or just no change (if I use fonthshapealone): result of example below: ...
3
votes
1answer
905 views

sans math version of Latin Modern

I am trying to get a sans math version of the lmodern family using \DeclareMathVersion but my approach does not work and I do not see why. But I have to admit that I am not sure whether I use the ...
2
votes
1answer
261 views

Custom typeface for sans serif in math mode

How to set custom typeface for sans serif in math mode for pdfLaTeX? Background: I use \usepackage[bitstream-charter]{mathdesign} which does not provide sans serif font, CM-super is used instead for ...
2
votes
1answer
702 views

Force font to computer modern (serif) in math mode although it is set to sans serif

I set my font to sans serif via \renewcommand{\familydefault}{\sfdefault} \usepackage{helvet,sfmath} Now I want to use some symbols -not all- (only normal letters or greek letters) from the ...
1
vote
1answer
40 views

htlatex html output droidsans

I am trying to use the font "Droid Sans" (as in http://www.tug.dk/FontCatalogue/droidsans/) in a html file generated from a tex-file. PDF I have succeeded in using the font as standard for a pdf by ...