开发者

How do I customize the Emacs interface, specifically the tabs fonts in Windows?

How do I customize the Emacs interface, specifically the tabs fonts? I have included a screenshot of just how bad they look on Windows.开发者_高级运维

How do I customize the Emacs interface, specifically the tabs fonts in Windows?


Assuming you're using Tabbar, you can customize the fonts by running M-x customize-face - you can then either hit Enter to customize all of them, or use tab-completion to select a single face.

The following faces are defined in tabbar.el:

  • tabbar-button
  • tabbar-button-highlight
  • tabbar-default
  • tabbar-highlight
  • tabbar-selected
  • tabbar-separator
  • tabbar-unselected


;; tabbar
(require 'tabbar)
(tabbar-mode)

;; example tabbar coloring code...
  (set-face-attribute
   'tabbar-default nil
   :background "gray60")
  (set-face-attribute
   'tabbar-unselected nil
   :background "gray85"
   :foreground "gray30"
   :box nil)
  (set-face-attribute
   'tabbar-selected nil
   :background "#f2f2f6"
   :foreground "black"
   :box nil)
  (set-face-attribute
   'tabbar-button nil
   :box '(:line-width 1 :color "gray72" :style released-button))
  (set-face-attribute
   'tabbar-separator nil
   :height 0.7)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜