When I initialize fonts for starting up emacs I am forced to use fixed-width fonts because I develop software.
However, I really like fonts like Times and Palatino and was hoping there was such a font like those that was somewhat fixed-width. Any suggestions?
And how does my Emacs font initialization code look?
I've used Latin Modern Mono before and found it extremely attractive, especially on a hidpi display.
I think you got your terms confused. Times and Palatino are proportional fonts.
Exactly. And what do you mean by "somewhat proportional"? That's sort of like being "somewhat pregnant!" Are you just looking for a pretty fixed-width font?
yes, you are right. I want a font that has a look like palatino or times roman, but that is very nearly fixed width if possible.
Linux Libertine Mono, Luxi Mono
Most modern fixed-width font are designed to be as appealing as proportional. I'd recommend DejaVu.
http://dejavu-fonts.org/wiki/Main_Page
It's open source font, comes with linux. The outstanding part is that, among fonts for programers, it includes the most unicode symbols such as used in math or keyboard symbols etc.
but also, using proportional font for coding is not too bad. I do use proportional basically for all except python and dired. Try M-x variable-pitch-mode. You can set up a hook so that some programing lang modes uses variable-pitch-mode.
Check out http://input.fontbureau.com/preview/. It lets you customize to your needs and has proportional options that look like monospace (select "Input Sans" or "Input Serif")
Seconded! I use Input Sans now. Still proportional, but closer to fixed that it doesn't overly ruin the aesthetics of the parts of Emacs that utilize fixed-width fonts
The font initialization code looks like this:
(set-face-attribute 'default nil :height 110 :family "Consolas")
Converse Adults Unisex Unisex Adults Adults Adults Unisex Converse Unisex Unisex Converse Converse Converse Adults Unisex Converse Converse Adults Unisex Converse Converse Unisex Adults Unisex Adults Adults Converse Unisex Adults (set-frame-font my-font-mac)
is what worked for me.
23.4k
Subscribers
361
Online
The extensible, customizable, self-documenting real-time display editor.