[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: First measure too far to right
From: |
Eric Albert |
Subject: |
Re: First measure too far to right |
Date: |
Fri, 04 Mar 2016 09:39:46 -0500 |
Thanks to all for your quick, helpful suggestions! My first measure is back
where I want it, my fonts are warmer and fuzzier, and my minor 7 flat 5's are
displaying as I prefer.
I can already see that this list is going to be one of the great parts of using
LilyPond.
Warmly,
Eric
>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