emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: "J. David Boyd" <david@adboyd.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: right align times in a clocktable
Date: Thu, 21 Dec 2006 16:14:42 +0100	[thread overview]
Message-ID: <9946944fccfd57815735e51951ef9acd@science.uva.nl> (raw)
In-Reply-To: <m3ejqtfg5p.fsf@freewill.com>


On Dec 21, 2006, at 16:00, J. David Boyd wrote:

>
>
> Is there any way to right align times in a clocktable?  I don't see a  
> variable
> for it.
>
> It would make things look much neater if I could align them.
>
> Right now they look like this:
>
>  |         |       | 0:39  |
>  |         |       | 23:24 |
>
> and I would like them to look like:
>
>  |         |       |  0:39 |
>  |         |       | 23:24 |
>
>
> Any possibility?

Org-mode tables align colums to the right when most entries in a
column seem to be numbers.
Tell org that colons can be part a number:

(setq org-table-number-regexp
    
"^\\([<>]?[-+^.0-9]*[0-9][-+^.0-9eEdDx()%:]*\\|\\(0[xX]\\)[0-9a-fA- 
F]+\\)$")

It might actually make sense to change the default in this direction.
I will consider this.

- Carsten



--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477

  reply	other threads:[~2006-12-21 15:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-21 15:00 right align times in a clocktable J. David Boyd
2006-12-21 15:14 ` Carsten Dominik [this message]
2006-12-21 15:52   ` J. David Boyd

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=9946944fccfd57815735e51951ef9acd@science.uva.nl \
    --to=carsten.dominik@gmail.com \
    --cc=david@adboyd.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).