emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: James Harkins <jamshark70@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: org-babel, lilypond, & tables
Date: Fri, 2 May 2014 06:17:52 +0000 (UTC)	[thread overview]
Message-ID: <loom.20140502T081425-897@post.gmane.org> (raw)
In-Reply-To: 87fvkul7ow.fsf@stevenarntson.com

Steven Arntson <steven <at> stevenarntson.com> writes:

> I'm wondering if someone could tell me if this idea is impossible. I'm
> trying to find a way to leverage org-tables in a document containing
> lilypond markup for a piano part such that both staves occupy the same
> line, visually (instead of the lefthand notes occupying the top of the
> doc and the righthand notes occupying the bottom). Right now I'm
> accomplishing this with a vertical split in the buffer, which works, but
> is clunky.

I'm quite sure you'll have to write custom emacs-lisp for this.

I'd suggest not using tables, though. It looks fine when
you have only notes, but as soon as you need an override
(and, in piano music, you *will*, sooner or later), the table
will become very wide and you'll lose the advantage
of seeing both columns at once.

I'd probably use plain lists, one item per staff. You could
even nest lists for passages of temporary polyphony:

** Bar 1
   - ... right hand notes...
   - Poly
     - ... left hand voice 1 notes...
     - ... left hand voice 2 notes...

It'll take some extra lisp code to parse all this, but it
could work. I have a sneaky feeling, though, that more
complex notation requirements may become
inconvenient.

hjh

      parent reply	other threads:[~2014-05-02  6:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-30 23:27 org-babel, lilypond, & tables Steven Arntson
2014-05-01 19:15 ` Grant Rettke
2014-05-02  6:17 ` James Harkins [this message]

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=loom.20140502T081425-897@post.gmane.org \
    --to=jamshark70@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).