簡體   English   中英

如何自定義Emacs界面,特別是Windows中的選項卡字體?

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

如何自定義Emacs界面,特別是選項卡字體? 我已經在屏幕上顯示了他們在Windows上有多糟糕的截圖。

在此輸入圖像描述

;; 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)

假設您正在使用Tabbar ,您可以通過運行Mx customize-face來自定義字體 - 然后您可以按Enter鍵自定義所有字體,或使用Tab-completion選擇單個面。

tabbar.el中定義了以下面:

  • 的TabBar按鈕
  • 的TabBar按鈕高亮
  • 的TabBar默認
  • 的TabBar高亮
  • 的TabBar選擇
  • 的TabBar分離器
  • 的TabBar未選擇的

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM