lilypond-user
[Top][All Lists]
Advanced

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

Re: How to set the font size for the repeat symbol.


From: john ware
Subject: Re: How to set the font size for the repeat symbol.
Date: Wed, 23 Nov 2016 09:34:24 -0700

David, that is very nice, thank you!

I'll get Dusty Miller up there soon; it has been on my list of tunes to learn for too long.

john

On Wed, Nov 23, 2016 at 1:19 AM, Flaming Hakama by Elaine <address@hidden> wrote:

On Fri, Nov 18, 2016 at 10:24 AM, <address@hidden> wrote:

---------- Forwarded message ----------
From: john ware <address@hidden>
To: lilypond-user <address@hidden>
Cc: 
Date: Fri, 18 Nov 2016 11:13:50 -0700
Subject: How to set the font size for the repeat symbol.
Hi, I am using lilypond to generate scores(with chord names) and chord charts all from the same source. And what a wonderful tool you have created.

The chord chart is simply the score with only the chord names and bar lines visible. And the chord names are shifted down between the bar lines. 

I am able to set the size of the BarLine's with bar-extent and the size of the ChordName's with font-size. 

My issue is, when I do this the colon for the repeat symbol does not resize. So, I get big bar lines and a tiny colon for the repeat.

Here's my tiny example:

\version "2.14.2"

\score {
     \new ChordNames \with {
     \override BarLine #'bar-extent = #'(-1 . 20)
     \override ChordName #'font-size = #20
     \override ChordName #'extra-offset = #'(0 . -1)
     \consists "Bar_engraver"
     }
     {
       \relative a' {
         \chordmode {
           \partial 4  s4
           \repeat volta 2 { a1 g c a  }
         }}}}




And, if you are interested, the results of this project can be viewed at:


There are scores, chord charts and lilypond synthesized audio tracks at different tempos for each tune.

The issue described above can be seen at the site given.

thank you for your time,

john ware



I suppose this problem arises since the repeat sign is moreso part of the staff than a text colon.

you could scale the entire staff to the desired size and avoid fiddling with the font.

I also removed two levels of nesting unnecessary for this demo, the  { \relative a' { } }

Nice work on your site.  Any chance of seeing Dusty Miller up there?


\version "2.14.2"

#(set-global-staff-size 60)

\score {
    \new ChordNames \with {
        \override BarLine #'bar-extent = #'(-1 . 1)
        \override ChordName #'extra-offset = #'(0 . -1)
        \consists "Bar_engraver"
    }
    \chordmode {
        \partial 4  s4
        \repeat volta 2 { a1 g c a  }
    }
}


HTH

David Elaine Alt
415 . 341 .4954                                           "Confusion is highly underrated"
address@hidden
self-immolation.info
skype: flaming_hakama
Producer ~ Composer ~ Instrumentalist
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



--
have fun,

John

303 440 1020 h
720 382 6161 c


reply via email to

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