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}
\def\mySfFamily{\fontfamily{cmbr}\selectfont\sffamily}
\def\N{\mathbf{N}}
\def\R{\mathbf{R}}
\def\Q{\mathbf{Q}}
\def\Z{\mathbf{Z}}
\def\C{\mathbf{C}}
\begin{document}
\begingroup
\mySfFamily
This should be sans-serif : $\R, \Q, \N, \Z, \C$ are sets.
\endgroup
\bigskip
This should be serif : $\R, \Q, \N, \Z, \C$ are sets.
\end{document}

But as you see, it doesn't work for maths. I have chosen the font \fontfamily{cmbr} because of this post.



\def\N{\textbf{\textsf{N}}}– Sigur Oct 15 '13 at 22:26$x\in\R$where theRwas serif and then later read$x\in\R$where theRwas san-serif. It would make me think the author had two different (though possibly related) sets in mind. – A.Ellett Oct 16 '13 at 17:52