[Top][All Lists]

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

Re: Set accidental style in the layout block

From: Xavier Scheuer
Subject: Re: Set accidental style in the layout block
Date: Sat, 2 Jul 2011 10:39:33 +0200

On 2 July 2011 08:46, Bill Mooney <address@hidden> wrote:
> As in the example below - based on the NM example... Where the
> accidentals definition is in the \layout block, as in yours.
> What I'm not clear about is why a different method has been used which
> seems to involve more typing and doesn't seem to offer the variety that
> the NM example does. - modern, modern-cautionary, modern-voice, etc.,
> etc. ...
> […]
> ...and I agree with these principles - of keeping things well-ordered
> and as simple and as flexible as possible.
> :)

Actually it _does_ offer the variety of modern, modern-cautionary,
modern-voice, etc.  You can consider the music functions
  #(set-accidental-style …)  as some "shortcuts" for
  autoAccidentals = … .
In fact, the "autoAccidentals" method permit other new, customized
accidental styles that does not exist as
  #(set-accidental-style argument) .

As Jay said, the main advantage is that it does not necessitate to
be inserted within a music expressions (as opposed to the music
function), which can permit, for example, to have different layout
from one source easily.
I for example use a separate file for the layout (as well as separate
files for the notes of each instrument).  If I want for example a
"modern" edition of one source, with modern accidental style and bar
numbers, I include "layout-modern" containing these definitions.
If I want an "oldstyle" edition with default accidental style, no bar
numbers and extra naturals, I include "layout-oldstyle".


Xavier Scheuer <address@hidden>

reply via email to

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