[solved] plain TeX: different margins for odd and even pages
Bo Thide´
bothide at gmail.com
Sun Oct 26 19:55:15 CET 2025
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), <
elliniko.institouto at gmail.com> 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.*
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/texhax/attachments/20251026/808b0852/attachment.htm>
More information about the texhax
mailing list.