From: Nicolas Goaziou <n.goaziou@gmail.com>
To: zwz <zhangweize@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: export latex in a table
Date: Sat, 21 Sep 2013 13:49:50 +0200 [thread overview]
Message-ID: <8738oy2y3l.fsf@gmail.com> (raw)
In-Reply-To: <loom.20130921T131838-422@post.gmane.org> (zwz's message of "Sat, 21 Sep 2013 11:25:48 +0000 (UTC)")
Hello,
zwz <zhangweize@gmail.com> writes:
> Rasmus <rasmus <at> 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
next prev parent reply other threads:[~2013-09-21 11:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-21 9:01 export latex in a table zwz
2013-09-21 10:39 ` Rasmus
2013-09-21 11:25 ` zwz
2013-09-21 11:49 ` Nicolas Goaziou [this message]
2013-09-21 12:30 ` zwz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8738oy2y3l.fsf@gmail.com \
--to=n.goaziou@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=zhangweize@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).