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.

I have a document created with scrartcl class and I want to use the three Bera fonts: Serif, Sans and Mono, but I don't find the right way to change it with the KOMA-Script commands. Could someone tell me how do it?






Lorem ipsum

share|improve this question
Please post a Minimal Working Example providing at least the basics and, preferably, what you have tried. This is much more likely to get you help than asking would-be helpers to start from scratch with \documentclass.... –  cfr Mar 21 at 0:41
Loading the package bera the common way … Where’s your problem? (In other words I second cfr’s comment.) –  Speravir Mar 21 at 1:12
The rpoblem is that I don't lnow how to set the document for use that typeface. –  Aradnix Mar 21 at 2:18
The optional argument defaultsans you give for the commented package berasans is not defined for this. –  Speravir Mar 21 at 2:55
add comment

1 Answer 1

up vote 2 down vote accepted

There are three packages beramono, beraserif and berasans and a wrapper package bera, which loads all of them at once:


What I suspect from your example code is, that you want to set the sans serif font as the default. This can be achieved if you add the following line after the above package loading:


Note, that this package/these packages has/have no math support. You must care separately.

Let me at the end point you to the package dejavu (also a wrapper package); a cite from the package introduction:

This package contains the LaTeX support for the DejaVu fonts. These fonts are derived from the Vera fonts and there are already other Vera derivatives on CTAN (Bera and Arev). The main reason why I created support for the DejaVu fonts is that I am not satisfied with the Bera and Arev fonts for the Czech and Slovak languages. However, other people should also benefit from this package—the fonts support more languages and they have several additional styles.

share|improve this answer
Thanks a lot for your helping and suggestions, in fact I do not want to change the serif font for a sans serif, I want to use both in my document. About the maths, I think there is not a problem even if I can use correctly the siunitx package with these typefaces. –  Aradnix Mar 21 at 19:52
add comment

Your Answer


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.