You can try to narrow the frame by increasing the size of the fringe. For instance:
(set-fringe-style '(200 . 200))
shaving 200 pixels on each side of the main text area, leaving the work area 400 pixels narrower, but still centered. To get back to normal
(set-fringe-style 'default)
returns the edge to its normal size.
And you can wrap this inside some tips that might work for you if you use only one window:
(defadvice switch-to-buffer (after switch-to-buffer-adjust-fringe activate) "depending on major mode, switch fringe style" (if (memq major-mode '(latex-mode)) (set-fringe-style '(200 . 200)) (set-fringe-style 'default)))
Note. Refresh the list (latex-mode)
to include all modes in which you want to have large bands.
source share