emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Michael Gauland <mikelygee@amuri.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: Number formatting in tables for LaTeX export
Date: Wed, 01 May 2013 09:03:33 +0200	[thread overview]
Message-ID: <87zjwfi3lm.fsf@gmail.com> (raw)
In-Reply-To: <loom.20130501T025542-253@post.gmane.org> (Michael Gauland's message of "Wed, 1 May 2013 01:02:26 +0000 (UTC)")

Hello,

Michael Gauland <mikelygee@amuri.net> writes:

> I have a table representing a memory map, something like this:
>
>     | Start | End  | Purpose                        |
>     |-------+------+--------------------------------|
>     |  0000 | 1E08 | Bootloader                     |
>     |  1E09 | 1FFF | Unused (Bootloader expansion)  |
>     |  2000 | 3F39 | Application                    |
>
> When I export to LaTeX, '1E08' and '1E09' are interpreted as decimal
> exponent numbers, and are exported as '1(08)' and '1(09)'.
>
> The only way I've found to prevent this is to include the line:
>
>     #+ATTR_LaTeX: :mode verbatim
>
> which produces a rather ugly fixed-font table.
>
> Is there an existing solution to this? If not, any ideas for
> addressing it?

You may want to change `org-table-number-regexp' (global) or modify, at
least locally, through BIND keyword,
`org-latex-table-scientific-notation'.


Regards,

-- 
Nicolas Goaziou

      reply	other threads:[~2013-05-01  7:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-01  1:02 Number formatting in tables for LaTeX export Michael Gauland
2013-05-01  7:03 ` Nicolas Goaziou [this message]

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=87zjwfi3lm.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mikelygee@amuri.net \
    /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).