3
votes
1answer
93 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
0answers
76 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 ...
3
votes
1answer
85 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 ...
14
votes
3answers
372 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 ...
6
votes
1answer
355 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 ...
6
votes
1answer
457 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
187 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 ...
8
votes
1answer
317 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
220 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
370 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 ...
5
votes
2answers
796 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, ...
2
votes
0answers
105 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
470 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 ...
8
votes
2answers
3k 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
474 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
309 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
680 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
603 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 ...
7
votes
3answers
4k 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
520 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
4answers
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: ...