emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Francesco Pizzolante <fpz-djc/iPCCuDYQheJpep6IedvLeJWuRmrY@public.gmane.org>
To: mailing-list-org-mode <emacs-orgmode-mXXj517/zsQ@public.gmane.org>
Subject: Exporting customized align attribute to LaTeX
Date: Wed, 12 May 2010 17:39:51 +0200	[thread overview]
Message-ID: <87pr11uo1k.fsf@mundaneum.com> (raw)

Hi,

Exporting a customized align attribute for a table produces a wrong result.

Here's an example where I'm customizing the S column type (coming from the
siunitx package): I want to add the EUR symbol after each value in the
specified column.

--8<---------------cut here---------------start------------->8---
* TEST

  #+ATTR_LATEX: align=lS<{{\,\si{\EUR}}}
  | A   |  12584.35 |
  | BB  | 123456.67 |
  | CCC | 987654.32 |
--8<---------------cut here---------------end--------------->8---

When exporting to LaTeX, I get the following result:

--8<---------------cut here---------------start------------->8---
\section{TEST}
\label{sec-1}

\begin{center}
\begin{tabular}{lS<{{\}
 A    &   12584.35  \\
 BB   &  123456.67  \\
 CCC  &  987654.32  \\
\end{tabular}
\end{center}
--8<---------------cut here---------------end--------------->8---

I should get the following for the begin{tabular} line:

--8<---------------cut here---------------start------------->8---
\begin{tabular}{lS<{{\,\si{\EUR}}}}}
--8<---------------cut here---------------end--------------->8---

Is there a way to achieve this?

Thanks,
Francesco


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

             reply	other threads:[~2010-05-12 15:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-12 15:39 Francesco Pizzolante [this message]
2010-05-14 12:28 ` Exporting customized align attribute to LaTeX Carsten Dominik

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=87pr11uo1k.fsf@mundaneum.com \
    --to=fpz-djc/ipccudyqhejpep6iedvlejwurmry@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.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).