From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shankar Rao Subject: insert aligned table using capture template Date: Tue, 3 Nov 2015 11:01:12 -0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113d394478c2880523a784b8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56033) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtgpW-0004MV-9Z for emacs-orgmode@gnu.org; Tue, 03 Nov 2015 14:01:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZtgpV-0005bi-EP for emacs-orgmode@gnu.org; Tue, 03 Nov 2015 14:01:14 -0500 Received: from mail-oi0-x236.google.com ([2607:f8b0:4003:c06::236]:34492) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtgpV-0005bd-9O for emacs-orgmode@gnu.org; Tue, 03 Nov 2015 14:01:13 -0500 Received: by oies66 with SMTP id s66so14506795oie.1 for ; Tue, 03 Nov 2015 11:01:12 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --001a113d394478c2880523a784b8 Content-Type: text/plain; charset=UTF-8 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) ...)) --001a113d394478c2880523a784b8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
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
<= font face=3D"monospace, monospace">=C2=A0 =C2=A0 =C2=A0 =C2=A0'(...
("f" "Add Tables" plain
(file+datetree+prompt "~/my-table-file.org")
=C2=A0,(concat "#+TBLNAME: accounts-%<%y%m%d>\n"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "| Account | Initial | Final | Calc= ulations |\n"
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "|-\n"= ;
=C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "| Account A | | | |\n"= ;
=C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "| Account B | | | |\n"= ;
=C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "| Account C | | | |\n"= ;)
:immediate-finish t
= :jump-to-captured t)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ...))

<= /div>
--001a113d394478c2880523a784b8--