[texhax] \marginpars on left

Michael Barr barr at math.mcgill.ca
Tue Mar 10 13:28:35 CET 2009

I tried the technique that Donald Arsenau suggested, namely
\makeatletter
\@mparswitchfalse
\makeatother
\newcommand\xlabel[1]{\marginpar[#1]{}\label{#1}}

Unfortunately, the effect is to turn off \marginpar entirely.  If I
replace the definition of \xlabel by
\newcommand\xlabel[1]{\marginpar{#1}\label{#1}}
(dropping the optional argument) I get all the labels on the right.  I
guess I can live with that.

Michael Barr