I want to use one font for text and another for dropped capitals. Unfortunately, the font catalogue states that one needs fontenc
parameter T1
and the other B1
.
Now, using T1
kind of works.
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{auncial,anttor}
\usepackage{lettrine}
\renewcommand{\LettrineFontHook}{\aunclfamily}
\begin{document}
\lettrine[lines=3]{L}{orem} ipsum ...
\end{document}
That is both fonts are used:
However, pdflatex
(rightfully) complains
./test.tex:9: LaTeX Error: Encoding scheme `B1' unknown.
at the lettrine command. Also, I noticed that the capital looks different when I use \usepackage[B1]{fontenc}
:
Is it possible to properly use fonts together that need different fontenc
settings? If so, how?
Best Answer
The documentation of
auncial
saysThis means that you need to declare the
B1
encoding as "secondary", announcing last the default encoding for the document:will be what you need for Western European languages.
The command
\aunclfamily
doesso you won't need anything special to go back from the B1 encoding, as the lettrine is typeset in a box, which forms a group.