This is LuaHBTeX, Version 1.15.0 (TeX Live 2022)
Hello. I'm attempting to typeset some verses in lualatex. This is what I'd like to obtain: given the following mwe:
\documentclass{book}
\usepackage{showframe}
\usepackage{verse}
\newcommand{\attrib}[1]{%
\nopagebreak{\raggedleft\footnotesize #1\par}}
\renewcommand{\poemtitlefont}{\normalfont\large\itshape\centering}
\begin{document}
\settowidth{\versewidth}{We do injuriously by licensing and prohibiting,}
\begin{verse}[\versewidth]
\begin{center}
Though all the winds of doctrine\\
Were let loose to play upon the earth;\\
So Truth be in the field,\\
We do injuriously by licensing and prohibiting,\\
to misdoubt her strength.\\
Let her and falsehood grapple,\\
Who ever knew Truth put to the worse,\\
In a free and open encounter.
\end{center}
\end{verse}
\attrib{Milton}
\end{document}
As you can see, the first line is entirely misaligned with the rest of them, and even were it aligned, the entire block is misaligned with the normal print area, in fact, with the showframe package it appears to be right aligned.
verse
at all, it seems you want a standardcenter
environment