[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Prose with markup needs more line spacing [legibility 5/6]
From: |
Adam Porter |
Subject: |
Re: Prose with markup needs more line spacing [legibility 5/6] |
Date: |
Tue, 04 Feb 2020 01:32:50 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Texas Cyberthal <address@hidden> writes:
> Code requires less line spacing. It has more whitespace, fewer capital
> letters, and no markup such as underlining. Code is read differently
> than prose; it requires less sequential scanning.
Code certainly can have markup like underlining. For example,
flymake/flycheck highlighting, highlight-function-calls-mode, Semantic,
etc.
> Prose has big blocks of text with taller capital letters that must be
> scanned sequentially. The tall bits bump into lines above and below.
> Org prose adds markup. Underlining and all-caps tags are common. This
> requires a bit more line spacing for optimal legibility:
>
> #+begin_src elisp
> ;; prose with markup needs more line spacing
> (defun leo-space-lines ()
> (setq line-spacing 0.175))
> (add-hook 'org-mode-hook 'leo-space-lines)
> #+end_src
We should definitely not be messing with line spacing in default
settings. Line spacing is a very personal preference, and it varies
widely by other configuration, such as font.
Please, feel free to make your own prose-specific Org theme or minor
mode, or use or improve one of the several that already exist. Org
defaults need not be changed to meet your preferences.