lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Understanding herd of curly braces


From: Nick Payne
Subject: Re: Understanding herd of curly braces
Date: Tue, 25 Jan 2011 09:06:44 +1100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7

On 25/01/11 08:07, Seth Williamson wrote:
I have turned out a few simple jobs with LilyPond, mainly simple copying jobs just for practice and -- as a practical matter -- a few pieces that I needed to transpose into another key.

However, as I look at LilyPond code generated by others, it's not obvious to me (usually near the end of a document) what each closing curly brace refers to.

Am I even SUPPOSED to be able to figure that out by looking at all the closed curly braces, usually at different indentations on different lines?  Are you supposed to see these things and know to what they apply in the code above?  Is there a logic here that I'm missing?

I am trying to figure out the logic of why the close braces (in particular) appear where they are and at a given indentation.  So far there's nothing intuitive about it.

Such documentation as I've been able to find at the LilyPond site and elsewhere has been of limited utility in this regard.

Is this something you just learn by doing?  Or can anybody help me out?

Good programming text editors will match braces for you. Position the cursor on an opening or closing brace and the editor will highlight the corresponding closing or opening brace. I like jEdit, which does this, is available on any platform that supports Java, and has a Lilypond-specific plugin (Lilypondtool).

Nick

reply via email to

[Prev in Thread] Current Thread [Next in Thread]