From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: export latex in a table Date: Sat, 21 Sep 2013 13:49:50 +0200 Message-ID: <8738oy2y3l.fsf@gmail.com> References: <877geav4pg.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46597) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VNLh0-0000Zs-AK for emacs-orgmode@gnu.org; Sat, 21 Sep 2013 07:49:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VNLgu-0005Xy-GC for emacs-orgmode@gnu.org; Sat, 21 Sep 2013 07:49:42 -0400 Received: from mail-we0-x22e.google.com ([2a00:1450:400c:c03::22e]:54496) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VNLgu-0005Xu-8r for emacs-orgmode@gnu.org; Sat, 21 Sep 2013 07:49:36 -0400 Received: by mail-we0-f174.google.com with SMTP id q58so1431909wes.5 for ; Sat, 21 Sep 2013 04:49:35 -0700 (PDT) In-Reply-To: (zwz's message of "Sat, 21 Sep 2013 11:25:48 +0000 (UTC)") 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: zwz Cc: emacs-orgmode@gnu.org Hello, zwz writes: > Rasmus gmx.us> writes: >> >> How about this? >> >> #+MACRO: color \textcolor{$1}{$2} >> | {{{color(red, range)}}} | {{{color(blue, 0\sim2^8-1)}}} | >> >> Unless you're doing something that's not systematic, or which has a >> very particular logic it's probably not the right way. > > The macro-way does not work. The macro-way does work here. > The generated tex still contains the extra \ before {. > My org version is 8.0.7. > > Thanks for your tips. > But I just want to color some column/row. > And I really enjoy the convenience of org table. You can also use an export snippet: | @@latex:\textcolor{blue}{0\sim2^{8}-1}@@ | Regards, -- Nicolas Goaziou