Closed ntrocado closed 11 months ago
From: Nuno Trocado @.***> Date: Thu, 9 Nov 2023 07:18:20 -0800
Steps to reproduce:
- emacs.exe -Q
- create an org file with the following content:
M-x org-indent-mode
produces:- After
M-x load-theme RET modus-operandi
:The problem is that text is not horizontally aligned under each subheading.
What is the font family of the 'fixed-pitch' face? Check it with M-x describe-face.
It seems that it is not monospaced or, anyhow, defaults to an inappropriate value.
-- Protesilaos Stavrou https://protesilaos.com
You're right, there seems to be something wrong with my system:
I don't know how emacs picks the default fonts. Anyway I fixed this by setting the face expressly... Thank you!
From: Nuno Trocado @.***> Date: Sat, 11 Nov 2023 06:37:10 -0800
You're right, there seems to be something wrong with my system:
I don't know how emacs picks the default fonts. Any idea how to fix this?
You can specify your preferred font family with what is described here: https://protesilaos.com/emacs/modus-themes#h:defcf4fc-8fa8-4c29-b12e-7119582cc929.
Excerpt:
;; Main typeface
(set-face-attribute 'default nil :family "DejaVu Sans Mono" :height 110)
;; Proportionately spaced typeface
(set-face-attribute 'variable-pitch nil :family "DejaVu Serif" :height 1.0)
;; Monospaced typeface
(set-face-attribute 'fixed-pitch nil :family "DejaVu Sans Mono" :height 1.5)
Please let me know how it goes.
-- Protesilaos Stavrou https://protesilaos.com
Works perfectly, thanks!
On Fri, Nov 17, 2023 at 6:42 AM Protesilaos Stavrou < @.***> wrote:
From: Nuno Trocado @.***> Date: Sat, 11 Nov 2023 06:37:10 -0800
You're right, there seems to be something wrong with my system:
I don't know how emacs picks the default fonts. Any idea how to fix this?
You can specify your preferred font family with what is described here: < https://protesilaos.com/emacs/modus-themes#h:defcf4fc-8fa8-4c29-b12e-7119582cc929
.
Excerpt:
;; Main typeface (set-face-attribute 'default nil :family "DejaVu Sans Mono" :height 110)
;; Proportionately spaced typeface (set-face-attribute 'variable-pitch nil :family "DejaVu Serif" :height 1.0)
;; Monospaced typeface (set-face-attribute 'fixed-pitch nil :family "DejaVu Sans Mono" :height 1.5)
Please let me know how it goes.
-- Protesilaos Stavrou https://protesilaos.com
— Reply to this email directly, view it on GitHub https://github.com/protesilaos/modus-themes/issues/91#issuecomment-1815824034, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACSH5RRPW35LC3Z37L4LGEDYE4BO3AVCNFSM6AAAAAA7EXQLHOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJVHAZDIMBTGQ . You are receiving this because you modified the open/close state.Message ID: @.***>
From: Nuno Trocado @.***> Date: Fri, 17 Nov 2023 05:44:50 -0800
Works perfectly, thanks!
You are welcome!
-- Protesilaos Stavrou https://protesilaos.com
Steps to reproduce:
M-x org-indent-mode
produces:M-x load-theme RET modus-operandi
:The problem is that text is not horizontally aligned under each subheading.
Emacs version is
GNU Emacs 29.1 (build 2, x86_64-w64-mingw32) of 2023-07-30
under Windows10.(Sorry for the large images)