0

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

\usepackage[sfdefault]{roboto}

It should support variants regular, bold, medium, black, light, thin.

I need to change between Regular and Medium variant, but it doesn't seem to work for me. I tried both

\usepackage[sfdefault, regular]{roboto}
\usepackage[sfdefault, medium]{roboto}

and they look the same; besides resolving this still doesn't offer solution to using BOTH in one document. Any thoughts what I am doing wrong?

  • Welcome to TeX.SX! Do you really need to use pdflatex? More flexibility is provided by xe-/lualatex and fontspec. – TeXnician Aug 3 '17 at 9:22
  • I was already checking it out, but yes, I need pdflatex. – temi Aug 3 '17 at 9:26
  • Does tex.stackexchange.com/questions/288959/… help? – egreg Aug 3 '17 at 10:28
  • Tried the exact same thing with medium/regular, doesn't work. Maybe a bug in the package... – temi Aug 3 '17 at 11:16
1

The medium option changes the bold font (\bfseries):

enter image description here

enter image description here

If you want to change the normal font (\mdseries) use the options light or thin.

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.