From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Barton Subject: Using Variable Width Fonts for org-mode and Fixed Width for Tables Date: Thu, 26 Sep 2013 14:51:48 +0100 Message-ID: <52443BF4.5070609@wilkesley.net> Reply-To: ian@manor-farm.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46433) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPBz3-0005Yz-8Q for emacs-orgmode@gnu.org; Thu, 26 Sep 2013 09:52:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VPByx-0001HY-9X for emacs-orgmode@gnu.org; Thu, 26 Sep 2013 09:51:57 -0400 Received: from mail2.wilkesley.net ([109.74.196.44]:47591 helo=li40-130.members.linode.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPByx-0001HF-3j for emacs-orgmode@gnu.org; Thu, 26 Sep 2013 09:51:51 -0400 Received: from scamper2.bantercat.co.uk (unknown [46.33.134.31]) (Authenticated sender: lists@wilkesley.net) by li40-130.members.linode.com (Postfix) with ESMTPSA id 092E8A8004 for ; Thu, 26 Sep 2013 14:51:48 +0100 (BST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org 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.