Буквица приводит к выталкиванию текста на определенных строках.

Буквица приводит к выталкиванию текста на определенных строках.

Изображение абзаца, начинающегося с большой буквицы

Я хотел бы, чтобы текст оставался ровным, но, похоже, верхний индекс вместе с буквицей выталкиваются. Я не знаю, что мне нужно, чтобы это исправить. Также я хотел бы, чтобы абзац обтекал буквицу, где первая строка начинается сверху. Может кто-нибудь мне помочь? Спасибо!

 \documentclass{article}
\usepackage{times}
\usepackage{lettrine} % For creating drop caps
\usepackage{yfonts}   % For Goudy Initialen font
\usepackage{xcolor} % Provides \textcolor
% Set the page geometry with default text width
\usepackage{geometry}
\geometry{
    paperwidth=9.4in,
    paperheight=6.8in,
    headheight=0pt, % Remove header
    headsep=0pt,    % Remove space for header
    footskip=0pt,   % Remove footer
    marginparwidth=0pt, % Remove marginal notes
    marginparsep=0pt,   % Remove separation for marginal notes
    textwidth=50mm,
    textheight=130mm,
    top=71.86614pt,
    inner=35mm, 
}
\pagestyle{empty}
\definecolor{maroon}{RGB}{128,0,0}
% Define a new command for the verse number that allows for future styling
% Define a new command for the verse number that allows for future styling
\newcommand{\versenum}[1]{%
  \kern1pt% Negative kern to reduce space before the verse number
  \textsuperscript{\textbf{\textcolor{maroon}{#1}}}%
  \kern0.5pt% Negative kern to reduce space after the verse number
}


\begin{document}
\setlength{\baselineskip}{9.5pt}
\setlength{\parskip}{.75pt}
 \lettrine[lines=4, findent=0pt, nindent=0pt, loversize=-0.99]{\initfamily \textcolor{maroon}{B}}lessed be the God and father of our Lord Jesus Christ. 
 \versenum{2}According to his great mercy, He has caused us to be born again, to a living hope through the resurrection of Jesus Christ from the dead.
\versenum{3}To an inheritance that is imperishable, undefiled, and unfading, kept in heaven for you and here is some more text to make the pushed text up top more noticeable
\end{document}
\end{document}

решение1

Я бы никогда не использовал Times для такого текста, но newtxtextэто определенно лучший выбор, чем устаревший timesпакет.

Я внес некоторые изменения: при такой узкой колонке шрифт должен быть меньше, что достигается масштабированием на 90% с соответствующим уменьшением пропуска базовой линии.

Я изменил определение \versenum: вы вставилиположительныйкерны, а не отрицательные. Наконец, microtypeтворит чудеса.

Чтобы разрешить перенос слова после номера стиха, я использую \nobreak\hspace{0pt}.

\documentclass{article}
\usepackage[scale=0.9]{newtxtext}
\usepackage{microtype}
\usepackage{lettrine} % For creating drop caps
\usepackage{yfonts}   % For Goudy Initialen font
\usepackage{xcolor} % Provides \textcolor
% Set the page geometry with default text width
\usepackage{geometry}
\geometry{
    paperwidth=9.4in,
    paperheight=6.8in,
    headheight=0pt, % Remove header
    headsep=0pt,    % Remove space for header
    footskip=0pt,   % Remove footer
    marginparwidth=0pt, % Remove marginal notes
    marginparsep=0pt,   % Remove separation for marginal notes
    textwidth=50mm,
    textheight=130mm,
    top=71.86614pt,
    inner=35mm, 
}
\pagestyle{empty}

\definecolor{maroon}{RGB}{128,0,0}

\renewcommand{\LettrineFontHook}{\initfamily\color{maroon}}
\newcommand{\versenum}[1]{%
  \textsuperscript{\textbf{\textcolor{maroon}{#1}}}%
  \nobreak\hspace{0pt}\ignorespaces
}
\newcommand{\dropcap}[1]{%
  \lettrine[
    lines=4,
    findent=0pt,
    nindent=0pt,
    loversize=-0.99
  ]{#1}{}%
}

\linespread{0.9}

\begin{document}

\dropcap{B}lessed be the God and father of our Lord Jesus Christ. 
\versenum{2}
According to his great mercy, He has caused us to be born again, 
to a living hope through the resurrection of Jesus Christ from the dead.
\versenum{3}To an inheritance that is imperishable, undefiled, and 
unfading, kept in heaven for you and here is some more text to make 
the pushed text up top more noticeable

\end{document}

введите описание изображения здесь

решение2

Вы можете позволить себе больше гибкости в использовании пустого пространства, чтобы текст был выровнен

введите описание изображения здесь

Но, как вы видите, номера стихов нарушают интервал между базовыми строками, поэтому я также скрыл высоту надстрочного индекса.

введите описание изображения здесь

 \documentclass{article}
\usepackage{times}
\usepackage{lettrine} % For creating drop caps
\usepackage{yfonts}   % For Goudy Initialen font
\usepackage{xcolor} % Provides \textcolor
% Set the page geometry with default text width
\usepackage{geometry}
\geometry{
    paperwidth=9.4in,
    paperheight=6.8in,
    headheight=0pt, % Remove header
    headsep=0pt,    % Remove space for header
    footskip=0pt,   % Remove footer
    marginparwidth=0pt, % Remove marginal notes
    marginparsep=0pt,   % Remove separation for marginal notes
    textwidth=50mm,
    textheight=130mm,
    top=71.86614pt,
    inner=35mm, 
}
\pagestyle{empty}
\definecolor{maroon}{RGB}{128,0,0}
% Define a new command for the verse number that allows for future styling
% Define a new command for the verse number that allows for future styling
\newcommand{\versenum}[1]{%
  \leavevmode % make sure the following is horizontal not vertical
  \kern1pt% Negative kern to reduce space before the verse number
  \smash{\textsuperscript{\textbf{\textcolor{maroon}{#1}}}}% hide the height
  \kern0.5pt% Negative kern to reduce space after the verse number
}
\usepackage{microtype}
\setlength\emergencystretch{1cm}


\begin{document}
\setlength{\baselineskip}{9.5pt}
\setlength{\parskip}{.75pt}
 \lettrine[lines=4, findent=0pt, nindent=0pt, loversize=-0.99]{\initfamily \textcolor{maroon}{B}}lessed be the God and father of our Lord Jesus Christ. 
 \versenum{2}According to his great mercy, He has caused us to be born again, to a living hope through the resurrection of Jesus Christ from the dead.
\versenum{3}To an inheritance that is imperishable, undefiled, and unfading, kept in heaven for you and here is some more text to make the pushed text up top more noticeable
\end{document}

Связанный контент