
내가 답변을 올바르게 이해했다면이 질문, 기본 OT1 인코딩은 적절한 문자에 대한 충분한 "글꼴 공간"을 얻지 못합니다 \l
. 반면에 이 옵션을 활성화하면 합자(Th 또는 Qu 등)가 작동하지 않는 것 같습니다. 그래도 문자를 표시해야하며 \l
두 가지를 모두 얻을 수있는 방법이 있는지 궁금합니다 (일반 LaTeX 또는 PDFLaTeX를 컴파일러로 사용하고 XeLaTeX를 원하지 않습니다. 전체 레이아웃이 IMHO보다 나쁘거나 적어도 일반 LaTeX와 다르기 때문입니다. 어쨌든 나를 의심하게 만든다).
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}
T1의 경우 모든 합자가 다음을 표시하는 것은 아닙니다.
T1이 없으면 \l
캐릭터가 표시되지 않습니다.
해당 줄을 주석 처리하면 fontenc
합자가 표시되지만 적절한 \l
(예상되는 동작, cfr.이 질문). 하지만 저는 둘 다 정말 갖고 싶어요. 어떻게 해야 하나요? \l
중요하지 않은 텍스트에서는 아주 적은 횟수만 나타나기 때문에 캐릭터를 얻는 방법을 변경하는 솔루션을 받아들입니다 .
답변1
OT1 앞에 T1을 로드하고 \l
OT1 명령 선언을 취소하고 기본값을 T1로 선언합니다.
\documentclass{article}
\usepackage[T1,OT1]{fontenc}
\usepackage{libertine}
\UndeclareTextCommand{\l}{OT1}
\DeclareTextSymbolDefault{\l}{T1}
\title{This is Quantifiably finally ligatured text}
\begin{document}
\maketitle
I need the character \l{} too though.
\end{document}
물론 가 포함된 단어에서는 커닝 쌍과 하이픈이 일부 손실되지만 \l
큰 문제는 아니라고 생각합니다.
PDF 뷰어 창에서 글리프를 복사하여 유니코드 검사기에 붙여넣은 후 얻은 결과는 다음과 같습니다.
업데이트
libertine
2017/03/20에 출시된 버전부터 \l
및 \L
명령은 OT1 인코딩에서도 올바른 작업을 수행합니다.
\documentclass{article}
\usepackage{libertine}
\title{This is Quantifiably finally ligatured text}
\begin{document}
\maketitle
I need the characters \l{} and \L{} too though.
\end{document}
답변2
또 다른 방법은 글꼴 인코딩을 \l
사용하도록 다시 선언하는 것입니다.T1
\documentclass{article}
\usepackage[OT1]{fontenc}
\usepackage{libertine}
\let\oldl\l
\renewcommand{\l}{\begingroup\fontencoding{T1}\selectfont\oldl\endgroup}
\title{This is Quantifiably finally ligatured text}
\begin{document}
\maketitle
I need the character \l{} too though.
\end{document}
산출: