[texhax] \marginpar on both/changing margins

Uwe Lück uwe.lueck at web.de
Mon Jan 22 17:11:37 CET 2007


 > For pure LaTeX only something like
 >
 >     \marginpar{%
 >       \hspace*{\onesign<sum>}%
 >       \parbox{\marginparwidth}{<text>}%
 >       \hspace*{\othersign<sum>}}
 >
 > might do, where \onesign and \othersign a macros expanding
 > to `-' or to nothing depending on whether the page number is
 > odd or even.

Well, and moreover one of \onesign and \othersign must
add or subtract \marginparwidth ... Uwe. 



More information about the texhax mailing list