I used to be very knowledgeable about TeX and LaTeX in the late eighties and early nineties, but I've been away from the fold for a long time. I'm pleasantly surprised at how much TeX-fu I still retain, but much has gone.
I'm using \marginpar to add some marginal annotations to a document:
The \side command is on a line by itself, but it applies to the last word on the preceding line. There's a newline at the end of the preceding line and because of that, the marginal note may appear beside the following line in the output.
I know of two ways to fix this, with a trailing %:
but neither of those are aesthetically satisying. I would prefer not to mutilate the preceding line, but to have the annotation occupy its own line in the TeX input.
Is it possible to have \side discard any whitespace immediately preceding its invocation? I haven't been able to find anything that works. I don't want to put all the regular text inside some environment either.