Is there a minipage
-like environment that allows pagebreaks? Everything I can find is about avoiding page breaks (which minipage
does well) but I want to indent a whole section, which is convenient to do by wrapping the section in minipage
as \leftskip
is overtaken by the environment enclosing this section.
[Tex/LaTex] Minipage that allows page breaks
indentationminipagepage-breaking
Best Answer
Another option is to use
adjustwidth
from thechangepage
package- see example belowNote that the
adjustwidth
environment takes 2 arguments, the first is the indent from the left of the page, the second is the indent from the right of the page. I putshowframe=true
when I loaded thegeometry
package just for demonstration.If you plan to use this idea at lots of different places throughout the document, it is probably worth defining your own environment, something like
which could then be used as
If your document is
twosided
then you can adjust the width different for even and odd sides- see the documentation for more details.