Re: plain TeX: different \hsize and \vsize for odd and even pages (was: plain TeX: different margins for odd and even pages)
David Carlisle <[email protected]> Wed, 8 Apr 2026 18:58:05 +0100
| Newsgroups | gmane.comp.tex.texhax |
|---|---|
| Message-ID | <CAEW6iOhqnR1Jf-YbBiJtRDAh660sTzJYkd33Jmht7sF1_0GsZA@mail.gmail.com> |
--000000000000fcdd33064ef6a4f4 Content-Type: text/plain; charset="UTF-8" changing at a forced page break is easy, basically \par \break \hsize=... \vsize=... Changing \vsize at an automatic page break is a bit more involved, changing \hsize at an automatic page break is verging on impossible, you need to control how many lines into a paragraph a page breaks and then set up a \parshape that mimics the change in \hsize at the page break. David On Wed, 8 Apr 2026 at 18:43, Rodolfo Medina <[email protected]> wrote: > Rodolfo Medina <[email protected]> writes: > > > [...] suppose I want to set different margins for add and even pages, > say 5mm > > left and 10mm right for odd pages and the opposite for even pages: please > > suggest whoever can a proper way to do it. > > > Solved that problem with listers TeX-perts' help, now suppose I want to do > the > same with \vsize and \hsize, i.e. set a different \vsize (and/or \hsize) > value > from odd to even pages: is it possibile? I mean in `pure' plain TeX. > > Thanks, > > Rodolfo > > --000000000000fcdd33064ef6a4f4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div><br></div><div>changing at a forced page break is eas= y, basically</div><div><br></div><div>\par</div><div>\break</div><div><br><= /div><div>\hsize=3D...</div><div>\vsize=3D...</div><div><br></div><div><br>= </div><div>Changing \vsize at an automatic page break is a bit more involve= d, changing=C2=A0\hsize at an automatic page break is verging on impossible= , you need to control how many lines into=C2=A0a paragraph a page breaks an= d then set up a \parshape that mimics the change in \hsize at the page brea= k.</div><div><br></div><div>David</div><div><br></div><div><br></div></div>= <br><div class=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class= =3D"gmail_attr">On Wed, 8 Apr 2026 at 18:43, Rodolfo Medina <<a href=3D"= mailto:[email protected]">[email protected]</a>> wrote:<br= ></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;= border-left:1px solid rgb(204,204,204);padding-left:1ex">Rodolfo Medina <= ;<a href=3D"mailto:[email protected]" target=3D"_blank">rodolfo.medi= [email protected]</a>> writes:<br> <br> > [...] suppose I want to set different margins for add and even pages, = say 5mm<br> > left and 10mm right for odd pages and the opposite for even pages: ple= ase<br> > suggest whoever can a proper way to do it.<br> <br> <br> Solved that problem with listers TeX-perts' help, now suppose I want to= do the<br> same with \vsize and \hsize, i.e. set a different \vsize (and/or \hsize) va= lue<br> from odd to even pages: is it possibile?=C2=A0 I mean in `pure' plain T= eX.<br> <br> Thanks,<br> <br> Rodolfo<br> <br> </blockquote></div> --000000000000fcdd33064ef6a4f4--