首字下沉導致某些文字行上的文字被推出

首字下沉導致某些文字行上的文字被推出

以大字首字開頭的段落的圖片

我希望文字保持齊平,但看起來上標和首字下沉都被推出了。我不知道我需要什麼來解決這個問題。另外,我希望該段落圍繞首字下沉,其中第一行從其頂部開始。有人能幫我嗎?謝謝你!

 \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

我絕對不會用《泰晤士報》來表達這樣的文字;但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}

相關內容