I'm using miktex 2.8 on Windows. For some reason, the \marginpar
command has stopped working. It used to work as expected, but not the lines will not wrap. I have se开发者_如何学Pythont marginparwidth
to 1in
and still the lines will not wrap, they just go right off the page (or right into the text for margin pars on the odd pages). If I change marginparwidth
to something smaller, I see the text move, so I think the value is being recognized, but I can't figure out what changed so that the text is not wrapping.
So the problem was \usepackage{pdfsync}. Evidently this is the old way to do PDF synchronization. The new way is to add "-synctex=-1" to the command for pdfTex. Using the synctex switch for pdflatex does not screw with the marginpar command, but using the pdfsync package does. Weird.
精彩评论