If I understand correctly from the answers to this question, the default OT1 encoding will not get me enough "font space" for the proper \l
character. On the other hand, I can't seem to get ligatures (like Th, or Qu) working if I enable this option. I need to show the \l
character though, and wonder if there is a way to get both (using plain LaTeX or PDFLaTeX as a compiler, don't want XeLaTeX cause its total layour is worse IMHO, or at least different than plain LaTeX, which makes me suspicious anyways).
MNWE:
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{libertine}
\title{This is Quantifiably finally ligatured text}
\begin{document}
\maketitle
I need the character \l too though.
\end{document}
With T1, not all ligatures show:
Without T1, the \l
character doesn't show:
Commenting out the fontenc
line, I get ligatures, but no proper \l
(expected behaviour, cfr. this question). But I really want both. How can I do this? I'd accept solutions changing how I get at the \l
character, as it only appears a small amount of times in nonessential text.
Best Answer
Load T1 before OT1, undeclare
\l
as an OT1 command and declare its default to be T1:Of course you lose some kerning pairs and hyphenation in words containing
\l
, but I don't think it's a big problem.Here's what I get after copying the glyph from the PDF viewer window and pasting it in Unicode Checker
Update
As of the version of
libertine
released on 2017/03/20, the\l
and\L
commands do the right thing also with the OT1 encoding.