I've enabled soft word wrap by default - here's the entry from customizations.el<div><br></div><div>     '(auto-word-wrap-default-function (quote set-word-wrap))<br></div><div><br></div><div>which works great for text mode. However, I cannot find a way to enable it by default for latex mode. Searching online I've found articles that indicate different ways to achieve this. I've listed the 3 below that I've found most often. </div>
<div><br></div><div><div>    (add-hook 'latex-mode-hook 'turn-on-word-wrap)  </div><div><br></div><div>    (add-hook 'latex-mode-hook</div><div>        (defun turn-on-word-wrap () (setq word-wrap t)))</div><div>
<br></div><div>    (add-hook 'latex-mode-hook</div><div>       (defun auto-word-wrap-default-function () (setq turn-on-word-wrap t)))</div></div><div><br></div><div>I've tried each of these, but none seem to enable soft word wrap by default when opening a .tex file. </div>
<div><br></div><div>Thanks for any pointers!</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div>