emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Vikas Rawal <vikasrawal@gmail.com>
To: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Displaying macros differently
Date: Sun, 4 Dec 2022 21:30:45 +0530	[thread overview]
Message-ID: <CALtzAB3+93MQfgWZ+zKQg_xyjOCoNt37WTgHz_h41S0j5Whs1A@mail.gmail.com> (raw)

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

Hi everyone,

I frequently use orgmode macros -- like {{{M(Year 1998--99)}}} -- in tables
designed for latex export. I find that the macro syntax occupies many
character spaces. At the very least, 9 spaces are taken up even if my macro
shortcut is just one character long. This is very difficult with wide
tables as often the tables go off the screen just because of this.

I was wondering if there is a simple way of making org display the macros
differently. That is, use some kind of overlay, and display the above macro
may be like M:Year 1998--99. Or some special character could be used to
denote that there is a macro underlying what is visible here.

I am aware of things like org-bullets which do something like this with
headlines. But I was wondering if anyone has done this with macros.

My apologies if I have not been able to express my problem clearly.

Best wishes,

Vikas

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

             reply	other threads:[~2022-12-04 16:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-04 16:00 Vikas Rawal [this message]
2022-12-05  3:43 ` Displaying macros differently William Denton
2022-12-05 16:53   ` Vikas Rawal

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=CALtzAB3+93MQfgWZ+zKQg_xyjOCoNt37WTgHz_h41S0j5Whs1A@mail.gmail.com \
    --to=vikasrawal@gmail.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).