I'm using KOMA-Script and I would like to know how can I change the default font to FreeSans, or any other font-family? Also, how can I change all text to sans-serif?
For fonts that are packaged for use with LaTeX, the Font Catalogue usually tells you how to use them.
If you specifically want to use FreeSans (which, as far as I know, has not been packaged for LaTeX), the easiest way is to use the
I don't know about FreeSans, but if somebody has built a LaTeX package for your font, just loading the package should make that font the default sans-serif font. For example, add
In the rare case that there exists an .fd-file for your font but no LaTeX package, you need to look into that file for the LaTeX family name of this font and set the family manually by redefining
Finally, if there is no LaTeX support for your font and you do not want to switch to XeTeX or LuaTeX, there is the possibility to employ a tool such as