I posted a too general question (Change margins locally (for text)), but my need is to solve about a particular environment, for I have to obtain some verses (original and translation) in parallel lines. Please, consider this code:
\documentclass[a4paper,11pt]{article}
\usepackage{fontspec}
\usepackage{polyglossia}
\setmainlanguage[babelshorthands=true]{italian}
\setotherlanguage[variant=polytonic]{greek}
\newfontfamily\greekfont[Scale=MatchLowercase]{GFS Didot}
\usepackage[a4paper]{geometry}
\usepackage{changepage}
\usepackage{parallel}
\newenvironment{verseparallel}[2]
{\begin{Parallel}{}{}\footnotesize\parindent=0pt
\ParallelLText{\leavevmode#1}\ParallelRText{#2}}
{\end{Parallel}}
\begin{document}
\begin{adjustwidth}{-1cm}{-1cm}
\begin{verseparallel}
{\begin{greek}%
τὸν δ᾽ Ἄργος προσέειπεν ἀμηχανέων κακότητι:\\
‘Αἰολίδην Φρίξον τιν᾽ ἀφ᾽ Ἑλλάδος Αἶαν ἱκέσθαι\\
ἀτρεκέως δοκέω που ἀκούετε καὶ πάρος αὐτοί,\\
Φρίξον, ὅτις πτολίεθρον ἀνήλυθεν Αἰήταο,\\
κριοῦ ἐπεμβεβαώς, τόν ῥα χρύσειον ἔθηκεν\\
Ἑρμείας: κῶας δὲ καὶ εἰσέτι νῦν κεν ἴδοισθε.\\
τὸν μὲν ἔπειτ᾽ ἔρρεξεν ἑῇς ὑποθημοσύνῃσιν\\
Φυξίῳ ἐκ πάντων Κρονίδῃ Διί. καί μιν ἔδεκτο\end{greek}
}
{%
Vi era già prima noto, credo, che Frisso, nipote di Eolo,\\
venne ad Eete della Grecia; Frisso che giunse alla città di Eete,\\
cavalcando un montone che fu mutato da Ermes in oro,\\
e il vello potete ancora oggi vederlo\\
disteso sui folti rami di una quercia; poi,\\
come il montone stesso chiese,\\
lo sacrificò a Zeus, il figlio di Cronos,\\
nella sua veste di protettore di esuli.}
\end{verseparallel}
\end{adjustwidth}
\end{document}
For changepage
uses a list environment, I don't know how to fix my code. Infact I receive the following error:
! LaTeX Error: Something's wrong--perhaps a missing \item.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.40 \end{adjustwidth}
? ^[[A
ADDENDUM
Yes (here it's not relevant the columns width), but consider this code:
\documentclass[a4paper,11pt]{article}
\usepackage{fontspec}
\usepackage{polyglossia}
\setmainlanguage[babelshorthands=true]{italian}
\setotherlanguage[variant=polytonic]{greek}
\newfontfamily\greekfont[Scale=MatchLowercase]{GFS Didot}
\usepackage[a4paper]{geometry}
\usepackage{lipsum}
\usepackage{parallel}
\newenvironment{verseparallel}[2]
{\begin{Parallel}{0.45\textwidth}{0.51\textwidth}\footnotesize\parindent=0pt
\ParallelLText{\leavevmode#1}\ParallelRText{#2}}
{\end{Parallel}}
\begin{document}
\lipsum[1]
\newgeometry{lmargin=1.2cm,rmargin=1.2cm}
\begin{verseparallel}
{\begin{greek}%
τὸν δ᾽ Ἄργος προσέειπεν ἀμηχανέων κακότητι:\\
‘Αἰολίδην Φρίξον τιν᾽ ἀφ᾽ Ἑλλάδος Αἶαν ἱκέσθαι\\
ἀτρεκέως δοκέω που ἀκούετε καὶ πάρος αὐτοί,\\
Φρίξον, ὅτις πτολίεθρον ἀνήλυθεν Αἰήταο,\\
κριοῦ ἐπεμβεβαώς, τόν ῥα χρύσειον ἔθηκεν\\
Ἑρμείας: κῶας δὲ καὶ εἰσέτι νῦν κεν ἴδοισθε.\\
τὸν μὲν ἔπειτ᾽ ἔρρεξεν ἑῇς ὑποθημοσύνῃσιν\\
Φυξίῳ ἐκ πάντων Κρονίδῃ Διί. καί μιν ἔδεκτο\end{greek}
}
{%
Vi era già prima noto, credo, che Frisso, nipote di Eolo,\\
venne ad Eete della Grecia; Frisso che giunse alla città di Eete,\\
cavalcando un montone che fu mutato da Ermes in oro,\\
e il vello potete ancora oggi vederlo\\
disteso sui folti rami di una quercia; poi,\\
come il montone stesso chiese,\\
lo sacrificò a Zeus, il figlio di Cronos,\\
nella sua veste di protettore di esuli.}
\end{verseparallel}
\restoregeometry
\lipsum[2]
\end{document}
You'll realize that \newgeometry
breaks the page. Maybe, with changepage
is possible to produce an enlargement of a single part of page without breaking it in two different pages. I've a lot of bilingual quotations, some very small, and they have to stay in the same page, with the "normal" italian text