emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] How to tell Org mode radio table translator not to wrap, Greeks in d


From: Omid
Subject: [O] How to tell Org mode radio table translator not to wrap, Greeks in dollars ($$)
Date: Fri, 03 Apr 2015 22:52:28 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]