I'd like to use the Roboto font in one of my documents. I can load it like this:


This font supports these variants: regular, bold, medium, black, light, thin which can be activated by specifying them in the package options, like:

\usepackage[sfdefault, thin]{roboto}

But how can I change between the variants within my document? Most of the time I need light (so I load the package with the light option), but sometimes I need thin. How can I change between them in my document?

  • \renewcommand{\seriesdefault}{t}\selectfont when you want to use Thin. – egreg Jan 22 '16 at 19:05

Here's a way:



This is the Light version


This is the Thin version


This is the Light version again


enter image description here

  • 1
    Thanks, are these \fontseries{} values specific per font or are they always the same (given a font provides these variants at all)? – Foo Bar Jan 22 '16 at 19:28
  • 2
    @FooBar There are the standard ones m, b or bx, but for others one has to look in the package. – egreg Jan 22 '16 at 20:34
  • I think what you refer to as light is actually medium aka the default. Oh, wait -- once one used option thin it is as you claim. My bad. – Dirk Eddelbuettel Oct 4 '16 at 14:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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