{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

29
votes
2answers
15k 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 ...
24
votes
1answer
8k 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 ...
16
votes
5answers
2k 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.
16
votes
3answers
2k 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 ...
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
3k 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 ...
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
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 ...
11
votes
2answers
670 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
1k 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
230 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
4answers
5k 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
292 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
4answers
9k 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 ...
9
votes
2answers
2k 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, ...
9
votes
2answers
7k 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 ...
9
votes
1answer
560 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 ...
8
votes
2answers
10k 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
336 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
2answers
4k 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 ...
8
votes
1answer
256 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
1answer
2k 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: ...
8
votes
2answers
623 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
1answer
645 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
4k 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
122 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
2answers
991 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
101 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
129 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
121 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
232 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
383 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
357 views

Name of default “sffamily” font

I'm using LaTeX (texlive) in Debian Wheezy. How can I determine which font is specified by \sffamily?
6
votes
0answers
415 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
1k 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} ...
5
votes
3answers
478 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
709 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
2answers
87 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
2answers
718 views

How can I tell lstlisting to use sans-serif when escaping to math mode?

Title says it all, an example follows: \lstset{ mathescape=true, basicstyle = \sffamily } \begin{lstlisting} func($x_0$) \end{lstlisting} Where and how can I set the math font used ...
5
votes
2answers
194 views

Computer Modern Bright font and blackboard bold symbols

I am trying to match the sans serif math font provided by cmbright with proper blackboard bold symbols (also sans serif). I found that the fourier and stix (xits?) fonts provide such symbols. But how ...
5
votes
1answer
298 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 ...
5
votes
1answer
706 views

Cyrillic sans font in beamer (LyX)

I am trying to use Cyrillic sans-serif font in a beamer presentation. I make it using LyX 2.0.0. The code produced by LyX (exported as plain LaTeX) is %% LyX 2.0.0 created this file. For more info, ...
5
votes
1answer
139 views

How do I format the whole document in sans-serif? [duplicate]

Possible Duplicate: Simplest way to typeset entire document in sans serif (Helvetica) I'd like to have all the font in my document to be sans-serif, i.e.: \textsf{} What is the best and ...
4
votes
2answers
200 views

Xelatex Calibri without serif math

I have to write a document in Calibri. Please find my minimal example thereafter. The issue is when I include some math, the design looks "ugly". Is there a way to change the serif math font and ...
4
votes
2answers
994 views

A better way to achieve sans-serif typeface in figure and table environments

For some of my style files, I would like to have a sans-serif typeface within my figures. I have code which seems to be working, \makeatletter \renewenvironment{figure}[1][\fps@figure]{ ...
4
votes
1answer
58 views

Package arev and sansmath

I would like to use the package sansmath and be able at the time to define a new symbol \varheart. To define the latter, following this answer, I use the code ...
4
votes
1answer
418 views

Using Open Sans font with LaTeX: Alphabetic chars right, numeric chars wrong

I've downloaded the Open Sans font from CTAN for use in MiKTeX on Windows (using pdfLaTeX). After the download, I just copied all the files into the MiKTeX root directory (= texmf). As described ...