Hi,
I'm a young professor working on my first set of lecture notes for a class I'm teaching. For the formatting, I want to have two sorts of sections for the book: one for example problems and one for example solutions. To differentiate the two, I'd like to be able to put one into sans-serif fonts (or Euler fonts if that turns out easier but I'd prefer sans-serif). I know how to change the default text font back and forth but I'd like to have an easy way to change the math font too using a command in my environment, rather than having to put \mathsf{...} in every formula. Is there a good way to do this?
YP
Fonts & Character Sets ⇒ Changing Math Fonts
Changing Math Fonts
If you were OK with using XeLaTeX, the mathspec package could make this easy. (Read the documentation.)
I don't know offhand of a very easy way to do it with regular latex or pdflatex, but perhaps someone else will.
I don't know offhand of a very easy way to do it with regular latex or pdflatex, but perhaps someone else will.
Re: Changing Math Fonts
As a student, I can only say: Please don't do this, please don't do this. Please.
In fact, I've never seen any document formatted like you described it.

In fact, I've never seen any document formatted like you described it.

OS: Win 7 64-bit LaTeX: MikTeX 2.9 64-bit Editor: TXC 1 RC1
Changing Math Fonts
You could try the font-change package. I've never used it, so I have no idea how it works.
Changing Math Fonts
the sansmath package (on ctan) might help -- seeyoungprof wrote:
I'm a young professor working on my first set of lecture notes for a class I'm teaching. For the formatting, I want to have two sorts of sections for the book: one for example problems and one for example solutions. To differentiate the two, I'd like to be able to put one into sans-serif fonts (or Euler fonts if that turns out easier but I'd prefer sans-serif). I know how to change the default text font back and forth but I'd like to have an easy way to change the math font too using a command in my environment, rather than having to put \mathsf{...} in every formula. Is there a good way to do this?
docs at http://mirror.ctan.org/macros/latex/con ... nsmath.pdf
(it has a rather limited range of fonts, so _do_
read the docs first.)
Changing Math Fonts
it's a plain tex package, and i thought it didn'tshadgrind wrote:You could try the font-change package. I've never used it, so I have no idea how it works.
deal with maths. (i wrote the catalogue entry, but
that was some time ago, and i only scanned the docs
beforehand.)