This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;;; This file is a hack to make longlines-mode to work better in latex-mode. | |
;; 1. It makes it so that longlines-mode does NOT wrap equations. | |
;; 2. It makes it so that wrapped lines follow the indentation of the | |
;; line above. So environments with indented text (like itemize, or | |
;; theorem) are MUCH more readable. | |
(eval-after-load 'tex-mode | |
'(progn | |
(require 'longlines nil t) | |
(add-hook 'latex-mode-hook #'longlines-mode))) |