TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to use the light weight of the Open Sans package as my default font for a paper. It works perfectly fine using the following:


(of course there's more, but you get what I mean)

Although this works fine, I'm not really satisfied as this looks quite messy. I tried using renewcommand but could not figure out how to make \fontseries{l} \selectfont my default sans font.

Also, I'd like to do something similar for bold writing: I'd like to use \fontseries{sb} there. As I said before, this code (and thus the font weights) work like a charm when I use the mentioned commands within my document.

share|improve this question
semantically same question as in "How can one change an entire document to use bold font?" The first one should be generalized, rephrased and both should be merged. – Stefan K. Apr 14 '13 at 18:06
up vote 5 down vote accepted

The default font can be set by changing \encodingdefault, \familydefault, \seriesdefault, and \shapedefault. In your example, I would go for


to set the light sans font as the main font.

share|improve this answer
works great! Just in case anybody is looking for this: \renewcommand{\bfseries}{\fontseries{sb}\selectfont} makes the bold font semi-bold for me. – Daniel Apr 6 '13 at 11:00

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.