From: Omid <omidlink@gmail.com>
To: emacs-orgmode@gnu.org
Subject: How to tell Org mode radio table translator not to wrap, Greeks in dollars ($$)
Date: Fri, 03 Apr 2015 22:52:28 -0400 [thread overview]
Message-ID: <551F51EC.8010405@gmail.com> (raw)
Hello,
I'm trying to use an Org mode Radio Table in LaTeX according to:
http://orgmode.org/manual/Radio-tables.html
http://orgmode.org/manual/A-LaTeX-example.html#A-LaTeX-example
My Org mode table is representing a matrix containing Greek letters
denoted by LaTeX commands (e.g., \mu). The "radioing" process wraps
these commands in dollars (\mu changes to $\mu$). I'm using `:splice
t' to return only table body lines (without wrapping them in a tabular
environment) to insert the table in my equation and matrix
environments. I tried `:fmt "%s"' hoping that the table fields would
be left untouched, but, no the translator still wraps my \mu's in $$.
Here is an example:
\begin{comment}
#+ORGTBL: SEND Ah-advection orgtbl-to-latex :splice t :skip 0 :fmt "%s"
| 1-\mu | | | | |
| \mu | 1-\mu | | | |
| | \ddots | \ddots | | |
| | | \mu | 1-\mu | |
| | | | \mu | 1-\mu |
\end{comment}
with the translated result
\begin{equation}
\label{eq:Ah-advection}
A_{h}=
\begin{bmatrix}
% BEGIN RECEIVE ORGTBL Ah-advection
1-$\mu$ & & & & \\
$\mu$ & 1-$\mu$ & & & \\
& \ddots & \ddots & & \\
& & $\mu$ & 1-$\mu$ & \\
& & & $\mu$ & 1-$\mu$ \\
% END RECEIVE ORGTBL Ah-advection
\end{bmatrix}
\end{equation}
How can I tell the table translator not to wrap Greeks in $$?
Thanks,
--
Omid
next reply other threads:[~2015-04-04 2:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-04 2:52 Omid [this message]
2015-04-04 5:42 ` How to tell Org mode radio table translator not to wrap, Greeks in dollars ($$) William Henney
2015-04-04 18:30 ` Omid
2015-04-04 7:57 ` Nicolas Goaziou
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=551F51EC.8010405@gmail.com \
--to=omidlink@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).