6
votes
1answer
126 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 ...
5
votes
1answer
90 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, ...
2
votes
1answer
146 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 ...
0
votes
0answers
115 views

Set sans serif font for math

I'm using the following code to set sans serif font for math mode. \documentclass{memoir} \begin{document} \everymath{\mathsf{\xdef\mysf{\mathgroup\the\mathgroup\relax}}\mysf} $\Delta$ ...
2
votes
1answer
114 views

Fonts that look alike as text and as math

What fonts give similar look when used as text and within math environment? I'm particularly interested in sans serif fonts, but serif fonts are also very welcomed.
4
votes
1answer
100 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 ...
8
votes
3answers
364 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} ...
1
vote
1answer
570 views

How do I make \text{} in math mode fit the math font?

I am having a problem with text in formulas. I am setting tables in sans-serif in order to improve the readability. The math font stays serif for formulas or symbols within the table, when I switch ...
3
votes
1answer
362 views

Is there a bold italic \sigma and a sans serif bold italic \sigma?

And they look differently? I'm trying to typeset iso conform (vectors bold italic and tensors sans serif bold italic). Mechanical stress $\sigma$ is a tensor, but I also want to typeset the normal ...
1
vote
1answer
169 views

suddenly serifs in math mode

I have a problem since recently. When typesetting math, a new font is used, and I have no idea why. While usually, the variables look like this, $\lambda, \mathcal{X}, x, \sum$, i.e. without serifs on ...
4
votes
1answer
334 views

Does boldface sans-serif not work?

\documentclass{article} \newcommand{\nptime}{\ensuremath{\sf NP}} \newcommand{\bnptime}{\ensuremath{\sf\bf NP}} \begin{document} \nptime\\ \bnptime \end{document} I'm trying to make a macro to ...
18
votes
3answers
3k 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
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 ...
9
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: ...
2
votes
1answer
232 views

Sans serif math with corrected spacing

With the sfmath package I find that there is too little space between some symbols. In an expression like $n_1$ for instance the subscript is too close to the base. Although the space between the ...
10
votes
1answer
635 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 ...
1
vote
1answer
296 views

Missing 'pi'-Symbol from euler font in sans serif?

I want to set one formula in my document in a sans serif font. As a math font I use the eulervm-Package. Unfortunately, the \pi is missing (instead a small line appears). Here is a minimal example: ...
2
votes
1answer
550 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 ...
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, ...
3
votes
0answers
118 views

sansmath and boldmath--mutually exclusive? [duplicate]

Possible Duplicate: Make mathfont respect the surrounding family This question is similar to the Bold, italic math (\bm) and sansmath question, but with a few more requirements. I am ...
3
votes
1answer
719 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 ...
9
votes
2answers
8k 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 ...
5
votes
2answers
779 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 ...
2
votes
1answer
377 views

sfmath: bug or feature? Tildes are wrongly displayed

If I compile the following code (TeXLive 2011; Mac OS X 10.7.2, latexmk 4.26), I get wrongly placed tildes (in the middle of the letters instead of on top of them). Is this a bug? ...
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 ...
3
votes
1answer
878 views

upright sans serif fonts in mathematics (computer modern)

How to prepare document with Computer Modern fonts (using MikTeX 2.9) with upright sans serif fonts. Has anybody got an idea how to do it? I've tried sfmath package, but it produces sans serif ...
10
votes
4answers
10k 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 ...
5
votes
2answers
786 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 ...
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: ...