I would like to use my selected sans serif font in place of my mathfs fonts. I know that there are so called mathversions which define different types of characters (letters, symbols, etc). I would be satisfied if I could set the basic Latin alphabetical math sans serif characters the same as my default text sans serif font. Is it possible, how?
-
If David Carlisle's answer does not solve the problem, please post a minimal working example (MWE) which shows the font configuration you are using. We do not even know if you are using (pdf)TeX or Lua/XeTeX or which font or in which encoding(s).– cfrMay 13, 2014 at 23:08
-
His solution is working perfectly in my configuration (using pdflatex, Latin-1 encoding, and tex gyre fonts).– bcsikosMay 14, 2014 at 9:30
1 Answer
\mathsf
is defined by
\DeclareMathAlphabet {\mathsf}{OT1}{cmss}{m}{n}
so you just need
\SetMathAlphabet\mathsf{normal}{OT1}{cmss}{m}{n}
with cmss
replaced by the LaTeX font family name of the font you want.