emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Using Variable Width Fonts for org-mode and Fixed Width for Tables


From: Ian Barton
Subject: [O] Using Variable Width Fonts for org-mode and Fixed Width for Tables
Date: Thu, 26 Sep 2013 14:51:48 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0

I am struggling to get this to work. In my init files I have:

(set-default-font "DejaVu Serif Italic")

I have followed the advice on StackOverflow http://stackoverflow.com/questions/3758139/variable-pitch-for-org-mode-fixed-pitch-for-tables and customized my Init file to include:

(set-face-attribute 'org-table nil :inherit 'fixed-pitch)

However, table formatting is still screwed up. C-u C-x = shows

xft:-unknown-IM FELL DW Pica-normal-italic-normal-*-15-*-*-*-*-0-iso10646-1 (#x29)

Character code properties: customize what to show
  name: LATIN CAPITAL LETTER F
  general-category: Lu (Letter, Uppercase)
  decomposition: (70) ('F')

There are text properties here:
  face                 org-table
  fontified            t
  line-prefix          [Show]
  wrap-prefix          [Show]

I have tried setting the font for org-table using Emacs Customize Interface, but without any success. Ideally I want tables to use a monospace font like Inconsolata or DejaVu mono. Can anyone provide an example of how to set org-table to use a specified fixed width font.

Ian.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]