[Tex/LaTex] Change Roboto Medium to Roboto Regular variants

fonts

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?

Best Answer

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.

Related Question