emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* insert aligned table using capture template
@ 2015-11-03 19:01 Shankar Rao
  2015-11-03 20:28 ` Nick Dokos
  0 siblings, 1 reply; 3+ messages in thread
From: Shankar Rao @ 2015-11-03 19:01 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 663 bytes --]

I'm trying to use to org-capture insert tables into a datetree that I use
to manage my finances. Below is the capture template I set up for it. Is
there a way to make the table be aligned after I finalize the capture?

Shankar

-----

(setq org-capture-templates
       '(...
("f" "Add Tables" plain
(file+datetree+prompt "~/my-table-file.org")
 ,(concat "#+TBLNAME: accounts-%<%y%m%d>\n"
                  "| Account | Initial | Final | Calculations |\n"
                  "|-\n"
                  "| Account A | | | |\n"
                  "| Account B | | | |\n"
                  "| Account C | | | |\n")
:immediate-finish t
:jump-to-captured t)
        ...))

[-- Attachment #2: Type: text/html, Size: 1916 bytes --]

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

end of thread, other threads:[~2015-11-03 20:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-03 19:01 insert aligned table using capture template Shankar Rao
2015-11-03 20:28 ` Nick Dokos
2015-11-03 20:37   ` Shankar Rao

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