emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Table columns verbatim export
@ 2014-10-31 11:47 Michael Bach
  2014-10-31 21:18 ` Nick Dokos
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Bach @ 2014-10-31 11:47 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I am looking for a way to format table columns to be verbatim for the
(latex) export.  The reason is that in the following table, the numpy
`A[0]` will be interpreted as a footnote without a matching description
and export will fail.

|                | matlab    | r       | numpy   |
| element access | A(1, 1)   | A[1, 1] | A[0, 0] |
| row access     | A(1, 1:2) | A[1, ]  | A[0]    |

I had a look into the manual and maybe relatedly found section 3.5.3
"Emacs Lisp forms as formulas" with string manipulation, e.g. wrapping
== or ~~ around the string, but I am really just concerned with export.

Is there an obvious way I am missing?

Thanks and Best Regards,
Michael

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Table columns verbatim export
  2014-10-31 11:47 Table columns verbatim export Michael Bach
@ 2014-10-31 21:18 ` Nick Dokos
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Dokos @ 2014-10-31 21:18 UTC (permalink / raw)
  To: emacs-orgmode

Michael Bach <phaebz@gmail.com> writes:

> Hi,
>
> I am looking for a way to format table columns to be verbatim for the
> (latex) export.  The reason is that in the following table, the numpy
> `A[0]` will be interpreted as a footnote without a matching description
> and export will fail.
>
> |                | matlab    | r       | numpy   |
> | element access | A(1, 1)   | A[1, 1] | A[0, 0] |
> | row access     | A(1, 1:2) | A[1, ]  | @@latex: A[0]@@    |

is one way - there are probably others.

Nick

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-10-31 21:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-31 11:47 Table columns verbatim export Michael Bach
2014-10-31 21:18 ` Nick Dokos

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).