I would like to start each chapter of my thesis with a decorative initial. Specifically, I'd like to use the Typographer Caps (see here).
In the sty file I set my default font environment:
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{libertine}
and added the command to have the specific decorative initials font:
\input Typocaps.fd
\newcommand*\initfamily{\usefont{U}{Typocaps}{xl}{n}}
Then, in the tex file corresponding to one of the chapters, I typed:
\chapter{First chapter}
\initfamily{T}
he quick brown fox jumps over the lazy dog.
but as a result the whole chapter gets printed with that decorative font.
What am I doing wrong?
An alternative way
Taking inspiration from this great question, I could obtain a fairly good result by adding
\usepackage{lettrine}
\usepackage[dvipsnames]{xcolor}
in the sty file, and
\lettrine[lines=3]{\textcolor{BrickRed}T}{he quick brown fox}
in the tex file.
Nevertheless, there is no font switch between the initial capital letter and the following text, which is the reason why I'm asking this question.

\initfamilydoes not take an argument so the syntax is{\initfamily T}not\initfamily{T}– David Carlisle Mar 29 '17 at 15:36lettrinesolution, then you simply need to do:\renewcommand{\LettrineTextFont}{}(the default is\scshape). – jon Mar 29 '17 at 15:56