I'm using the memoir class and the adjustwidth* environment to extend some parts of the text beyond the outer margins. It's a twoside document and if understand correctly the changepage package manual (which I believe is loaded with the memoir class), the starred environment should handle the switch between odd and even pages automatically.
It doesn't work for continuing paragraphs as stated in the memoir manual:
In fact, an additional lipsum paragraph that I inserted in order to check that statement (originally though that it applied only to the unstarred version of adjustwidth) seems to prove that it applies to the starred environment as well.
Is there any sensible way to automatically switch the margin that is being adjusted, for the case of paragraphs that cross pages? (I'm guessing this would have been included in the package if it were easy.)
For what it's worth I'm actually trying to temporarily change the margins for text that is inside a shaded environment or a tcolorbox that can cross pages.
A minimal working example is
\documentclass[10pt,twoside,onecolumn,openright,extrafontsizes,final]{memoir}
\usepackage{lipsum}
\begin{document}
\lipsum[1-2]
\strictpagecheck
\begin{adjustwidth*}{}{-30mm}
\lipsum[20-25]
\end{adjustwidth*}
\lipsum[3]
\begin{adjustwidth*}{}{-30mm}
\lipsum[4]
\end{adjustwidth*}
\end{document}
The result for page 1:
And for page 2:
Notice that the paragraphs that cross pages are extended on the wrong side of the page. On the contrary, the last paragraph in page 2 is set correctly.






\parshape. – Werner Jan 23 '19 at 23:34adjustwidthshould not be used for something that extends page breaks. If that is needed use other tools. – daleif Jan 24 '19 at 08:53