Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

What the the default sans serif font in LaTeX? If it is a clone what is it based upon?

share|improve this question
1  
The default is Computer Modern Sans Serif, although, as the link says, it's recommended to instead use Latin Modern Sans. –  N.N. Oct 7 '11 at 9:21
2  
It's Computer Modern Sans Serif, a font designed by Knuth as part of the Computer Modern (meta)family. The Roman variant is inspired to Monotype Modern 8A; the Sans Serif variant has been generated by a "meta" process. –  egreg Oct 7 '11 at 9:22
    
I tagged this {computer-modern} even though this tag partially answers the question itself; this way people looking for info on CMSS will find this question more easily. –  doncherry Oct 7 '11 at 15:53
add comment

1 Answer

up vote 12 down vote accepted

The default sans serif font used by LaTeX is Computer Modern Sans Serif, a font designed by Knuth as part of the Computer Modern (meta)family.

The Roman variant is inspired to Monotype Modern 8A; the Sans Serif variant has been generated by a "meta" process, without any previous model in mind, I believe.

When the output encoding is T1 (\usepackage[T1]{fontenc}) the default font is European Modern Sans Serif, which was designed very similarly to Computer Modern, adding missing letters and diacritics needed to cover a wide range of European languages.

European Modern fonts have been converted to Type1 outline fonts as part of the CM-Super project. Another very similar font family is Latin Modern, also available in Type1 format (\usepackage{lmodern}). There's always some debate about what Type1 version is better.

When XeLaTeX or LuaLaTeX are used, the default is not changed, so one gets Computer Modern (Roman and Sans Serif). However, a call of

\usepackage{fontspec}

will change the default fonts to Latin Modern, as these are also available on all recent TeX distributions as OpenType fonts. There is, actually, an OpenType version of Computer Modern (CMU fonts), also in the TeX distributions.

share|improve this answer
    
To confuse the situation slightly, I'm using xelatex and hence have not used fontenc. I have not redefined the sans font so it is using whatever is the default. Is it still Europeon Modern Sans Serif? –  Darling Oct 7 '11 at 10:37
    
@Darling I've added info about XeLaTeX –  egreg Oct 7 '11 at 10:44
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.