Initialen führen dazu, dass Text in bestimmten Textzeilen herausgeschoben wird

Initialen führen dazu, dass Text in bestimmten Textzeilen herausgeschoben wird

Bild eines Absatzes, der mit einer großen Initiale beginnt

Ich möchte, dass der Text bündig bleibt, aber es sieht so aus, als ob die hochgestellte Zahl zusammen mit der Initiale nach außen gedrückt wird. Ich weiß nicht, was ich tun muss, um das zu beheben. Außerdem möchte ich, dass der Absatz um die Initiale herum verläuft, wo die erste Zeile oben beginnt. Kann mir jemand helfen? Danke!

 \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}

Antwort1

Ich würde Times nie für solche Texte verwenden; es newtxtextist aber auf jeden Fall eine bessere Wahl als das veraltete timesPaket.

Ich habe einige Änderungen vorgenommen: Bei so schmalen Spalten sollte die Schrift kleiner sein, was durch eine Skalierung auf 90 % und eine entsprechende Verringerung des Grundliniensprungs erreicht wird.

Ich habe die Definition von geändert \versenum: Sie haben eingefügtpositivKerns statt negativer. microtypeWirkt schließlich Wunder.

Um die Silbentrennung des auf eine Versnummer folgenden Wortes zu ermöglichen, verwende ich \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}

Bildbeschreibung hier eingeben

Antwort2

Sie können mehr Flexibilität im Leerraum zulassen, sodass der Text ausgerichtet wird

Bildbeschreibung hier eingeben

Aber wie Sie sehen, brechen die Versnummern den Grundlinienabstand, also habe ich auch die Höhe des hochgestellten

Bildbeschreibung hier eingeben

 \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}

verwandte Informationen