Erro de alinhamento de frases com o pacote lettrine

Erro de alinhamento de frases com o pacote lettrine

Quero alinhar as duas palavras iniciais em duas frases entre si ('ROM' na primeira linha com 'pode' na segunda linha)

insira a descrição da imagem aqui

Como eu poderia fazer isso? Aqui está o código de trabalho:

\usepackage{lettrine}
\begin{document}
\lettrine[lines=2]{\textbf{F}}{rom} they fine john he give of rich he. They age and draw  mrs like. Improving end distrusts may instantly was household applauded incommode. Why kept very ever home mrs. Considered sympathize ten uncommonly occasional assistance sufficient not. Letter of on become he tended active enable to. Vicinity relation sensible sociable surprise screened no up as.

\end{document} 

Depois de usar o pacote fix-cm

\documentclass[a4paper,11pt]{report}
\usepackage{lettrine}
\usepackage{fix-cm}
\begin{document}
\lettrine[lines=2]{\textbf{F}}{rom} they fine john he give of rich he. They age and draw  mrs like. Improving end distrusts may instantly was household applauded incommode. Why kept very ever home mrs. Considered sympathize ten uncommonly occasional assistance sufficient not. Letter of on become he tended active enable to. Vicinity relation sensible sociable surprise screened no up as.
  \end{document} 

insira a descrição da imagem aqui

Mas ainda duas palavras (ROM e Melhorar) não estão alinhadas.

Responder1

Para funcionar, lettrineé necessário um conjunto de fontes totalmente escalonáveis. O padrão Computer Modern não é, por razões históricas.

Você pode torná-los totalmente escaláveis ​​carregandofix-cm

\RequirePackage{fix-cm} % should be here
\documentclass{article}

\usepackage{setspace}
\usepackage{lettrine}

\setlength{\DefaultNindent}{0pt} % read the doc about it
\onehalfspacing

\begin{document}

\lettrine[lines=2]{\textbf{F}}{rom} they fine john he give of rich he. They age and draw
mrs like. Improving end distrusts may instantly was household applauded incommode. Why kept
very ever home mrs. Considered sympathize ten uncommonly occasional assistance sufficient
not. Letter of on become he tended active enable to. Vicinity relation sensible sociable
surprise screened no up as.

\end{document}

insira a descrição da imagem aqui

Alternativamente, adicione \usepackage{lmodern}.

Responder2

Você também deve usar o fornecido \LettrineFontHookpara especificar a série do capital descartado, eu acho. Ou seja, minha solução é muito parecidaegrégiamas com essa diferença:

\documentclass[a4paper,11pt]{report}
\usepackage{lettrine}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\renewcommand\LettrineFontHook{\bfseries}
\setlength{\DefaultNindent}{0pt}
\begin{document}
  \lettrine[lines=2]{F}{rom} they fine john he give of rich he. They age and draw  mrs like. Improving end distrusts may instantly was household applauded incommode. Why kept very ever home mrs. Considered sympathize ten uncommonly occasional assistance sufficient not. Letter of on become he tended active enable to. Vicinity relation sensible sociable surprise screened no up as.
\end{document}

Lettrina alinhada

informação relacionada