lilypond-user
[Top][All Lists]
Advanced

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

Re: First measure too far to right


From: Thomas Morley
Subject: Re: First measure too far to right
Date: Thu, 3 Mar 2016 23:16:07 +0100

2016-03-03 22:29 GMT+01:00 Simon Albrecht <address@hidden>:
> On 03.03.2016 21:18, Eric Albert wrote:
>>
>> I'd also love to know how to:
>>
>> - have a B minor 7 flat 5 display as "Bm7b5" (rather than the default
>> half-diminished symbol, an 'O' with a slash through it)
>
>
> Customizing chord names is explained in the first of the ‘Selected snippets’
> on
> <http://lilypond.org/doc/v2.18/Documentation/notation/displaying-chords#customizing-chord-names>.

<c es ges bes> is already in the exceptions.

Hence, it is sufficient to do:

theMusic = \chordmode {
  bes,1:3-.5-.7
  \once \set chordNameExceptions = #'()
  bes,1:3-.5-.7
  bes,1:3-.5-.7
}

<<
  \new ChordNames \theMusic
  \new Voice \theMusic
>>

If you _really_ _never_ want the LilyPond-default for that chord you
may use the brute-force:

#(assoc-remove!
   ignatzekExceptions
   (cdr (event-chord-pitches #{ <c' es' ges' bes'> #})))

somewhere on top-level in your score.
Be aware: it will bleed over into other files, when you compile
several files in one go.

Safer is Simon's suggestion, below although I'd add a "m" ;)

> Adapted to your case, this would be something like the following:
>
> %%%%%%%%%%%%%%%%
> \version "2.18.2"
> % modify half-diminished
> % Exception music is chords with markups
> chExceptionMusic = {
>   <c es ges bes>1-\markup { \super { 7 \hspace #0.2 \concat { \tiny \raise
> #0.4 \flat 5 } } }
> }

chExceptionMusic = {
  <c es ges bes>1-\markup {"m" \super { 7 \hspace #0.2 \concat { \tiny
\raise #0.4 \flat 5 } } }
}

>
> % Convert music to list and prepend to existing exceptions.
> chExceptions = #(append
>                  (sequential-music-to-chord-exceptions chExceptionMusic #t)
>                  ignatzekExceptions)
>

HTH,
  Harm



reply via email to

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