[Tex/LaTex] How to use the condensed format of the OpenSans font

fonts

I would like to use the following formatting of the OpenSans font which are available according to the samples that are provided here:

  • OpenSansCondensed-Light
  • OpenSansCondensed-Bold
  • OpenSansCondensed-LightItalic

The font can easily be integrated using the opensans package, but how can I access the above formatting? Could anyone provide an example? Thanks for your help!

This is what I got so far:

\documentclass{article}
\usepackage{opensans}
\usepackage{lipsum}

\begin{document}

\lipsum[1]

\end{document}

Best Answer

You have to select the light series using \fontseries{lc}\selectfont where lc stands for light condensed. All fontseries can be found in the documentation for opensans at CTAN (page 5).

\documentclass{article}
\usepackage[default]{opensans}
\begin{document}
\fontseries{lc}\selectfont

Condensed

\textit{Condensed Italic}

\fontseries{bc}\selectfont
Condensed Bold
\end{document}

graphical presentation of the code example above