emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Roger Mason <rmason@mun.ca>
To: Org Mode List <emacs-orgmode@gnu.org>
Subject: Use properties in a table
Date: Wed, 06 Nov 2024 09:47:51 -0330	[thread overview]
Message-ID: <y65ttcklclr.fsf@mun.ca> (raw)

Hello,

I want to be able to set properties like this:

* Farms 5 -
:PROPERTIES:
:constants: kmax=7.3 gkmax=15.678 comment=alphaQuartz
:END:

then use them in a table like this:

|   | r5 | 1x1x1_24116_7220 | Fleur.sc_i0_w3  | 1.8400000000 | 14.5670000000 | alphaQuartz |
|   | r6 | 1x1x1_24116_7223 | Fleur.sc_i0_w3  | 1.8400000000 | 14.5670000000 | alphaQuartz |
#+TBLFM: $5=$kmax::$6=$gkmax::$7=$comment

I know I can do that with #+constants, but is there a syntax to use
properties in a table?  The purpose would be to have settings that are
private to a heading.

Thanks,
Roger


             reply	other threads:[~2024-11-06 13:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-06 13:17 Roger Mason [this message]
2024-11-06 14:18 ` Use properties in a table Fraga, Eric
2024-11-06 14:42   ` Roger Mason

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=y65ttcklclr.fsf@mun.ca \
    --to=rmason@mun.ca \
    --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).