I tried to wrote the code of an environment for acrostics, using cenverse and boldfirst, but it doesn't work (probably because cenverse use //
and boldfirst not).
\newcommand\dob[1]{\textbf{#1}}
\newenvironment{boldfirst}{\obeylines\everypar{\dob}}{}
\newenvironment{acrostic}[1]
{
\begin{midpage}
\def\cenverse#1\\{\settowidth{\versewidth}{#1}\begin{verse}[\versewidth]#1\\}
\begin{boldfirst}
}{
\end{boldfirst}
\end{verse}
\end{midpage}
\newpage
}
The final result must be one acrostic in the centre of every page, with the first letter of every line in bold. Each first letter must be aligned with the upper and the lower letters.
Example of the use:
\documentclass[a4paper,oneside]{book}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[T1]{fontenc}
\usepackage{verse}
\usepackage{midpage}
\usepackage{microtype}
\newcommand\dob[1]{\textbf{#1}}
\newenvironment{boldfirst}{\obeylines\everypar{\dob}}{}
\newenvironment{acrostic}[1]
{
\begin{midpage}
\def\cenverse#1\\{\settowidth{\versewidth}{#1}\begin{verse}[\versewidth]#1\\}
\begin{boldfirst}
}{
\end{boldfirst}
\end{verse}
\end{midpage}
\newpage
}
\begin{document}
\begin{acrostic}
Elizabeth it is in vain you say
Love not—thou sayest it in so sweet a way:
In vain those words from thee or L.E.L.
Zantippe's talents had enforced so well:
Ah! if that language from thy heart arise,
Breath it less gently forth—and veil thine eyes.
Endymion, recollect, when Luna tried
To cure his love—was cured of all beside—
His follie—pride—and passion—for he died.
\end{acrostic}
\end{document}
\documentclass
to\end{document}
so that people can use them to see the problem.