开发者

Why won't \marginpar wrap it's text?

开发者 https://www.devze.com 2022-12-14 01:46 出处:网络
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 marginparwid

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消