Re: [solved] plain TeX: different margins for odd and even pages

Bo Thide´ <[email protected]> Sun, 26 Oct 2025 19:55:15 +0100
Newsgroups gmane.comp.tex.texhax
Message-ID <CAJ4-SN1dawFSKai2OEt4+ZU92ziW=MGdmyd+Utpf1tDnDHdHeA@mail.gmail.com>
Have a look at the LaTeX memoir. It might have something useful for this.

____________________________________________________________________

Emeritus Professor Dr Bo Thidé
https://www.researchgate.net/profile/Bo_Thide
Swedish Institute of Space Physics (IRF),  P. O. Box 537,  SE-751 21 Uppsala


On Sun, 26 Oct 2025, 11:44 Philip Taylor (Hellenic Institute), <
[email protected]> wrote:

>
> On 25/10/2025 22:55, Rodolfo Medina wrote:
>
> In `pure' plain TeX, for me it also works with, more simply:
>
>
> \hoffset=-1in
> \voffset=-1in
> \special{papersize=420mm,297mm}
> \hsize=365 true mm
> \vsize=297 true mm
> \advance\voffset by5mm
> \advance\vsize by-10mm
> \newtoks \Knuthput
> \Knuthput = \output
> \output = {\ifodd \pageno \advance \hoffset by5mm \else \advance
> \hoffset by50mm \fi \the \Knuthput}
>
> Yes, if you prefer to eschew e-TeX's \<whatever>expr primitives, that is
> indeed a valid solution.  Well done Rodolfo.
>
> --
> *** Phil.*
>