emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Using Variable Width Fonts for org-mode and Fixed Width for Tables
@ 2013-09-26 13:51 Ian Barton
  2013-09-27  7:19 ` Using Variable Width Fonts for org-mode and Fixed Width forTabless Alan Schmitt
  0 siblings, 1 reply; 5+ messages in thread
From: Ian Barton @ 2013-09-26 13:51 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org mode

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-10-02 10:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-26 13:51 Using Variable Width Fonts for org-mode and Fixed Width for Tables Ian Barton
2013-09-27  7:19 ` Using Variable Width Fonts for org-mode and Fixed Width forTabless Alan Schmitt
2013-10-02  8:28   ` Ian Barton
2013-10-02  9:10     ` Using Variable Width Fonts for org-mode and Fixed WidthforTablesss Alan Schmitt
2013-10-02 10:34       ` Ian Barton

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).