💾 Archived View for g.nubecita.online › emacs › fonts.gmi captured on 2023-07-22 at 16:21:40. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-01-29)

-=-=-=-=-=-=-

Fonts in Emacs

Features in font

Fonts

List of some interesting fonts with notes.

Monospaced fonts

Hack

A typeface designed for source code.
Hack is designed to be a workhorse typeface for source code. It has deep roots in the free, open source typeface community and expands upon the contributions of the Bitstream Vera & DejaVu projects. The large x-height + wide aperture + low contrast design make it legible at commonly used source code text sizes with a sweet spot that runs in the 8 - 14 range.
* From the Hack source Web page.

Support for:

http://sourcefoundry.org/hack/

https://github.com/source-foundry/Hack

Roboto Mono

FreeMono

Proportional fonts

Fira Code

Sacha Chua's handwritting (sachacHand)

Latin Modern Roman

The \LaTeX font!

Almost monospaced fonts

Input

Fonts for code from DJR & Font Bureau
Input is a flexible system of fonts designed specifically for code by David Jonathan Ross. It offers both monospaced and proportional fonts, all with a large range of widths, weights, and styles for richer code formatting.

https://input.djr.com/

Emacs

Fonts in Emacs can be changed by setting the default font.

(set-face-attribute 'default nil :font "Hack" :height 110)

Org-mode tips

Titles with more height and weight

(set-face-attribute 'org-level-1 nil
                    :height (* nano-font-size 14)
                    :weight 'bold)
(set-face-attribute 'org-level-2 nil
                    :height (* nano-font-size 12)
                    :weight 'medium)
(set-face-attribute 'org-level-3 nil
                    :height (* nano-font-size 10))
(set-face-attribute 'org-tag nil
                    :height (* nano-font-size 10)
                    :weight 'medium)

Using monospaced in tables

(set-face-attribute 'org-tables nil
                    :font "Hack"
                    :height 110)

Using monospaced in Source Blocks

(set-face-attribute 'org-block nil
                    :font "Hack"
                    :height 110)

Change fonts depending on the current task.

It is possible to change the font according to the current task. This code will let you select the font and other configurations according to the task you are about to do.

Articles

"Almost monospaced: the perfect fonts for writing"

"Almost monospaced fonts"

Concepts or Glossary

Wikipedia Article

Wikipedia Article

Wikipedia Article