[Tex/LaTex] Drop cap using yfonts and yinipar on a double-spaced text

drop-cap

In reference to drop cap letters, and the thread

How can I create documents in LaTeX using a calligraphic first letter for chapters?

can anybody tell how to get rid of the space problem that occurs when one uses

\documentclass{article}
\usepackage{yfonts,color}
\doublespacing
\begin{document}
   \yinipar{\color{red}P}hysical properties [...]
\end{document}

What I get looks like this:

What I get looks like this:

How to make it look like this?

How to make it look like this?

I tried lettrine and various fonts, but was not satisfied with the effect they provided.

Any solutions?

Best Answer

You can get the desired result with lettrine:

\documentclass{article}
\usepackage{yfonts,color,lettrine}
\usepackage{setspace}

\doublespacing

\renewcommand{\LettrineFont}{\initfamily\color{red}}
\setcounter{DefaultLines}{3}
\AtBeginDocument{\setlength{\DefaultFindent}{0.5em}}
\setlength{\DefaultNindent}{0pt}
\renewcommand{\DefaultLraise}{0.15}

\begin{document}

\lettrine{P}{hysical} properties and
text text text text text text text text text text text text
text text text text text text text text text text text text
text text text text text text text text text text text text
text text text text text text text text text text text text
text text text text text text text text text

\end{document}

enter image description here

With \onehalfspacing change the value of \DefaultLraise:

\documentclass{article}
\usepackage{yfonts,color,lettrine}
\usepackage{setspace}

\onehalfspacing

\renewcommand{\LettrineFont}{\initfamily\color{red}}
\setcounter{DefaultLines}{3}
\AtBeginDocument{\setlength{\DefaultFindent}{0.5em}}
\setlength{\DefaultNindent}{0pt}
\renewcommand{\DefaultLraise}{-0.1}

\begin{document}

\lettrine{P}{hysical} properties and
text text text text text text text text text text text text
text text text text text text text text text text text text
text text text text text text text text text text text text
text text text text text text text text text text text text
text text text text text text text text text

\end{document}

enter image description here

Related Question