Me gustaría que el texto permaneciera alineado, pero parece que el superíndice junto con la letra mayúscula se han eliminado. No sé qué necesito para arreglar eso. Además, me gustaría que el párrafo se ajuste alrededor de la letra capitular donde comienza la primera línea en la parte superior. ¿Alguien me puede ayudar? ¡Gracias!
\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}
Respuesta1
Nunca usaría Times para ese tipo de texto; pero newtxtext
definitivamente es una mejor opción que el times
paquete obsoleto.
Hice algunos cambios: con una columna tan estrecha, la fuente debería ser más pequeña, lo que se logra escalando al 90%, con la correspondiente reducción del salto de línea base.
Modifiqué la definición de \versenum
: insertastepositivokerns en lugar de negativos. Finalmente, microtype
hace maravillas.
Para permitir la separación de palabras de la palabra después de un número de versículo, uso \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}
Respuesta2
Puede permitir más flexibilidad en el espacio en blanco para que el texto justifique
Pero como puede ver, los números de los versos rompen el espaciado de la línea base, por lo que también oculté la altura del superíndice.
\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}