9

I would like to create a document with nonstandard quotation environment.

enter image description here

The goal is that on odd pages quotations have to be indent on the left, and on even pages in opposite way (indent on the right).

EDIT:

The Thomas F. Sturm's solution works well, but there is a problem with footnotes inside the myquotation box (see my question). Do you have another idea how to solve this task?

mc2
  • 307

1 Answers1

6

Something like that?

\documentclass[a4paper,12pt]{article}
\usepackage{lipsum,changepage}
\usepackage{parskip}
\usepackage[top=2cm,bottom=2cm,left=2cm,right=2cm]{geometry}
\usepackage[most]{tcolorbox}

\newtcolorbox{myquotation}{%
  blank,breakable,parbox=false,check odd page,left=2cm,
  toggle left and right}

\begin{document}

\lipsum[1-4]

\begin{myquotation}
\lipsum[1-4]
\end{myquotation}

\lipsum[1-2]

\end{document}

enter image description here