lilypond-user
[Top][All Lists]
Advanced

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

Re: Set accidental style in the layout block


From: Kieren MacMillan
Subject: Re: Set accidental style in the layout block
Date: Sat, 2 Jul 2011 06:46:52 -0400

Hello all,

Since \with blocks can now contain variables, maybe someone should put together 
all of the options and submit a patch?
Then it wouldn't involve more typing.
;)

Cheers,
Kieren.

On 2011-Jul-2, at 04:39, Xavier Scheuer wrote:

> 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".
> 
> Cheers,
> Xavier
> 
> -- 
> Xavier Scheuer <address@hidden>
> 
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user




reply via email to

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