For a poetry book I would like to typeset all text on even pages \raggedleft and all text on odd pages \raggedright, including headings. Poems can span across multiple pages, so the change of text alignment should happen automatically at page breaks. Ideally this would work also with the verse package.
The intended result would be something like this:

Here's the spaghetti code for the example above:
\documentclass{scrbook}
\usepackage[paperwidth=11cm,paperheight=14cm]{geometry}
\usepackage{verse}
\setlength{\leftmargini}{0em} % no indentation for verses
\begin{document}
\strut
\clearpage
\raggedleft\textbf{A Limerick}
\begin{verse}
\raggedleft
There was an old party of Lyme \\
Who married three wives at one time. \\
When asked: ‘Why the third?’ \hspace{1em}\strut \\
He replied: ‘One’s absurd, \hspace{1em}\strut \\
And bigamy, sir, is a crime.’
\end{verse}
\clearpage
\raggedright\textbf{Love's lost}
\begin{verse}
I used to love my garden \\
\hspace{1em} But now my love is dead \\
For I found a bachelor’s button \\
\hspace{1em} In black-eyed Susan’s bed.
\end{verse}
\end{document}
I had a look at the following questions/answers but couldn't figure out how to solve my problem:
- Different \marginparsep for odd and even pages?
- different type areas on even/odd pages
- \raggedouter to typeset marginal text in twoside book
- Aligning verses differently
Maybe there is a low-level hack to switch the orientation of everything according to even/odd pages?
\raggedleft/\raggedrightsetting is relevant in the phase in which TeX is breaking a paragraph into lines; if one paragraph is split across two pages, you cannot automatically have the first half (on the first page) typeset\raggedleftand the second half typeset\raggedright. You need to interrupt the paragraph at the right spot, which is difficult to automate. – GuM Jul 19 '15 at 12:14