3

I'm currently using the Open Type Linux Libertine font. This font has many options available. In conventional word processing software, these options can easily be used when selecting the font. For example Linux Libertine G:pnum=1&onum=1 allows to get proportional old style numbers.

In LaTeX, I can use the fontspec package and use the table below to select a number of options. enter image description here

However, some options are not listed in this table. For example : dbls, dash, circ, hang, thou. . . The complete list of options available with this font is here.

How do I still access these options?

Here is a MWE :

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{fontspec}
\usepackage[utf8]{inputenc}
\usepackage{libertine}
\usepackage{babel}

\newcommand{\text}{Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean. A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth. Even the all-powerful Pointing.\par}

\begin{document}

\text

\end{document}
4

1 Answer 1

5

As the font description says, dbls is a Graphite font feature. So you need for example a new lualatex (based on luahbtex) and the Graphite Renderer:

\documentclass{article}

\usepackage{fontspec}

\setmainfont{Linux Libertine G}[Renderer=Graphite,RawFeature=+dbls]
\newcommand{\text}{Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean. A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth. Even the all-powerful Pointing.\par}

\begin{document}

\text

\end{document}

enter image description here

3
  • Thanks for your help, but the problem persists when using the Libertine package (which I prefer to continue using for the moment) even using the package with the command \usepackage[defaultfeatures={Renderer=Graphite, RawFeature=+dbls}]{libertine}. Note that in this period of containment, I have to work with the online editor Overleaf, which uses TeX Live 2019 (I don't know if this has anything to do with the problem).
    – Bastien
    May 4, 2020 at 18:42
  • Yet reading this post, I don't see what's different between the two cases.
    – Bastien
    May 4, 2020 at 18:43
  • 2
    imho it won't work on overleaf, it doesn't have luahbtex yet. And the package will not work, it doesn't load the "G" fonts (on my system the font used is in the windows fonts folder and called LinLibertine_R_G.ttf). May 4, 2020 at 18:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .