From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Align argument in #+attr_latex for tabular env. is whitespace sensitive Date: Tue, 12 Feb 2013 11:30:45 -0600 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5Jgy-0000Sb-Ru for emacs-orgmode@gnu.org; Tue, 12 Feb 2013 12:30:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U5Jgt-000891-JF for emacs-orgmode@gnu.org; Tue, 12 Feb 2013 12:30:52 -0500 Received: from mail-lb0-f178.google.com ([209.85.217.178]:35204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5Jgt-00088E-6s for emacs-orgmode@gnu.org; Tue, 12 Feb 2013 12:30:47 -0500 Received: by mail-lb0-f178.google.com with SMTP id n1so300507lba.37 for ; Tue, 12 Feb 2013 09:30:46 -0800 (PST) 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 Was not getting the results I expected from #+attr_latex, so I created a simplified table to test: #+begin_src org Centered (will be sent to LaTeX as =\begin{tabular}{cc}=: #+attr_latex: align=cc | test | test | | test of longer | test | Left aligned (will be sent to LaTeX as =\begin{tabular}{ll}=: #+attr_latex: align = cc | test | test | | test of longer | test | #+end_src If there's reason for this, I can change my habits. I guess from various tidy programming habits, I'm just in the practice of separating equal signs with surrounding white space for easier readability. For what it's worth, these two behave identically: #+attr_latex: width=5cm #+attr_latex: width = 5cm I'm not sure why the tabular align argument is behaving differently. Thanks for any feedback, john