[Tex/LaTex] How to change the font of the lettrine

fontslettrine

I would like to change the font of the letrrine

\renewcommand{\LettrineFontHook}{\fontfamily{the_name}}

\lettrine[lines=3, lhang=0.33, loversize=0.25]{B}{ecause}

using this font: http://www.ctan.org/tex-archive/fonts/script

which is installed in

/usr/local/texlive/2014/texmf-dist/fonts/type1/public/calligra-type1/callig15.pfb
/usr/local/texlive/2014/texmf-dist/fonts/afm/public/calligra-type1/callig15.afm
/usr/local/texlive/2014/texmf-dist/fonts/source/public/calligra/callig15.mf
/usr/local/texlive/2014/texmf-dist/fonts/tfm/public/calligra/callig15.tfm

However, I do not know how to specify correctly its name. I tried

\renewcommand{\LettrineFontHook}{\fontfamily{callig15}}

But it gives

Font Shape 'T1/callig15/m/n' undefined(font)

Thanks for your help!

nbi

Best Answer

You have to load calligra that defines the font; the family name will be calligra, but you can select it by \calligra. The font is very slanted, so findent should be specified.

\documentclass{article}
\usepackage{lettrine}
\usepackage{calligra}

\usepackage{lipsum} % just for the example

\renewcommand{\LettrineFontHook}{\calligra}

\begin{document}

\lettrine[lines=3, lhang=0.33, loversize=0.25, findent=1.5em]{B}{ecause}
\lipsum[1]

\end{document}

enter image description here

Related Question